1 package org.bukkit.command.defaults;
3 import java.util.ArrayList;
6 import org.apache.commons.lang.Validate;
7 import org.bukkit.Bukkit;
8 import org.bukkit.ChatColor;
9 import org.bukkit.command.Command;
10 import org.bukkit.command.CommandSender;
11 import org.bukkit.util.StringUtil;
13 import com.google.common.collect.ImmutableList;
18 this.
description =
"Allows the specified IP address to use this server";
26 if (args.length != 1) {
43 Validate.notNull(sender,
"Sender cannot be null");
44 Validate.notNull(args,
"Arguments cannot be null");
45 Validate.notNull(alias,
"Alias cannot be null");
47 if (args.length == 1) {
50 return ImmutableList.of();