Essentials Conflicting With Respawn Event

Discussion in 'Plugin Development' started by Lactem, Jun 18, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Lactem

    Essentials seems to be overriding the PlayerRespawnEvent. I have set the spawn, but players don't get teleported there when they respawn. When I removed Essentials, my plugin worked fine and players spawned normally. Does anyone have any ideas?

    Thanks in advance,
    Lactem
     
  2. Offline

    Tirelessly

    Higher priority?
     
  3. Offline

    Lactem

    Nope.
     
  4. Offline

    Stealth2800


    We experimented with multiple priorities and nothing worked.
     
  5. Offline

    Tirelessly

    Make sure you use event.setRespawnLocation not player.teleport.. other than that I don't know.
     
  6. Offline

    CubieX

    Ever looked at the Essentials config? (at the bottom)

    Code:
    # Set this to lowest, if you want Multiverse to handle the respawning.
    # Set this to high, if you want EssentialsSpawn to handle the respawning.
    # Set this to highest, if you want to force EssentialsSpawn to handle the respawning.
    respawn-listener-priority: high
    So I guess setting this to a lower value will enable your plugin to handle the event without Essentials interfering.
     
  7. Offline

    Lactem

    Nope. I've tried this before, too.

    Yeah. I'm already doing that.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 2, 2016
  8. Offline

    Bikkel007

    Lactem
    I know this is a very old thread but I am wondering if you found a solution.
     
  9. Offline

    Lactem

    Bikkel007 I don't remember exactly how I fixed it, but it was not something with my plugin. You do not have to change your event priority. It was a matter of changing something with Essentials. Maybe it was something with disabling Essentials to control spawning at all. Or maybe I removed EssentialsSpawn. I don't remember exactly what I did, though.
     
Thread Status:
Not open for further replies.

Share This Page