I was thinking of that too, but for some reason I thought it would iterate over all players in the server... I'll do that, thanks for the info!
Im not looking to check if the cause is an explosion, I am looking to see how I can explode a single player.
I may take up the first plugin.
Basically the title, but to be specific, in my case I am trying to create an explosion that will only damage one player. I have thought of sending...
Thats not my question... my question is if there is an enchantment Enum for Looting that involves hitting player, not just mobs or blocks....
Ah, but I can't find one for a player...
Pretty much the title, but I'm asking this since there are 4 different enchants that begin with Looting.
Because in my opinion, both communities have a lot of feedback to give, and by posting only on spigot or only on bukkit, I am getting only one...
So I'm making a plugin that involves a lot of EntityDamageByEntity Events, should I have them all in different classes, under different event...
Ik, i just derped out a little... a lot..
Do not blind cast. before casting theSender as a player, check if he is instanceof Player first
So I am getting this error: Syntax error on token ")", ; expected after this token but the wierd thing is, this is on the line of my for loop.....
I don't understand how that post has to do with this topic.
I will try out that website, but what I want is literally a box around the player. (made of particles)
Read my reply above ;) EDIT: @Zombie_Striker this crashed my server: [SPOILER] didn't even give an error
Separate names with a comma.