Solved Trying to make my first plugin

Discussion in 'Plugin Development' started by wolfroe, Apr 22, 2020.

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

    wolfroe

    I'm trying to make a plugin that removes half a heart if you die. I'm quite new to making plugins and still trying to figure everything out. I've exported it to my server and tried it, but it doesn't work.
    No clue what's wrong with it, any help would be much appreciated.

    pluginThread.PNG
     
  2. Online

    timtower Administrator Administrator Moderator

    @wolfroe You don't register the listener.
    And don't log your own plugins please. Bukkit does that for you.
     
  3. Offline

    wolfroe

    Dear Timtower, thank you for the help!! It works now and i will keep in mind not to log my plugin in the future ;D.
     
    timtower likes this.
Thread Status:
Not open for further replies.

Share This Page