PlayerRespawnEvent eventhandler help

Discussion in 'Spigot Plugin Development' started by LoveYoourself, Jun 2, 2017.

  1. Hello! I need help with the PlayerRespawnEvent

    I need to respawnear in a certain world that is in the config.yml eg:

    World
    Name: 'village'
    Number ofEffects: 1
    Effect1:
    Id: 1
    Level: 2

    I have the effects as speed that are in the same config I tried several ways but I get error some help please? But that by respawning alone

    Thanks!!
     
  2. The way you are saving these seems odd. Also, I am still unsure as to what you need help with, please provide more information.
     
  3. I need to respawn in a world that is in the config.yml me certain effects osea I have a PlayerChangeWorldEffect not? Then that to respawnear in that same world where I have the changeworldeffect that me of the same effect you understand?