Comments (2)
I don't necessarily hate the idea, but is there a reason why you don't just listen to the event after Essentials?
That's a good option for some plugins, but it only works if you're trying to infer spawn location after a player respawns.
I haven't taken a deep look, but what about it makes it impossible to support, and also what are you looking to use this for
Fair question. My main issue with the way such a thing would currently need to be done is that you'd have to clone the logic EssentialsX uses. However, since EssentialsX is a constantly updating project, this can change at times.
For instance, with 1.16 and the introduction of Respawn Anchors, an option was added to the configuration to allow EssentialsXSpawn users to toggle respawning at them. Had somebody, hypothetically, taken the approach of cloning EssentialsXSpawn's respawning logic prior to that update, their code would no longer work as intended, and worse still, the issue would be subtle and could potentially go unnoticed. In order to avoid such a thing developers would have to routinely monitor EssentialsSpawnPlayerListener
for functional changes. I believe that adds unnecessary burden on developers, especially for something that could be remedied fairly cleanly on EssentialsX's end.
(your specific use case would be helpful to know).
Personally I've hit snags in two personal projects trying to add EssentialsXSpawn integration. One is a fork of Dynmap that I'm trying to add player spawn location markers to, and the other is a server moderation suite I'm writing from scratch that includes a /getspawn
command.
from essentials.
I don't necessarily hate the idea, but is there a reason why you don't just listen to the event after Essentials? I haven't taken a deep look, but what about it makes it impossible to support, and also what are you looking to use this for (your specific use case would be helpful to know).
from essentials.
Related Issues (20)
- If "respawn-at-home-bed" and "respawn-at-home" are set to true in the EssentialsX config, "respawn-at-anchor" is ultimately ignored.
- Currency won't be changed even IF I change it in the config.yml file HOT 12
- When I use the plugin version after the 2.21.0-dev+35-d4ecfd2, an error occurred while enabling Essentials
- Socialspy prefix colour formatting is missing the less-than symbol HOT 3
- Give command borks out with Error if player is not online HOT 3
- /skull gives a head item with wrong metadata. The skull does not apply the skin
- /nick should ignore color codes for nick character limit HOT 2
- Global command cooldowns
- world-change-fly-reset does not detect end portal use HOT 4
- Adding houses HOT 5
- Wrong color code format in Essentials messages HOT 5
- jail player list
- Add the clearenderchest and clearenderchestconfirm commands.
- Add the "Crafter" team. HOT 1
- Command Description & Usage strings do not respect per-player-locale
- `/kill` doesn't call `minecraft:entity_hurt_player` advancement trigger (breaking data packs) HOT 1
- custom join/leaves messages not work HOT 1
- Home Messages in chat not correct for de HOT 2
- make a new command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from essentials.