Yeah, great :) Thanks for this too.
Oh god, I'm idiot. I placed it in wrong place, thanks.
There are wrong arguments. (this, this) = (plugin, plugin) but it should be (listener,...
in eclipse and console.
But there will be Syntax error on tokens error.
Hi, I created this plugin for my friend's pvp server. When I'm killing someone with permission kfm.czarodziej.5 I should get 5$ and a message. But...
Thanks, I'll try.
I know that I won't get the number from this. It's here only to show you what I'm trying to do.
If someone has permission kfm.mage.5:
10 * 5 = 50
EDIT by Moderator: merged posts, please use the edit button instead of...
No, I'm trying to give them M. (x = multiplier)
If killed player has permission kfm.mage.x
m = 10 * x
Give M to the killer
Yeah, sorry ;P
But how to detect X?
Hi, I want to make this work:
Player killed = event.getEntity();
Player killer = event.getEntity().getKiller();...
I'm not sure, but try this:
ItemStack DS = new ItemStack(Material.DIAMOND_SWORD);...
Hi, I know that it's very stupid, but how to insert target from here:
@EventHandler (priority = EventPriority.NORMAL)
Separate names with a comma.