Filled Per hit exp

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

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

    Zxoir

    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

    RcExtract

  4. Offline

    Zxoir

    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

    RcExtract

  6. Offline

    Zxoir

    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

    Sethburster

  8. Offline

    Zxoir

    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
     
  9. Offline

    Sethburster

    Edit: https://www.dropbox.com/s/eraai9txqj3nez1/XpHit-1.0-SNAPSHOT.jar?dl=0

    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
  10. Offline

    BizeaxPvP

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

    RcExtract

    How can I test? I don't have another player.
    Also it should work.
    Check if u have permission
     
    Last edited: Jul 15, 2017
  12. Offline

    Max8801

    The problem lies in your plugin.yml file.

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

    Zxoir

    You don't have to have another player, just download a bukkit server, and test the plugin.
     
  14. Offline

    Max8801

    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:

     
  15. Offline

    RcExtract

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

    Zxoir

    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