Ejemplo 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());
   }
 }
Ejemplo n.º 2
0
 @Override
 public void unregister(PlotPlayer player) {
   BukkitUtil.removePlayer(player.getName());
 }