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
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
Take your time 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.
https://drive.google.com/open?id=0B1TO7hKqZHtJeTBGTW5Jd0Z3dkk cuz i forget to do something to initialize the plugin. You should see the plugin enabled in the log, but nothing is done by the plugin. I fixed.
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
https://www.dropbox.com/s/eraai9txq...s/eraai9txqj3nez1/XpHit-1.0-SNAPSHOT.jar?dl=0 Tested on Spigot 1-8 Permission node is xph.xp , default access. No commands. Customizable Xp amount in config. You can also put an L in the Xp Amount to give the player levels
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
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
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
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:
Thanks XD. Btw I don't claim the plugin as mine. Feel free to modify, redistribute or do anything else to it XD.