Okay so.. so far I have temporarily removed a lot of my code to try this. So I have this HashMap: HashMap<Player, Integer> tagg = new...
Can you give me a bit more guidance on how I would write it please?
How would I do that?
1. EntityDeathEvent 2. Check if Entity instaceof EnderDragon 3. Check if killer instanceof Player 4. Player killer = (Player)...
Hi, So I am adding Combat Tag into my plugin. So when a player attacks another player, they are both added to an Array List. A Delayed task is...
Ive attached an image to this reply of the error. Ive tried clicking the error and it creates another error. The reason i havent used the method...
Its underlined in red.. // Create Leaderboard Sign @EventHandler public void createLeaderboardSign(final PlayerInteractEvent e) {...
Im getting an error on line 13 of your code: entries.get(i).getKey();
I was storing stats by name in the config which is why I hadn't been able to test your code. I have went through the whole plugin and changed it...
Basically, what i am asking is how would I put the code you gave me into my plugin so that it still works with everything thats already there? Thanks
I have not tried the code you posted as I have no idea how I would implement it in. Thanks
Okay so I managed to get second place to work. I had to fully change the way it all worked to get there but I did it. I still cant get 3rd place...
Didn't want to create a new thread for this as it would probably get merged anyway... Basically Everything I wanted to be able to do for 1st...
This is my whole Event Handler @EventHandler public void createLeaderboardSign(final PlayerInteractEvent e) { Player p =...
I am in the middle of creating a leaderboard plugin. This is how it works so far: Place a sign Line 1 = lboard Line 2 =1 (which place in the...
Yes, thanks again!
Wait.. it wasnt outside the loop fully! It works now! int maxKills = 0; String maxKillsPlayer = "";...
int maxKills = 0; String maxKillsPlayer = ""; for (String...
The int maxkills = 0; and maxKillsPlayer = ""; ??
Separate names with a comma.