@Override
 public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
   final String[] kicked = NoCheatPlus.getLoginDeniedPlayers();
   if (kicked.length < 100) Arrays.sort(kicked);
   sender.sendMessage(TAG + "Temporarily kicked players:");
   sender.sendMessage(CheckUtils.join(Arrays.asList(kicked), " "));
   return true;
 }
Beispiel #2
0
 /**
  * Quick check for really bad coordinates (actual problem, if true is returned.).
  *
  * @return
  */
 public boolean hasIllegalCoords() {
   return CheckUtils.isBadCoordinate(minX, maxX, minY, maxY, minZ, maxZ);
 }
 /**
  * Output a message for a player with the standard format (see CheckUtils.debug(Player, CheckType,
  * String).
  *
  * @param player Can be null.
  * @param message
  */
 public void debug(final Player player, final String message) {
   CheckUtils.debug(player, checkType, message);
 }