Esempio n. 1
0
 @Override
 public void handleKick(UUID uuid, C c) {
   Player player = Bukkit.getPlayer(uuid);
   if (player != null && player.isOnline()) {
     MainUtil.sendMessage(BukkitUtil.getPlayer(player), c);
     player.teleport(player.getWorld().getSpawnLocation());
   }
 }
Esempio n. 2
0
 @Override
 public void unregister(PlotPlayer player) {
   BukkitUtil.removePlayer(player.getName());
 }