XP level up

Discussion in 'Plugin Development' started by Jamesterjim, May 20, 2013.

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

    Jamesterjim

    Hello everyone.

    If a player levels up (eg level 2 to level 3) I would like them to execute a predefined command.

    thankyou, Jamesterjim.
     
  2. Offline

    Nova20012

    You might be able to make a loop that checks the players level, saves it to a hash-map or array-list and then if the value equals a certain amount make the player run a command.
     
  3. Offline

    hubeb

    LevelUpEvent
     
  4. Offline

    Nova20012

    PlayerLevelChangeEvent I think is it's whole name
     
  5. Offline

    BlehhNinja

Thread Status:
Not open for further replies.

Share This Page