EssentialsX spawn on join overriding destination
james090500 opened this issue ยท 7 comments
When using EssentialsX and having "spawn-on-join" set. Players will be sent back to spawn after using a portal to a cross server destination.
Essentials config
spawn-join-listener-priority: lowest
spawn-on-join: true
That is not an issue with advanced portals but rather how EssentialsX works. Theoretically Advanced portals should trigger after it if done correct.
It triggers with a delay when the user joins. There isn't anything specific about it sadly. If they are both triggering with the onjoin event you can recompile advanced portals with an event priority or I can take a look at that in the next few days to try to get it to trigger after essentials.
Actually taking a look into EssentialsX there is a Join priority setting or something somewhere https://github.com/EssentialsX/Essentials/blob/1be3daf0b505d88e37ed166df5fc04d38a7934ed/EssentialsSpawn/src/com/earth2me/essentials/spawn/EssentialsSpawn.java#L47
By the looks of that try setting it to lowest and see if it changes the order. If that doesn't work try highest. By default events usually go in the middle from what I remember.