Filled Per hit exp

Discussion in 'Plugin Requests' started by Zxoir, Jul 14, 2017.

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


    Plugin category: PvP/EXP/XP

    Minecraft version: Spigot 1.8 and above

    Suggested name: perhitxp

    What I want: I'd like a plugin where every time you hit a player it gives you 30 exp every time

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: phx.xp

    When I'd like it by: Anytime
  2. I think I can do it
    At the moment I am not at home, but I will make it when I am at home.
    Sorry for my bad english, but it's not my main language

    Enviado do meu ASUS_Z017D através de Tapatalk
  3. Offline


  4. Offline


    Take your time :D
    Thank you, I am gonna test this right now :)

    Your plugin does not work for some reason, there isn't any error log its like its not even a plugin.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 15, 2017
  5. Offline


  6. Offline


    This still for some reason does not work, please try testing the plugin before giving it to me so I can make sure it works :D
  7. Offline


    Thanks so much! But there is a bug, so when like spawn where pvp is off, I can still get xp, can you stop this I just want xp when pvp is on or when hitting
  8. Edit:

    I changed the priority so it shouldn't give the xp if the damage event was canceled. I don't have a good way to test it since I don't have a spawn on my test server, so tell me if the problem persists.

    Sent from my iPhone using Tapatalk
    Last edited: Jul 15, 2017
  9. Offline


    Okay :)
    EDIT: oops this is my second account on my phone, sorry.
    Last edited: Jul 15, 2017
  10. Offline


    How can I test? I don't have another player.
    Also it should work.
    Check if u have permission
    Last edited: Jul 15, 2017
  11. The problem lies in your plugin.yml file.

    You wrote:
    main: com.annoymous.expperattack
    You forgot to specify the class name "Main". It should look like this:
    main: com.annoymous.expperattack.Main
  12. Offline


    You don't have to have another player, just download a bukkit server, and test the plugin.
  13. What he meant is that he'd need a second player that he could hit in order to test the XP thing. But, as I pointed out, the issue is a very simple and very common one:

  14. Offline


    Thanks XD.
    Btw I don't claim the plugin as mine. Feel free to modify, redistribute or do anything else to it XD.
  15. Offline


    Oh I just saw this lol, I am gonna test it now
    EDIT: Works fine, TY!
    Last edited: Jul 17, 2017
Thread Status:
Not open for further replies.

Share This Page