Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @SuppressWarnings("deprecation")
- public void onDisable() {
- //KICKALL
- for(Player player : Bukkit.getOnlinePlayers()) {
- player.kickPlayer(ChatColor.translateAlternateColorCodes('&', "&aRestarting Wenja Practice! \n&7".replaceAll("\\n", "\n") + randomJoke()));
- getLogger().log(Level.INFO, "Kicked all online players!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment