I got it I have to use entitydeathevent
if(plugin.berserker.contains(killer.getName())){ if(!(killer == null)) { killer.addPotionEffect(new...
so should i say if (killer == null) { return; } ?
So im remaking HG plugins and i cant seem to solve this error. Ik its simple but can someone help im stuck. Here is the error it gives me...
Im asking how to make it when the player is damaged by the poison how to make the blood effect also happen then
How do I make it where when a play is posioned it shows blood particles? Here is my code so far! @EventHandler public void...
In my PlayerJoinEvent how do I make it where I put an Item In the 9 Slot but have nothing in 1-8.
Ok I want a Player to do like /slime and it adds them to an event like this @EventHandler public void OnMoveEvent(PlayerMoveEvent e){...
I need when the killer kills the player the killer gets 2 credits. Ive been trying the past 2 days
thanks lol i almost had the same code i just had a simple error thanks! thanks! can you help? should I not be putting economy in the Event...
Can someone help me with my plugin! I need when someone dies the person who killed them to receieve credits. Im stuck and I need help!
Separate names with a comma.