Konkz I don't think I explained my question very well. What would be needed to check if <player> has hit <player1>. Also thanks for the reply...
What would be the best way to check if a player is in a pvp fight? Thanks
MrSnare My end goal is this - '<Player1> was killed by <Player2> after <Player1> started the fight.'[IMG] it is displaying the message that i...
MrSnare Robin Bi ArrayList<String> Attacker = new ArrayList<String>(); @EventHandler public void...
Robin Bi Line 162 is "for (String s : Attacker) {". I apologise for not having the full code with me at the moment
I coded this up todo what I needed - for (String s : Attacker) { if...
Is there anyway to get the player that hit a player first then save it to a Arraylist? Thanks I've tryed all that i know. :(
Thanks :)
How would i do that?
How would i get the last 5 entries to a .yml list I'm using this to add the info into the list. List<String> list =...
Thanks guys!
How would i get the players name though this? Thanks @EventHandler public void onEntityDeath(EntityDeathEvent e) { Entity entity...
Is there anyway of getting the the player that first hit in a death message? Something like "(player1) was killed by (player) after (player)...
Thanks all. :)
NoLiver92 Store the total kills in the config? How would i do this?
Separate names with a comma.