There's no getPlayer() method, though there's getEntity(). You gotta check if the entity is a player, then cast it.
so I can create my own hidePlayer method, just removing the packet? would that work?
tenta adicionar uma mensagem de debug no evento pra ver se ele está sendo "fired".
Ok. Aparece algum erro no console? O evento está sendo registrado? A unica coisa que eu posso ver que talvez cause um erro é as doubles/strings...
what do you mean by 'remove'? hide by using p.hidePlayer() then somehow update the player list?
No stacktrackes? Is the event being fired? The only thing that could cause an exception is the strings/doubles that you get from the config, which...
I'm almost 100% sure this is possible (with packets, for sure) but how would I do that? Can I unvanish them again? I'm really bad with packets so...
You are removing the player from kills HashMap even without getting the value, so it will always return null.
I use SQL for almost the same purpose as you, and it works fine. Remember you gotta use async tasks for SQL
Show us your code. Don't fear us, we're here to help you, not trying to steal your code.
X,Y,Z are double. That means they are decimal. To "center" the location, use location.add(0,5,0,0,5).
I think this is the wrong area. Unfortunately I don't have enough time for that, but I'm sure someone will be completely free for that. Good Luck :]
You kinda should understand it. Do you know what casting means? (Not trying to be rude).
Player hit = (Player) ent;
you are casting as a player...
int killstreak = 5 // let's say the killstreak is 5.
// now we gotta check if the killstreak is a multiple of 5:
if (killstreak % 5 ==...
TIP: If you are going to announce just mutiples of 5 killstreaks I would use (killstreak) % 5 == 0 to check if it's multiple of 5. Much more clean...
Separate names with a comma.