|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.starhope.appius.sys.op.OpCommands
public class OpCommands
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".
Constructor Summary | |
---|---|
OpCommands()
|
Method Summary | |
---|---|
private static String |
assertValidWarnReason(String warnReason,
AbstractUser u)
assert that a warning (kick, ban) reason code is valid |
static void |
exec(Room room,
AbstractUser u,
String commandString)
Execute a staff command found with a leading # on it. |
static String |
fingerInfo(AbstractUser u,
AbstractUser pasivo)
get “finger” information about any user |
private static String |
getConfKey(String string)
Convert the user-provided configuration key string into a real key string found in the configuration Properties. |
private static String |
getDiamond(int x,
int y,
int delta)
Get a diamond surrounding a pixel in the polygon format for setting up place zones in the client |
static Method |
getHook(AbstractUser u,
String command)
Find a character-specific operator command for a specific user. |
private static void |
givehead_toRoom(AbstractUser u,
Room room,
String taker,
int itemNumberInt)
Give an item to everyone in a given room. |
private static void |
headcount_all(AbstractUser u,
Room room)
Perform the #headcount #all subcommand, givng a headcount of users in all zones. |
private static void |
headcount_highwater(AbstractUser u,
Room room)
perform the #headcount #highwater subcommand, providing the high-water mark of logins for the server since boot |
private static void |
headcount_members(AbstractUser u,
Room room)
Get a headcount of the number of users online in a given zone, broken down into free, paid, and staff users. |
private static void |
headcount_rooms(AbstractUser u,
Room room)
broken-out handler for #headcount #rooms; see op_headcount(String[], AbstractUser, Room) Get a
headcount of the number of users online in a given zone, broken
down into by room population. |
static void |
hook(Room room,
AbstractUser u,
String speech)
call the operator script hook for a particular character |
static void |
op_$(String[] words,
AbstractUser u,
Room room)
Execute a command script |
static void |
op_addevent(String[] words,
AbstractUser u,
Room room)
Add a GameEvent to a Zone |
static void |
op_agent(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this method brpocock@star-hope.org |
static void |
op_askme(String[] words,
AbstractUser user,
Room room)
|
static void |
op_ban(String[] words,
AbstractUser u,
Room room)
Ban a user permanently. |
static void |
op_banhammer(String[] words,
AbstractUser u,
Room room)
Ban an IP address from connecting. |
static void |
op_beam(String[] words,
AbstractUser u,
Room room)
Beam yourself to a different room. |
static void |
op_build(String[] words,
AbstractUser u,
Room room)
Create a new room in the current zone. |
static void |
op_census(String[] words,
AbstractUser u,
Room room)
Simply reference a range of users, for testing purposes. |
static void |
op_clearbadge(String[] words,
AbstractUser u,
Room room)
Clear badges off of the map interface. |
static void |
op_clearcache(String[] words,
AbstractUser u,
Room r)
Forcibly clear all cachés |
static void |
op_clearevent(String[] words,
AbstractUser u,
Room room)
Clear a GameEvent from a Zone. |
static void |
op_clearvar(String[] words,
AbstractUser u,
Room room)
Clear a room variable. |
static void |
op_cloneroom(String[] words,
AbstractUser u,
Room r)
clone a room |
static void |
op_createroom(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this metho WRITEMEd brpocock@star-hope.org |
static void |
op_dbcpinfo(String[] words,
AbstractUser u,
Room room)
Get DBCP information. |
static void |
op_dress(String[] words,
AbstractUser u,
Room room)
Force a character to wear a specific clothing item. |
static void |
op_drop(String[] words,
AbstractUser u,
Room room)
find an item in your inventory based upon the item ID # and destroy (drop) it |
static void |
op_dropkick(String[] words,
AbstractUser u,
Room room)
Silently remove the named user from the game by disconnection. |
static void |
op_dumpthreads(String[] words,
AbstractUser u,
Room room)
Dump debugging information including all running threads to a server-side file. |
static void |
op_enablepathfinder(String[] words,
AbstractUser u,
Room room)
Temporary test routine for testing pathfinders on users |
static void |
op_evacuate(String[] words,
AbstractUser u,
Room room)
Evacuate all users from your current Zone into another Zone. |
static void |
op_filter(String[] words,
AbstractUser u,
Room room)
|
static void |
op_finger(String[] words,
AbstractUser u,
Room room)
Finger a user account. |
static void |
op_flush(String[] words,
AbstractUser u,
Room room)
Attempt to flush the pending database records to the database (if any). |
static void |
op_game(String[] words,
AbstractUser u,
Room room)
Send a command into the operator command interpreter for a running game (if that game provides one) |
static void |
op_getconfig(String[] words,
AbstractUser u,
Room room)
Get a Appius configuration variable. |
static void |
op_getevents(String[] words,
AbstractUser u,
Room room)
List GameEvents in your current Zone. |
static void |
op_getmotd(String[] words,
AbstractUser u,
Room room)
Retrieve the current Message Of The Day as a server message |
static void |
op_getschedule(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this method brpocock@star-hope.org |
static void |
op_getschedulefor(String[] words,
AbstractUser u,
Room room)
Get scheduled events for a particular class (scheduled by that class) |
static void |
op_getuvar(String[] words,
AbstractUser u,
Room room)
Get a user variable. |
static void |
op_getuvars(String[] words,
AbstractUser u,
Room room)
Get all user variables for a given user. |
static void |
op_getvar(String[] words,
AbstractUser u,
Room room)
Get a room variable. |
static void |
op_getvars(String[] words,
AbstractUser u,
Room room)
Get all room variables. |
static void |
op_give(String[] words,
AbstractUser u,
Room r)
give a gift |
static void |
op_givehead(String[] words,
AbstractUser u,
Room room)
Give an inventory item to a user. |
static void |
op_goto(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this method brpocock@star-hope.org |
static void |
op_grant(String[] words,
AbstractUser u,
Room room)
Grant an item to a user. |
static void |
op_headcount(String[] words,
AbstractUser u,
Room room)
Get headcount information about the running system. |
static void |
op_inv(String[] words,
AbstractUser u,
Room room)
Get inventory items for a particular user. |
static void |
op_kick(String[] words,
AbstractUser u,
Room room)
Kick a user offline for a certain reason |
static void |
op_king(String[] words,
AbstractUser u,
Room room)
Apply a gift membership to an user. |
static void |
op_liftban(String[] words,
AbstractUser u,
Room room)
Lift the ban upon a user. |
static void |
op_loadlists(String[] words,
AbstractUser u,
Room room)
Reload the censorship lists. |
static void |
op_mem(String[] words,
AbstractUser u,
Room room)
Display some memory usage and other debugging type information as an pop-up message. |
static void |
op_metronome(String[] words,
AbstractUser u,
Room room)
Display information about or micromanage the metronome. |
static void |
op_motd(String[] words,
AbstractUser u,
Room room)
Set the message of the day. |
static void |
op_mute(String[] words,
AbstractUser u,
Room room)
|
static void |
op_nuke(String[] words,
AbstractUser u,
Room room)
Forcibly disconnect everyone in a room. |
static void |
op_parentapproves(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this method brpocock@star-hope.org |
static void |
op_ping(String[] words,
AbstractUser u,
Room room)
Ping the server, to force a neutral administrative message reply. |
static void |
op_place(String[] words,
AbstractUser u,
Room room)
Add a Place to a room. |
static void |
op_purgephysics(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this method brpocock@star-hope.org |
static void |
op_push(String[] words,
AbstractUser u,
Room room)
WRITEME |
static void |
op_put(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this method brpocock@star-hope.org |
static void |
op_rc(String[] words,
AbstractUser u,
Room room)
Run an RC (RunCommands) script. |
static void |
op_reboot(String[] words,
AbstractUser u,
Room room)
Forces appius to restart. |
static void |
op_reloadconfig(String[] words,
AbstractUser u,
Room room)
Reloads configuration properties. |
static void |
op_retire(String[] words,
AbstractUser u,
Room room)
Forces a zone to retire. |
static void |
op_run(String[] words,
AbstractUser who,
Room where)
Run an arbitrary Java routine through an uploaded Runnable or RunCommands class |
static void |
op_saveroomvars(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this method brpocock@star-hope.org |
static void |
op_scotty(String[] words,
AbstractUser u,
Room room)
Forces a user into another room. |
static void |
op_setavatarcolors(String[] words,
AbstractUser u,
Room room)
Sets the base an extra color of a user's avatar. |
static void |
op_setbadge(String[] words,
AbstractUser u,
Room room)
Set the badge on a room. |
static void |
op_setconfig(String[] words,
AbstractUser u,
Room room)
Set a config property. |
static void |
op_setstafflevel(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this method brpocock@star-hope.org |
static void |
op_setuvar(String[] words,
AbstractUser u,
Room room)
Set a user variable. |
static void |
op_setvar(String[] words,
AbstractUser u,
Room room)
Set a room variable. |
static void |
op_shanghai(String[] words,
AbstractUser u,
Room room)
Force a client into a different room and zone |
static void |
op_shout(String[] words,
AbstractUser u,
Room room)
Speak in another zone. |
static void |
op_spawnzone(String[] words,
AbstractUser u,
Room room)
Create a new zone. |
static void |
op_speak(String[] words,
AbstractUser u,
Room room)
Allows a user to speak. |
static void |
op_stfu(String[] words,
AbstractUser u,
Room room)
Silences a user. |
static void |
op_testcensor(String[] words,
AbstractUser u,
Room room)
Test a message with the censor, displays the filter result. |
static void |
op_time(String[] words,
AbstractUser u,
Room room)
Displays a message with the current time in Eastern Standard Time. |
static void |
op_unbuild(String[] words,
AbstractUser u,
Room room)
Destroys a room. |
static void |
op_v(String[] words,
AbstractUser u,
Room room)
Forces a user to say a message. |
static void |
op_verbosebugs(String[] words,
AbstractUser u,
Room r)
Set verbose bug backtrace reporting on or off |
static void |
op_wall(String[] words,
AbstractUser u,
Room room)
Sends an pop-up message to everyone in the zone. |
static void |
op_wallops(String[] words,
AbstractUser u,
Room room)
Sends an pop-up message to all staff members in the zone. |
static void |
op_wallzones(String[] words,
AbstractUser u,
Room room)
Sends an pop-up message to all everyone in every zone. |
static void |
op_warn(String[] words,
AbstractUser u,
Room room)
Warn a user about breaking a rule. |
static void |
op_whatis(String[] words,
AbstractUser u,
Room room)
Displays information about an item. |
static void |
op_whereami(String[] words,
AbstractUser u,
Room 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,
Room 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,
Room room)
Displays a list of everyone currently in a room. |
static void |
op_whoami(String[] words,
AbstractUser u,
Room room)
Cause the character to speak his/her name in the current room. |
static void |
op_whoareyou(String[] words,
AbstractUser u,
Room room)
Ask the server who it is. |
static void |
op_zoom(String[] words,
AbstractUser u,
Room room)
WRITEME: Document this method brpocock@star-hope.org |
private static void |
scottyZoneTeleport(AbstractUser u,
String greenBabesHouse)
|
static void |
sendAdminMessage(Room room,
AbstractUser anybody,
String string)
Deprecated. Use AbstractUser.acceptMessage(String, String, String)
instead. |
private static void |
sendUserErrorMessage(AbstractUser u,
String cmd,
Throwable throwable)
WRITEME: Document this method brpocock@star-hope.org |
private static void |
setvar_replace(String[] words,
AbstractUser u,
Room room)
WRITEME: document this method (brpocock@star-hope.org, Mar 5, 2010) |
private static void |
whereis_atRoom(AbstractUser u,
Room room,
String roomMoniker)
Get the list of users in a room. |
private static void |
whereis_everyone(AbstractUser u,
Room room)
Get the list of users in the current zone. |
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 |
---|
public OpCommands()
Method Detail |
---|
private static String assertValidWarnReason(String warnReason, AbstractUser u) throws NotFoundException
warnReason
- the supplied warning reason codeu
- the user providing the code (who may get an error
response)
NotFoundException
- if the code is not validpublic static void exec(Room room, AbstractUser u, String commandString)
room
- the room in which the operator command should be
executedu
- the user executing said commandcommandString
- the command to be executed, beginning with
'#'public static String fingerInfo(AbstractUser u, AbstractUser pasivo)
u
- who's askingpasivo
- who's being fingered
private static String getConfKey(String string)
Convert the user-provided configuration key string into a real key string found in the configuration Properties. The only purpose of this right now is to provide for the ~a shorthand for org.starhope.appius. Thus, for example, the user can type #setvar ~a.debug true and this will translate into #setvar org.starhope.appius.debug true instead.
This also now has ~t for com.tootsville and ~e for com.empiresoftheair for shorthand.
string
- a configuration key string
private static String getDiamond(int x, int y, int delta)
x
- the centre point's x ordinatey
- the centre point's y ordinatedelta
- the radius of the diamond from the centre
public static Method getHook(AbstractUser u, String command)
u
- the user in questioncommand
- the command or macro name
private static void givehead_toRoom(AbstractUser u, Room room, String taker, int itemNumberInt)
givehead_toRoom(AbstractUser, Room, String, int)
using @
ROOM-MONIKER notation.
u
- WRITEMEroom
- WRITEMEtaker
- WRITEMEitemNumberInt
- WRITEMEprivate static void headcount_all(AbstractUser u, Room room) throws org.json.JSONException, NumberFormatException
u
- The user requesting this headcountroom
- The room in which that user is standing.
org.json.JSONException
- if the JSON data can't be encoded or
decoded
NumberFormatException
- if some data can't be interpretedprivate static void headcount_highwater(AbstractUser u, Room room)
u
- the user requesting the headcountroom
- the room in which that user is standingprivate static void headcount_members(AbstractUser u, Room room)
u
- The user requesting this headcountroom
- The room in which that user is standing.private static void headcount_rooms(AbstractUser u, Room room) throws org.json.JSONException
op_headcount(String[], AbstractUser, Room)
Get a
headcount of the number of users online in a given zone, broken
down into by room population.
u
- The user requesting this headcountroom
- The room in which that user is standing.
org.json.JSONException
- WRITEMEpublic static void hook(Room room, AbstractUser u, String speech)
room
- the room in which the user is standingu
- the user's namespeech
- the command sequencepublic static void op_$(String[] words, AbstractUser u, Room room) throws IOException
Execute a command script
Usage:
#$ SCRIPT
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
IOException
- if the script can't be loadedpublic static void op_addevent(String[] words, AbstractUser u, Room room)
Add a GameEvent to a Zone. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use: #addevent [EVENTNAME]
Examples
#addevent LaserTagGame
#addevent PropsWeather
#addevent ShaddowFalls
#addevent Tootlympics
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_clearevent(String[], AbstractUser, Room)
,
op_getevents(String[], AbstractUser, Room)
public static void op_agent(String[] words, AbstractUser u, Room room)
words
- WRITEMEu
- WRITEMEroom
- WRITEMEpublic static void op_askme(String[] words, AbstractUser user, Room room) throws org.json.JSONException
org.json.JSONException
public static void op_ban(String[] words, AbstractUser u, Room room) throws NotFoundException, PrivilegeRequiredException
Ban a user permanently. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use
#ban [REASONCODE] [LOGIN]
Examples
#ban obs.rude pil
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
NotFoundException
- if the reason code given is invalid
PrivilegeRequiredException
- if the user lacks privilegesop_kick(String[], AbstractUser, Room)
,
op_warn(String[], AbstractUser, Room)
public static void op_banhammer(String[] words, AbstractUser u, Room room) throws UnknownHostException
Ban an IP address from connecting.
Bans can be listed using #banhammer #list
Bans can be lifted using #banhammer #-ip IP-ADDRESS (or hostname)
A ban can be placed with #banhammer #+ip IP-ADDRESS or #banhammer #+ip HOSTNAME or #banhammer #user USERNAME. In the latter case, the user's connected IP address is used. This is expected to be the most common usage.
words
- the first word is a subcommand; one of #+ip, #-ip,
#user, or #list. For #+ip, #-ip, or #user, an
additional parameter is needed.u
- the user issuing the banroom
- the room in which the operator is found
UnknownHostException
- if the IP address or hostname
specified can't be identifiedpublic static void op_beam(String[] words, AbstractUser u, Room room) throws org.json.JSONException, PrivilegeRequiredException
Beam yourself to a different room.
Syntax for use
#beam [ROOM]
Examples
#beam tootSquare
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
org.json.JSONException
- if the data can't be formatted for some
reason
PrivilegeRequiredException
- if sopublic static void op_build(String[] words, AbstractUser u, Room room)
Create a new room in the current zone. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#spawnroom [MONIKER] [TITLE] [SWF]
#spawnroom [MONIKER] [TITLE]
NOTE: Uses tootCastleJoust.swf as default. This can be set after the room has been created by setting the 'f' room variable.
Examples
#spawnroom tootCastleJoust2 Joust2 tootCastleJoust.swf
#spawnroom tootCastleJoust2 Joust2
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_census(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
words
- optional low and high points of the range to be
referenced.u
- Godroom
- God's room
PrivilegeRequiredException
- if someone other than God
tries to call this routinepublic static void op_clearbadge(String[] words, AbstractUser u, Room room)
Clear badges off of the map interface. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#clearbadge [LOGIN] [ROOM]
.
Examples
#clearbadge snowcone tootSquare
#clearbadge snowcone #all
#clearbadge snowcone #here
#clearbadge #me #all
#clearbadge #me #here
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_clearcache(String[] words, AbstractUser u, Room r) throws com.whirlycott.cache.CacheException, PrivilegeRequiredException
words
- noneu
- operatorr
- room operator is in
com.whirlycott.cache.CacheException
- if the caché subsystem throws an exception
PrivilegeRequiredException
- if (u) is not a developerpublic static void op_clearevent(String[] words, AbstractUser u, Room room)
Clear a GameEvent from a Zone. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#clearevent [EVENTNAME]
Examples
#clearevent LaserTagGame
#clearevent PropsWeather
#clearevent ShaddowFalls
#clearevent Tootlympics
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_addevent(String[], AbstractUser, Room)
,
op_getevents(String[], AbstractUser, Room)
public static void op_clearvar(String[] words, AbstractUser u, Room room)
Clear a room variable. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#clearvar @[ROOM] [VARIABLE] [VALUE]
#clearvar [VARIABLE] [VALUE]
See op_setvar(String[], AbstractUser, Room)
to set a
variable.
Examples
#clearvar @tootsSquareWest anim~ropes 2
#clearvar anim~ropes 2
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_setvar(String[], AbstractUser, Room)
,
op_getvar(String[], AbstractUser, Room)
public static void op_cloneroom(String[] words, AbstractUser u, Room r) throws PrivilegeRequiredException
words
- moniker of the new roomu
- user cloning the roomr
- room to be cloned, in which the user must currently be
standing
PrivilegeRequiredException
- if the user doesn't have
Designer level privileges, at leastpublic static void op_createroom(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException, NotReadyException
words
- WRITEMEu
- WRITEMEroom
- WRITEME
PrivilegeRequiredException
- WRITEME
NotReadyException
- WRITEMEpublic static void op_dbcpinfo(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException, NotFoundException, SQLException
Get DBCP information. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#dbcpinfo
Examples
#dbcpinfo
words
- ignoredu
- user requesting the inforoom
- the room in which the user is standng
PrivilegeRequiredException
- WRITEME
NotFoundException
- WRITEME
SQLException
- WRITEMEpublic static void op_dress(String[] words, AbstractUser u, Room room) throws NumberFormatException, DataException
Force a character to wear a specific clothing item. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#dress [LOGIN] [ITEM] [optional: COLOUR]
Examples
#dress flappyperry 1337
words
- login name, item ID, and optional colour string (see
Colour.Colour(String)
)u
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
DataException
- if the colour is bad
NumberFormatException
- if the colour is badpublic static void op_drop(String[] words, AbstractUser u, Room room)
words
- the item# to be destroyedu
- the user dropping the itemroom
- the room in which the user is standingpublic static void op_dropkick(String[] words, AbstractUser u, Room room)
Silently remove the named user from the game by disconnection. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#dropkick [LOGIN]
Examples
#dropkick flappyperry
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_dumpthreads(String[] words, AbstractUser u, Room room)
Dump debugging information including all running threads to a server-side file. Must have staff level 1 (STAFF) to use this command.
Syntax for use
#dumpthreads
Examples
#dumpthreads
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_enablepathfinder(String[] words, AbstractUser u, Room room)
words
- true or falseu
- whoroom
- wherepublic static void op_evacuate(String[] words, AbstractUser u, Room room)
Evacuate all users from your current Zone into another Zone. Will error if the Zone specified does not exist. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#evacuate [ZONE]
Examples
#evacuate dottie
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_filter(String[] words, AbstractUser u, Room room)
words
- see
op_testcensor(String[], AbstractUser, Room)
u
- see op_testcensor(String[], AbstractUser, Room)
room
- see
op_testcensor(String[], AbstractUser, Room)
op_testcensor(String[], AbstractUser, Room)
public static void op_finger(String[] words, AbstractUser u, Room room)
Finger a user account. Return interesting details in an administrative message. Must have staff level 1 (STAFF) to use this command.
Syntax for use
#finger [LOGIN]
Examples
#finger mouser
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_flush(String[] words, AbstractUser u, Room room)
words
- optionally, a single integer defining how many
records to attempt to flush. Defaults to 100.u
- operatorroom
- ignoredpublic static void op_game(String[] words, AbstractUser u, Room room)
Send a command into the operator command interpreter for a running game (if that game provides one)
Usage: #game gameClass (strings...)
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing. The GameEvent
must be attached thereunto.public static void op_getconfig(String[] words, AbstractUser u, Room room)
Get a Appius configuration variable. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#getconfig [PROPERTY]
Examples
#getconfig org.starhope.appius.requireBeta
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_getevents(String[] words, AbstractUser u, Room room)
List GameEvents in your current Zone. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#getevents
Examples
#getevents
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_addevent(String[], AbstractUser, Room)
,
op_getevents(String[], AbstractUser, Room)
public static void op_getmotd(String[] words, AbstractUser u, Room room)
words
- ignoredu
- user placing requestroom
- room in which the user is standingpublic static void op_getschedule(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
words
- WRITEMEu
- WRITEMEroom
- WRITEME
PrivilegeRequiredException
- WRITEMEpublic static void op_getschedulefor(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException, ClassNotFoundException
words
- Specify the class's full, canonical nameu
- the user invokingroom
- the room in which the user is standing
PrivilegeRequiredException
- if the user doesn't have at
least moderator privilege level
ClassNotFoundException
- is the class requested can't be
found (probably a typo)public static void op_getuvar(String[] words, AbstractUser u, Room room)
Get a user variable. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#getuvar [LOGIN] [VARIABLE]
Examples
#getuvar mouser d
#getuvar #me d
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_setuvar(String[], AbstractUser, Room)
,
op_getuvars(String[], AbstractUser, Room)
public static void op_getuvars(String[] words, AbstractUser u, Room room)
Get all user variables for a given user. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#getuvars [LOGIN]
.
Examples
#getuvars mouser
#getuvars #me
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_setuvar(String[], AbstractUser, Room)
,
op_getuvar(String[], AbstractUser, Room)
public static void op_getvar(String[] words, AbstractUser u, Room room)
Get a room variable. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#getvar @[ROOM] [VARIABLE]
#getvar [VARIABLE]
Examples
#getvar @tootsSquareWest anim~ropes
#getvar anim~ropes
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_setvar(String[], AbstractUser, Room)
,
op_clearvar(String[], AbstractUser, Room)
,
op_getvars(String[], AbstractUser, Room)
public static void op_getvars(String[] words, AbstractUser u, Room room)
Get all room variables. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#getvars [ROOM]
#getvars
Examples
#getvars tootsSquare
#getvars
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_setvar(String[], AbstractUser, Room)
,
op_clearvar(String[], AbstractUser, Room)
,
op_getvar(String[], AbstractUser, Room)
public static void op_give(String[] words, AbstractUser u, Room r) throws NumberFormatException, org.json.JSONException, AlreadyExistsException
usage: #give ITEM# USER
WRITEME
words
- item# to be given, and recipientu
- the giverr
- room in which the giver is standing
NumberFormatException
- if the item# given is not a number
org.json.JSONException
- WRITEME
AlreadyExistsException
- WRITEMEpublic static void op_givehead(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
Give an inventory item to a user. Must have staff level 1 (STAFF) to use this command.
NOTE: #grant and #givehead are identical.
Syntax for use
#givehead [ITEM] [LOGIN]
#grant [ITEM] [LOGIN]
Examples
#givehead 1337 louis
#grant 1337 louis
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
PrivilegeRequiredException
- requires staff level
permissionspublic static void op_goto(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
words
- WRITEMEu
- WRITEMEroom
- WRITEME
PrivilegeRequiredException
- WRITEMEpublic static void op_grant(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
op_givehead(String[], AbstractUser, Room)
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
PrivilegeRequiredException
- if the user doesn't have
sufficient privilegespublic static void op_headcount(String[] words, AbstractUser u, Room room)
Get headcount information about the running system. Must have staff level 1 (STAFF) to use this command.
Syntax for use
#headcount #all
#headcount #members
#headcount #room
Examples
#headcount #all
#headcount #members
#headcount #room
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.headcount_all(AbstractUser, Room)
,
headcount_highwater(AbstractUser, Room)
,
headcount_rooms(AbstractUser, Room)
,
headcount_members(AbstractUser, Room)
public static void op_inv(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
Get inventory items for a particular user. By default, this will bring up only the active items — e.g. clothing being worn, and so forth.
To get all active inventory for an user: #inv LOGIN
To get all inventory for an user, active or inactive (this may be very long!): #inv LOGIN #all
To get inventory of a particular type, active or inactive: #inv LOGIN #type TYPE
The type strings accepted are those accepted by
Commands.do_getInventoryByType(JSONObject, AbstractUser, Room)
; this means that both the $SPECIFIC-TYPE and
TYPE-SET-NAME forms are accepted. The list of specific
types might include e.g. $Hair, and a type-set-name
might be something like clothing. The set of available
type-set-names is specified in the configuration file.
words
- User name, and optional tag #all to show all items
instead of just active, or optional tag #type and a
type string for items of a specific type. For item
types, refer to
Commands.do_getInventoryByType(JSONObject, AbstractUser, Room)
— note that this supports only a single item type (or
type-set)u
- user calling this commandroom
- the room in which that user is standing
PrivilegeRequiredException
- if the user lacks staff
privileges to invoke this commandpublic static void op_kick(String[] words, AbstractUser u, Room room) throws NotFoundException
Kick a user offline for a certain reason. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use: #kick [REASONCODE] [LOGIN]
Examples
#kick obs.rude pil
Reason Codes:
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
NotFoundException
- if the warning reason code is not validop_warn(String[], AbstractUser, Room)
,
op_ban(String[], AbstractUser, Room)
public static void op_king(String[] words, AbstractUser u, Room room) throws org.json.JSONException
Apply a gift membership to an user. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#king [DAYS] [LOGIN]
Examples
#king 2 flappyperry
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
org.json.JSONException
- if something can't be cast into a JSON
packet underlyingpublic static void op_liftban(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException, NotFoundException
Lift the ban upon a user. Must have staff level 2 (MODERATOR) to use this command.
NOTE: 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.
Syntax for use
#liftban [BANREASON] [USER] yes
Examples
#liftban app.mail flappyperry yes
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
PrivilegeRequiredException
- if the user lacks
PrivilegeRequiredException
NotFoundException
- if the warning reason code is not validpublic static void op_loadlists(String[] words, AbstractUser u, Room room)
Reload the censorship lists. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#loadlists
Examples
#loadlists
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_mem(String[] words, AbstractUser u, Room room)
Display some memory usage and other debugging type information as an pop-up message. Must have Designer privileges to use this command.
Syntax for use
#mem
Examples
#mem
words
- command parameters (not used)u
- invoking userroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_metronome(String[] words, AbstractUser u, Room room)
Display information about or micromanage the metronome. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#metronome [OPTION]
Options
Examples
#metronome #rate
#metronome #last
#metronome #start
#metronome #stop
#metronome #restart
#metronome #tick
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_motd(String[] words, AbstractUser u, Room room)
Set the message of the day. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#motd [MESSAGE...]
Examples
#motd I am setting the message of the day
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_mute(String[] words, AbstractUser u, Room room)
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_stfu(String[], AbstractUser, Room)
public static void op_nuke(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
words
- the name of the room to be nukedu
- The user (operator) executing this instructionroom
- The room to be nuked
PrivilegeRequiredException
- WRITEMEpublic static void op_parentapproves(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException, GameLogicException, ForbiddenUserException, AlreadyExistsException, NotReadyException
words
- WRITEMEu
- WRITEMEroom
- WRITEME
PrivilegeRequiredException
- WRITEME
GameLogicException
- WRITEME
ForbiddenUserException
- WRITEME
AlreadyExistsException
- WRITEME
NotReadyException
- WRITEMEpublic static void op_ping(String[] words, AbstractUser u, Room room)
Ping the server, to force a neutral administrative message reply. Must have staff level 1 (STAFF) to use this command.
Syntax for use
#ping
Examples
#ping
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_place(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
Add a Place to a room. This command supports the basic types of event Places, and adds them to the room in the given WHERE place. WHERE can be a diamond-shaped area around the operator issuing the command (using #here, #here-tiny, or #here-big), or can be an explicitly-issued polygon string. The event region ID will be automatically assigned.
Usage: #place WHERE #item ITEM-NUMBER #place WHERE #room MONIKER #place WHERE #vitem PAID-ITEM-NUMBER #place WHERE #item2 ITEM-NUMBER PAID-ITEM-NUMBER #place WHERE #exit MONIKER #place WHERE #mini MINIGAME-MONIKER #place WHERE #walk WHERE := #here | #here-tiny | #here-big | x,y~x,y~x,y~x,y polygon listWRITEME: Document this method brpocock@star-hope.org
words
- WRITEMEu
- WRITEMEroom
- WRITEME
PrivilegeRequiredException
- WRITEMEpublic static void op_purgephysics(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
words
- WRITEMEu
- WRITEMEroom
- WRITEME
PrivilegeRequiredException
- WRITEMEpublic static void op_push(String[] words, AbstractUser u, Room room)
words
- WRITEMEu
- WRITEMEroom
- WRITEMEpublic static void op_put(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException
words
- WRITEMEu
- WRITEMEroom
- WRITEME
PrivilegeRequiredException
- WRITEMEpublic static void op_rc(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException, InstantiationException, IllegalAccessException, ClassNotFoundException
words
- class nameu
- userroom
- room
PrivilegeRequiredException
- user must be dev level
InstantiationException
- class can't instantiate
IllegalAccessException
- class can't instantiate
ClassNotFoundException
- probably a typo on class namepublic static void op_reboot(String[] words, AbstractUser u, Room room)
Forces appius to restart. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#reboot
Examples
#reboot
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_reloadconfig(String[] words, AbstractUser u, Room room)
Reloads configuration properties. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#reloadconfig
Examples
#reloadconfig
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_retire(String[] words, AbstractUser u, Room room)
Forces a zone to retire. This will disconnect anyone currently in the zone. Use #evacuate to move users to another zone. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#retire [ZONE]
#retire
Examples
#retire dottie
#retire
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_run(String[] words, AbstractUser who, Room where) throws ClassNotFoundException, InstantiationException, IllegalAccessException
words
- WRITEMEwho
- WRITEMEwhere
- WRITEME
ClassNotFoundException
- WRITEME
InstantiationException
- WRITEME
IllegalAccessException
- WRITEMEpublic static void op_saveroomvars(String[] words, AbstractUser u, Room room)
words
- WRITEMEu
- WRITEMEroom
- WRITEMEpublic static void op_scotty(String[] words, AbstractUser u, Room room) throws org.json.JSONException, PrivilegeRequiredException
Forces a user into another room. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#scotty [LOGIN] [ROOM]
Examples
#scotty mouser tootSquareWest
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
org.json.JSONException
- if something can't be done
PrivilegeRequiredException
- if sopublic static void op_setavatarcolors(String[] words, AbstractUser u, Room room) throws NumberFormatException, DataException
Sets the base an extra color of a user's avatar. Colors should be passed in HTML format (see below). Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#setavatarcolors [LOGIN] [BASE] [EXTRA]
Instantiate a Colour object based upon the CSS, HTML, or JSON style of colour string.
Examples
#setavatarcolors mouser #000000 #ffffff
#setavatarcolors mouser rgb(0,0,0) rgb(255,255,255)
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
DataException
- if the colour is bad
NumberFormatException
- if the colour is badColour.Colour(String)
public static void op_setbadge(String[] words, AbstractUser u, Room room)
Set the badge on a room. Must have staff level 4 (DESIGNER) to use this command on another character. Staff level 2 (MODERATOR) can use the command with the #me parameter.
NOTE: Rooms that don't directly appear on the map will not have visible badges, but the badges can still be set.
Syntax for use
#setbadge [LOGIN] [ROOM]
#setbadge
NOTE: Using #setbadge with no parameters will assume default
values which are identical to typing
#setbadge #me #here
Examples
#setbadge snowcone tootSquareWest
#setbadge #me tootSquare
#setbadge snowcone #here
#setbadge #me #here
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_setconfig(String[] words, AbstractUser u, Room room)
Set a config property. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#setconfing [PROPERTY] [VALUE]
Examples
#setconfig org.starhope.appius.requireBeta true
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_getconfig(String[], AbstractUser, Room)
public static void op_setstafflevel(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException, GameLogicException
words
- WRITEMEu
- WRITEMEroom
- WRITEME
PrivilegeRequiredException
- WRITEME
GameLogicException
- WRITEMEpublic static void op_setuvar(String[] words, AbstractUser u, Room room)
Set a user variable. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#setuvar @[LOGIN] [VARIABLE] [VALUE...]
#setuvar [VARIABLE] [VALUE...]
#setbadge
NOTE: Using #setconfig without an @[LOGIN] parameter will apply the changes to the user issuing the command.
Examples
#setuvar @mouser d = 254~376~254~376~SE~1267735566759
#setuvar d = 254~376~254~376~SE~1267735566759
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_getuvar(String[], AbstractUser, Room)
,
op_getuvars(String[], AbstractUser, Room)
public static void op_setvar(String[] words, AbstractUser u, Room room)
Set a room variable. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#setvar #replace [VARIABLE] [FIND] [REPLACE]
#setvar @[ROOM] [VARIABLE] [VALUE...]
#setvar [VARIABLE] [VALUE...]
WARNING: SETTING ROOM VARIABLES TO INVALID VALUES CAN CAUSE UNEXPECTED RESULTS. DOUBLE CHECK ALL VALUES BEING SET FOR CORRECTNESS.
Use #replace to change a room variable from one value to another.
Examples
#setvar @tootsSquareWest anim~ropes 2
#setvar anim~ropes 2
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.op_clearvar(String[], AbstractUser, Room)
,
op_getvar(String[], AbstractUser, Room)
,
Room.setVariable(String, String)
public static void op_shanghai(String[] words, AbstractUser u, Room room) throws org.json.JSONException
words
- space-delimited: USER ZONE ROOMu
- the user doing the Shanghai:ingroom
- the room where the kidnapper is
org.json.JSONException
- if something can't work in JSONpublic static void op_shout(String[] words, AbstractUser u, Room room)
Speak in another zone. This is intended for using operator commands in a remote zone, not normal chat messages. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use
#shout [ZONE] [ROOM] [COMMAND...]
Examples
#shout dottie tootSquareWest #wall Hello Everyone
#shout dottie tootSquare #retire
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_spawnzone(String[] words, AbstractUser u, Room room)
Create a new zone. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#spawnzone [ZONE]
Examples
#spawnzone Cupcake
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_speak(String[] words, AbstractUser u, Room room)
Allows a user to speak. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use
#speak [LOGIN]
Examples
#speak flappyperry
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_stfu(String[] words, AbstractUser u, Room room)
Silences a user. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use
#stfu [LOGIN]
Examples
#stfu flappyperry
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_testcensor(String[] words, AbstractUser u, Room room)
Test a message with the censor, displays the filter result.
Syntax for use
#testcensor [MESSAGE]
Examples
#testcensor This message will be filtered and the result will be displayed.
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_time(String[] words, AbstractUser u, Room room)
Displays a message with the current time in Eastern Standard Time. Must have staff level 1 (STAFF) to use this command.
Syntax for use
#time
Examples
#time
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_unbuild(String[] words, AbstractUser u, Room room) throws NotFoundException
Destroys a room. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#unbuild [ROOM]
Examples
#unbuild tootUniversity
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
NotFoundException
- if the room doesn't existpublic static void op_v(String[] words, AbstractUser u, Room room) throws org.json.JSONException, NotFoundException
Forces a user to say a message. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#v [LOGIN] [MESSAGE...]
Examples
#v flappyperry I like to cause trouble in tootsville
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
org.json.JSONException
- if the speech can't be represented in JSON
somehow
NotFoundException
- WRITEMECommands.do_speak(JSONObject, AbstractUser, Room)
public static void op_verbosebugs(String[] words, AbstractUser u, Room r)
words
- single word "true" or "false"u
- the user affectedr
- the room in which the user is standingpublic static void op_wall(String[] words, AbstractUser u, Room room)
Sends an pop-up message to everyone in the zone. Must have staff level 4 (DESIGNER) to use this command.
Syntax for use
#wall [MESSAGE...]
Examples
#wall This message will go to everyone in the zone I am in.
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_wallops(String[] words, AbstractUser u, Room room)
Sends an pop-up message to all staff members in the zone. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use
#wallops [MESSAGE...]
Examples
#wallops This message will go to all other staff members in this zone.
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_wallzones(String[] words, AbstractUser u, Room room)
Sends an pop-up message to all everyone in every zone. Must have staff level 8 (DEVELOPER) to use this command.
Syntax for use
#wallzones [MESSAGE...]
Examples
#wallzones This message will go to everyone in every zone.
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_warn(String[] words, AbstractUser u, Room room) throws NotFoundException
Warn a user about breaking a rule. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use: #warn [REASONCODE] [LOGIN]
Examples
#warn obs.rude pil
Reason Codes:
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
NotFoundException
- if the warning reason code is not validop_kick(String[], AbstractUser, Room)
,
op_ban(String[], AbstractUser, Room)
public static void op_whatis(String[] words, AbstractUser u, Room room) throws NumberFormatException, NotFoundException
Displays information about an item. Must have staff level 1 (STAFF) to use this command.
Syntax for use
#whatis [ITEM]
Examples
#whatis 1337
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
NotFoundException
- WRITEME
NumberFormatException
- WRITEMEpublic static void op_whereami(String[] words, AbstractUser u, Room room)
Return an administrative message with the name of the Zone in which the player is currently standing. Must have staff level 1 (STAFF) to use this command.
Syntax for use
#whereami
Examples
#whereami
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_whereis(String[] words, AbstractUser u, Room room)
Find out in what what room a character is standing, if s/he is logged in at the moment. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use
#whereis [LOGIN]
Examples
#whereis snowcone
#whereis #everyone
#whereis @tootSquare
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.whereis_atRoom(AbstractUser, Room, String)
,
whereis_everyone(AbstractUser, Room)
public static void op_who(String[] words, AbstractUser u, Room room) throws PrivilegeRequiredException, NotFoundException
Displays a list of everyone currently in a room. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use
#who [ROOM]
#who
NOTE: Leaving off the ROOM parameter will default to displaying for the room the command was initialized in.
Examples
#who tootSquare
#whereis
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.
PrivilegeRequiredException
- if the user calling isn't a
staff member
NotFoundException
- if the chosen room does not existpublic static void op_whoami(String[] words, AbstractUser u, Room room)
Cause the character to speak his/her name in the current room. Appears as dialogue in the form: “Hello, my name is NAME”. Must have staff level 1 (STAFF) to use this command.
Syntax for use
#whoami
Examples
#whoami
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_whoareyou(String[] words, AbstractUser u, Room room)
Ask the server who it is. This command should return version information on some of the critical classes used in the game server. Must have staff level 2 (MODERATOR) to use this command.
Syntax for use
#whoareyou
Examples
#whoareyou
words
- The command parameters (whitespace-delimited list)
provided after the # command nameu
- The user invoking the operator commandroom
- The room in which the user is standing (as a room
number). This can be -1 under certain circumstances.public static void op_zoom(String[] words, AbstractUser u, Room room)
words
- WRITEMEu
- WRITEMEroom
- WRITEMEprivate static void scottyZoneTeleport(AbstractUser u, String greenBabesHouse)
u
- who is goinggreenBabesHouse
- the Zone to which to go@Deprecated public static void sendAdminMessage(Room room, AbstractUser anybody, String string)
AbstractUser.acceptMessage(String, String, String)
instead.
User.acceptMessage(String, String, String)
for the
preferred version.
room
- The room in which the user is standinganybody
- The user to receive the administrative messagestring
- The administrative message to be sentprivate static void sendUserErrorMessage(AbstractUser u, String cmd, Throwable throwable)
u
- user invoking errorcmd
- commandthrowable
- exceptionprivate static void setvar_replace(String[] words, AbstractUser u, Room room)
words
- WRITEMEu
- WRITEMEroom
- WRITEMEprivate static void whereis_atRoom(AbstractUser u, Room room, String roomMoniker)
u
- the user issuing the requestroom
- the room in which the user is standingroomMoniker
- the moniker of the room for which the user
wants the list of usersprivate static void whereis_everyone(AbstractUser u, Room room)
u
- the user issuing the requestroom
- the room in which that user is standingpublic static void z$z(AbstractUser u)
u
- user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |