org.starhope.appius.sys.op
Class OpCommands

java.lang.Object
  extended by org.starhope.appius.sys.op.OpCommands

public class OpCommands
extends Object

This class contains operator commands that act upon the game world. These are usually accessed by typing a '#' plus the command name into a public message.

The command name required is the (all-lower-case) method name without the leading op_ prefix. For example, the method named op_mem is actually typed as "#mem".

Author:
brpocock

Constructor Summary
OpCommands()
           
 
Method Summary
private static String assertValidWarnReason(String warnReason, AbstractUser u)
          TODO: document this method (brpocock, Dec 10, 2009)
static void exec(AbstractRoom room, AbstractUser u, String commandString)
          Execute a staff command found with a leading # on it.
private static void headcount_all(AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Dec 29, 2009)
private static void headcount_members(AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Dec 29, 2009)
private static void headcount_rooms(AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Dec 29, 2009)
static void op_ban(String[] words, AbstractUser u, AbstractRoom room)
          Ban a user permanently.
static void op_beam(String[] words, AbstractUser u, AbstractRoom room)
           
static void op_clearbadge(String[] words, AbstractUser u, AbstractRoom room)
          Clear a given badge off of a room.
static void op_clearvar(String[] words, AbstractUser u, AbstractRoom room)
          Clear a room variable
static void op_dbcpinfo(String[] words, AbstractUser u, AbstractRoom room)
          Get DBCP information
static void op_dress(String[] words, AbstractUser u, AbstractRoom room)
          Force a character to wear a specific clothing item.
static void op_dropkick(String[] words, AbstractUser u, AbstractRoom room)
          Silently remove the named user from the game by disconnection.
static void op_dumpthreads(String[] words, AbstractUser u, AbstractRoom room)
          Dump debugging information including all running threads to a server-side file
static void op_evacuate(String[] words, AbstractUser u, AbstractRoom room)
          Evactuate all users into another Zone
static void op_finger(String[] words, AbstractUser u, AbstractRoom room)
          Finger a user account.
static void op_getconfig(String[] words, AbstractUser u, AbstractRoom room)
          Get a configuration variable
static void op_getuvar(String[] words, AbstractUser u, AbstractRoom room)
          Get a user variable
static void op_getuvars(String[] words, AbstractUser u, AbstractRoom room)
          Get all user variables for a given user
static void op_getvar(String[] words, AbstractUser u, AbstractRoom room)
          Get a room variable
static void op_getvars(String[] words, AbstractUser u, AbstractRoom room)
          Get all room variables
