net.jetrix.commands
Class AwayCommand
java.lang.Object
net.jetrix.commands.AbstractCommand
net.jetrix.commands.AwayCommand
- All Implemented Interfaces:
- Command
public class AwayCommand
- extends AbstractCommand
Set the away status of a player.
- Since:
- 0.2
- Version:
- $Revision: 545 $, $Date: 2005-01-05 18:16:04 +0100 (mer., 05 janv. 2005) $
- Author:
- Emmanuel Bourg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AwayCommand
public AwayCommand()
getAliases
public String[] getAliases()
- Description copied from interface:
Command
- Return the different names available to invoke this command.
An alias doesn't contain the leading character used to call
a command ("/" or "!"). The first alias in the array is the
default name that will be displayed in the /help list.
- Specified by:
getAliases
in interface Command
- Overrides:
getAliases
in class AbstractCommand
getUsage
public String getUsage(Locale locale)
- Description copied from interface:
Command
- Return the usage of this command, for example
/cmd <param1> <param2>
- Specified by:
getUsage
in interface Command
- Overrides:
getUsage
in class AbstractCommand
- Parameters:
locale
- the locale to be used for the usage
execute
public void execute(CommandMessage message)
- Description copied from interface:
Command
- Execute the command.
Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.