Does anyone know how i can make it so once you hit 30 mobs, it will do something. I want to know how to do this in code. Thanks.
@Nathan674329 Create a hashmap. The keys will be UUIDs and the value will be an Integer. this represents the amount of mobs a player kills. When a player kills a mob: if the player's uuid is not in the hashmap, put the players uuid with '1' as the value. This represents his first kill If they are in the hashmap, instead of putting just 1, put the existing value from the hashmap plus 1. This just adds +1 to the players kills If the kills%30==29 (or, every 30 kills), do stuff.