net.minecraft.src
Class CommandServerBanIp

java.lang.Object
  extended by net.minecraft.src.CommandBase
      extended by net.minecraft.src.CommandServerBanIp
All Implemented Interfaces:
Comparable, ICommand

public class CommandServerBanIp
extends CommandBase


Field Summary
static Pattern IPv4Pattern
           
 
Constructor Summary
CommandServerBanIp()
           
 
Method Summary
 List addTabCompletionOptions(ICommandSender par1ICommandSender, String[] par2ArrayOfStr)
          Adds the strings available in this command to the given list of tab completion options.
 boolean canCommandSenderUseCommand(ICommandSender par1ICommandSender)
          Returns true if the given command sender is allowed to use this command.
 int func_82362_a()
           
 String getCommandName()
           
 String getCommandUsage(ICommandSender par1ICommandSender)
           
 void processCommand(ICommandSender par1ICommandSender, String[] par2ArrayOfStr)
           
 
Methods inherited from class net.minecraft.src.CommandBase
compareNameTo, compareTo, doesStringStartWith, func_82358_a, func_82359_c, func_82360_a, func_82361_a, func_82363_b, getCommandAliases, getCommandSenderAsPlayer, getListOfStringsFromIterableMatchingLastWord, getListOfStringsMatchingLastWord, joinNiceString, notifyAdmins, notifyAdmins, parseInt, parseIntBounded, parseIntWithMin, setAdminCommander
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IPv4Pattern

public static final Pattern IPv4Pattern
Constructor Detail

CommandServerBanIp

public CommandServerBanIp()
Method Detail

getCommandName

public String getCommandName()

func_82362_a

public int func_82362_a()
Overrides:
func_82362_a in class CommandBase

canCommandSenderUseCommand

public boolean canCommandSenderUseCommand(ICommandSender par1ICommandSender)
Returns true if the given command sender is allowed to use this command.

Specified by:
canCommandSenderUseCommand in interface ICommand
Overrides:
canCommandSenderUseCommand in class CommandBase

getCommandUsage

public String getCommandUsage(ICommandSender par1ICommandSender)
Specified by:
getCommandUsage in interface ICommand
Overrides:
getCommandUsage in class CommandBase

processCommand

public void processCommand(ICommandSender par1ICommandSender,
                           String[] par2ArrayOfStr)

addTabCompletionOptions

public List addTabCompletionOptions(ICommandSender par1ICommandSender,
                                    String[] par2ArrayOfStr)
Adds the strings available in this command to the given list of tab completion options.

Specified by:
addTabCompletionOptions in interface ICommand
Overrides:
addTabCompletionOptions in class CommandBase