thanks! But I have two questions: 1. so to check if the crafted item is a gold record, you use something like this?...
Hello Everyone! I have a server that uses "throwingdisks" (just a golden music disk) as a weapon in the arena. Those throwing disks are...
Well, do you get an error message?
Hé! I'm not infinging any copyright okay?!If you look to your pm you see I messaged you three days ago with my solution plus the reason whyt I was...
event.getPlayer().getInventory().getHeldItemSlot(); I assume you can say: if(event.getPlayer().getInventory().getHeldItemSlot() == 1){ //do...
you don't need a playeriteminhand event :-). you just want to know if a player clicks, it it the material book. so when you have a playerinteract...
Well, obviously there is a problem with the plugindescription file. Can you post the code that uses it (onEnable()) and the plugin.yml?
No why are you putting the playerinteractevent in the onitemhold event? I mean: no I don't whink it's possible too, but I don't know why Hester...
Why don't you just use two listener methods?
Can you please give me the link? I think I can work on it this evening (European time)
All right! If he can't, tell me and I will see what I can do.
OK. I would like to, but I can't work on it now.
Do you know how old the plugin is? Does it still uses the old listening system or not?
No I shouldn't but I don't get what the code is that casts an arrow to a player. Maybe the Player victim = (Player) event.getEntity()?
I didn't test it, but try this: public void onEntityDamageByEntity(EntityDamageByEntityEvent event){ if(event.getCause() !=...
did you use the code of skipperguy12?
thats because it still casts the entity to a player...
in the onCommand method, you first have to get the string of the nickname so something like: String nick = args[0]. Then, you have to set the...
oh :-)
This is taking too long for a simple plugin. I made it myself (I let the package what it is, so don't worry). Here is the link to the file: <Edit...
Separate names with a comma.