How would I go about to add a timer so when the player dies it will kick them from the server and they will be able to reconnect in like 10 seconds. Code: @EventHandler public void OnPlayerDeath(PlayerDeathEvent event) { Player player = event.getPlayer(); player.KickPlayer("You have died. You may connect in:" + deathTimer); }
tempban them: as in write that they get 'banned' and unban after 10*60*1000 milliseconds have passed (using the method provided by cman1885)