static void op_givehead(String[] words, AbstractUser u, AbstractRoom room)
          Give an item (e.g.
static void op_grant(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_headcount(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_kick(String[] words, AbstractUser u, AbstractRoom room)
          Kick a user offline for a certain reason
static void op_king(String[] words, AbstractUser u, AbstractRoom room)
           Apply a gift membership to an user.
static void op_liftban(String[] words, AbstractUser u, AbstractRoom room)
           Lift the ban upon a user.
static void op_loadlists(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_mem(String[] words, AbstractUser u, AbstractRoom room)
          Display some memory usage and other debugging type information as an admin message
static void op_metronome(String[] words, AbstractUser u, AbstractRoom room)
          Perform rude actions upon the metronome.
static void op_motd(String[] words, AbstractUser u, AbstractRoom room)
          WRITEME
static void op_mute(String[] words, AbstractUser u, AbstractRoom room)
           
 void op_nuke(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 13, 2009)
static void op_ping(String[] words, AbstractUser u, AbstractRoom room)
          Ping the server, to force a neutral administrative message reply
static void op_reboot(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_reloadconfig(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_retire(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_scotty(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_setavatarcolors(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_setbadge(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_setconfig(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_setuvar(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_setvar(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_shout(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_spawnroom(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_spawnzone(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_stfu(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_time(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_unbuild(String[] words, AbstractUser u, AbstractRoom room)
          Destroy a room (now)
static void op_v(String[] words, AbstractUser u, AbstractRoom room)
          Ventriloquism
static void op_wall(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_wallops(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_wallzones(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Nov 20, 2009)
static void op_warn(String[] words, AbstractUser u, AbstractRoom room)
          Warn a user about breaking a rule.
static void op_whereami(String[] words, AbstractUser u, AbstractRoom room)
          Return an administrative message with the name of the Zone in which the player is currently standing.
static void op_whereis(String[] words, AbstractUser u, AbstractRoom room)
          Find out in what what room a character is standing, if s/he is logged in at the moment.
static void op_who(String[] words, AbstractUser u, AbstractRoom room)
          TODO: document this method (brpocock, Dec 29, 2009)
static void op_whoami(String[] words, AbstractUser u, AbstractRoom room)
          Cause the character to speak his/her name in the current room.
static void op_whoareyou(String[] words, AbstractUser u, AbstractRoom room)
          Ask the server who it is.
static void sendAdminMessage(AbstractRoom room, AbstractUser anybody, String string)
          Deprecated. 
static void z$z(AbstractUser u)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpCommands

public OpCommands()
Method Detail

assertValidWarnReason

private static String assertValidWarnReason(String warnReason,
                                            AbstractUser u)
TODO: document this method (brpocock, Dec 10, 2009)

Parameters:
warnReason - WRITEME
u - WRITEME
Returns:
WRITEME

exec

public static void exec(AbstractRoom room,
                        AbstractUser u,
                        String commandString)
Execute a staff command found with a leading # on it.

Parameters:
room - the room in which the operator command should be executed
u - the user executing said command
commandString - the command to be executed, beginning with '#'

headcount_all

private static void headcount_all(AbstractUser u,
                                  AbstractRoom room)
                           throws org.json.JSONException,
                                  NumberFormatException
TODO: document this method (brpocock, Dec 29, 2009)

Parameters:
u - WRITEME
room - WRITEME
Throws:
org.json.JSONException - WRITEME
NumberFormatException - WRITEME

headcount_members

private static void headcount_members(AbstractUser u,
                                      AbstractRoom room)
TODO: document this method (brpocock, Dec 29, 2009)

Parameters:
u - WRITEME
room - WRITEME

headcount_rooms

private static void headcount_rooms(AbstractUser u,
                                    AbstractRoom room)
                             throws org.json.JSONException
TODO: document this method (brpocock, Dec 29, 2009)

Parameters:
u - WRITEME
room - WRITEME
Throws:
org.json.JSONException - WRITEME

op_ban

public static void op_ban(String[] words,
                          AbstractUser u,
                          AbstractRoom room)
Ban a user permanently.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_beam

public static void op_beam(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
                    throws org.json.JSONException
Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.
Throws:
org.json.JSONException - WRITEME

op_clearbadge

public static void op_clearbadge(String[] words,
                                 AbstractUser u,
                                 AbstractRoom room)
Clear a given badge off of a room.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_clearvar

public static void op_clearvar(String[] words,
                               AbstractUser u,
                               AbstractRoom room)
Clear a room variable

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_dbcpinfo

public static void op_dbcpinfo(String[] words,
                               AbstractUser u,
                               AbstractRoom room)
                        throws PrivilegeRequiredException,
                               NotFoundException,
                               SQLException
Get DBCP information

Parameters:
words - WRITEME
u - WRITEME
room - WRITEME
Throws:
PrivilegeRequiredException - WRITEME
NotFoundException - WRITEME
SQLException - WRITEME

op_dress

public static void op_dress(String[] words,
                            AbstractUser u,
                            AbstractRoom room)
                     throws NumberFormatException,
                            DataException
Force a character to wear a specific clothing item.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.
Throws:
DataException - if the colour is bad
NumberFormatException - if the colour is bad

op_dropkick

public static void op_dropkick(String[] words,
                               AbstractUser u,
                               AbstractRoom room)
Silently remove the named user from the game by disconnection.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_dumpthreads

public static void op_dumpthreads(String[] words,
                                  AbstractUser u,
                                  AbstractRoom room)
Dump debugging information including all running threads to a server-side file

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_evacuate

public static void op_evacuate(String[] words,
                               AbstractUser u,
                               AbstractRoom room)
Evactuate all users into another Zone

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_finger

public static void op_finger(String[] words,
                             AbstractUser u,
                             AbstractRoom room)
Finger a user account. Return interesting details in an administrative message.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_getconfig

public static void op_getconfig(String[] words,
                                AbstractUser u,
                                AbstractRoom room)
Get a configuration variable

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_getuvar

public static void op_getuvar(String[] words,
                              AbstractUser u,
                              AbstractRoom room)
Get a user variable

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_getuvars

public static void op_getuvars(String[] words,
                               AbstractUser u,
                               AbstractRoom room)
Get all user variables for a given user

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_getvar

public static void op_getvar(String[] words,
                             AbstractUser u,
                             AbstractRoom room)
Get a room variable

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_getvars

public static void op_getvars(String[] words,
                              AbstractUser u,
                              AbstractRoom room)
Get all room variables

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_givehead

public static void op_givehead(String[] words,
                               AbstractUser u,
                               AbstractRoom room)
Give an item (e.g. Pivitz™) to a given user. Synonym: #grant

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_grant

public static void op_grant(String[] words,
                            AbstractUser u,
                            AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_headcount

public static void op_headcount(String[] words,
                                AbstractUser u,
                                AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_kick

public static void op_kick(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
Kick a user offline for a certain reason

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_king

public static void op_king(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
                    throws org.json.JSONException

Apply a gift membership to an user.

Usage: #king days login

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.
Throws:
org.json.JSONException - if something can't be cast into a JSON packet underlying

op_liftban

public static void op_liftban(String[] words,
                              AbstractUser u,
                              AbstractRoom room)
                       throws PrivilegeRequiredException

Lift the ban upon a user.

Usage: #liftban [BANREASON] [USER] yes

In order to un-ban a user, you must key in the literal word “yes” as the third parameter, and supply the ban reason as the first. This is to avoid accidentally lifting a ban.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.
Throws:
PrivilegeRequiredException - if the user lacks PrivilegeRequiredException

op_loadlists

public static void op_loadlists(String[] words,
                                AbstractUser u,
                                AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_mem

public static void op_mem(String[] words,
                          AbstractUser u,
                          AbstractRoom room)
Display some memory usage and other debugging type information as an admin message

Parameters:
words - command parameters (not used)
u - invoking user
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances. WRITEME WRITEME

op_metronome

public static void op_metronome(String[] words,
                                AbstractUser u,
                                AbstractRoom room)
Perform rude actions upon the metronome. Sub-commands are #rate, #last, #stop, #start, #restart, and #tick. WRITEME

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_motd

public static void op_motd(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
WRITEME

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_mute

public static void op_mute(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.
See Also:
op_stfu(String[], AbstractUser, AbstractRoom)

op_ping

public static void op_ping(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
Ping the server, to force a neutral administrative message reply

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_reboot

public static void op_reboot(String[] words,
                             AbstractUser u,
                             AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_reloadconfig

public static void op_reloadconfig(String[] words,
                                   AbstractUser u,
                                   AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_retire

public static void op_retire(String[] words,
                             AbstractUser u,
                             AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_scotty

public static void op_scotty(String[] words,
                             AbstractUser u,
                             AbstractRoom room)
                      throws org.json.JSONException
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.
Throws:
org.json.JSONException - if something can't be done

op_setavatarcolors

public static void op_setavatarcolors(String[] words,
                                      AbstractUser u,
                                      AbstractRoom room)
                               throws NumberFormatException,
                                      DataException
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.
Throws:
DataException - if the colour is bad
NumberFormatException - if the colour is bad

op_setbadge

public static void op_setbadge(String[] words,
                               AbstractUser u,
                               AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_setconfig

public static void op_setconfig(String[] words,
                                AbstractUser u,
                                AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_setuvar

public static void op_setuvar(String[] words,
                              AbstractUser u,
                              AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_setvar

public static void op_setvar(String[] words,
                             AbstractUser u,
                             AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_shout

public static void op_shout(String[] words,
                            AbstractUser u,
                            AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_spawnroom

public static void op_spawnroom(String[] words,
                                AbstractUser u,
                                AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_spawnzone

public static void op_spawnzone(String[] words,
                                AbstractUser u,
                                AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_stfu

public static void op_stfu(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_time

public static void op_time(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_unbuild

public static void op_unbuild(String[] words,
                              AbstractUser u,
                              AbstractRoom room)
Destroy a room (now)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_v

public static void op_v(String[] words,
                        AbstractUser u,
                        AbstractRoom room)
                 throws org.json.JSONException,
                        NotFoundException
Ventriloquism

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.
Throws:
org.json.JSONException - if the speech can't be represented in JSON somehow
NotFoundException - WRITEME
See Also:
Commands.do_speak(JSONObject, AbstractUser, AbstractRoom)

op_wall

public static void op_wall(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_wallops

public static void op_wallops(String[] words,
                              AbstractUser u,
                              AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_wallzones

public static void op_wallzones(String[] words,
                                AbstractUser u,
                                AbstractRoom room)
TODO: document this method (brpocock, Nov 20, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_warn

public static void op_warn(String[] words,
                           AbstractUser u,
                           AbstractRoom room)
Warn a user about breaking a rule. Multiple warnings within a short interval should result in the user being kicked out for a period of time.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_whereami

public static void op_whereami(String[] words,
                               AbstractUser u,
                               AbstractRoom room)
Return an administrative message with the name of the Zone in which the player is currently standing.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_whereis

public static void op_whereis(String[] words,
                              AbstractUser u,
                              AbstractRoom room)
Find out in what what room a character is standing, if s/he is logged in at the moment. Special case: #everyone will return the set of all characters logged in to the current zone. Requires Designer level privileges to use the #everyone option.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_who

public static void op_who(String[] words,
                          AbstractUser u,
                          AbstractRoom room)
                   throws PrivilegeRequiredException
TODO: document this method (brpocock, Dec 29, 2009)

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.
Throws:
PrivilegeRequiredException - if the user calling isn't a staff member

op_whoami

public static void op_whoami(String[] words,
                             AbstractUser u,
                             AbstractRoom room)
Cause the character to speak his/her name in the current room. Appears as dialogue in the form: “Hello, my name is NAME”

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

op_whoareyou

public static void op_whoareyou(String[] words,
                                AbstractUser u,
                                AbstractRoom room)
Ask the server who it is. This command should return version information on some of the critical classes used in the game server.

Parameters:
words - The command parameters (whitespace-delimited list) provided after the # command name
u - The user invoking the operator command
room - The room in which the user is standing (as a room number). This can be -1 under certain circumstances.

sendAdminMessage

@Deprecated
public static void sendAdminMessage(AbstractRoom room,
                                               AbstractUser anybody,
                                               String string)
Deprecated. 

Send an administrative message to a user. See User.acceptAdminMessage(Integer, String) for the preferred version.

Parameters:
room - The room in which the user is standing
anybody - The user to receive the administrative message
string - The administrative message to be sent

z$z

public static void z$z(AbstractUser u)
Parameters:
u - user

op_nuke

public void op_nuke(String[] words,
                    AbstractUser u,
                    AbstractRoom room)
             throws PrivilegeRequiredException
TODO: document this method (brpocock, Nov 13, 2009)

Parameters:
words - WRITEME
u - The user (operator) executing this instruction
room - The room to be nuked
Throws:
PrivilegeRequiredException - WRITEME