rudedog
01-17-2007, 07:30 AM
BB posted this over at the official IW forums:
The admin tools for HoB:UO version 2.0 are now available . It only needs to be installed on the server. Please note that it only works with HoB:UO version 2.0.
Basic Usage
The HoB admin pak is accessed via the server console or an "rcon" console when in-game. This documentation will assume knowledge of either method of input.
The argument layout is as follows:
\rcon admincmd "<command> [<args>]"
Most commands take one or more arguments. For example:
\rcon admincmd "csay This is a test"
For commands that do not require arguments, simply put nothing. For example:
\rcon admincmd "pause"
Usage note: If you don't like surrounding the commands in quotes, you can preface the "admincmd" keyword with "set". For example:
set admincmd pause
Player Matching
Basic
In the simplest case, all you have to do to match a player is enter all or part of their name. For example, to match "-MM!!-2starr", you could enter "2starr", "-MM!!-2starr" or "MM". Matches are not case sensative, so "2STARR" would also match this player.
Multiple Matches
To prevent punishing the wrong person, commands will do nothing if a player string would have matched multiple players. For example, if in the above example "-MM!!-Upholder" was also on the server, "MM" would not do anything. However, if you wanted a command to match both players, simply surround the text in "< >". For example, "slap <MM>" would slap both players.
Special Strings
To allow easy matching of common sets of players, three keywords exist:
* <axis> - Matches all axis players
* <allies> - Matches all allied players
* <all> - Matches all players
Examples:
switchteam <all> (flip the teams)
slap <axis> (warn all axis players)
Commands
* csay - Make an announcement in the middle of the screen.
usage: csay <text>
example: csay This is a test
csay ^3This is printed in yellow
* cwarn - Like csay, but only prints the message in the middle of the screen of a particular player or set of players. Everyone will see a message in their console saying that the player(s) has been warned.
usage: cwarn <player> <text>
example: cwarn 2starr Don't spawn camp
cwarn <axis> ^3This is printed in yellow
* switchteam - Instantly switch the team of one or more players. This overrides autoassign restrictions (if applicable).
usage: switchteam <player>
example: switchteam 2starr
switchteam <all>
* pause/resume - Allows "pausing" a match. Everyone is killed and won't respawn until the match is resumed. Newly connected players also will not respawn until things are resumed.
usage: pause <player>
example: pause
resume
* timeout - Allows a mis-behaving player to be placed in "timeout" for a period of time. It's just like pause, but only affects the player(s) you specify.
usage: timeout <player> <seconds>
example: timeout 2starr 30
timeout <MM> 15
* slap - Allows you to give a little love tap to anyone who's misbehaving. A nice way to give a gentle warning before they incur your wrath.
usage: slap <player>
example: slap 2starr
slap <axis>
Chaining Commands
Multiple commands can be issued at the some time by separating the commands by a asterisk (*). For example:
\rcon admincmd "csay Die everyone!*slap 2starr*slap 2starr*slap Upholder*timeout <MM>"
This will print "Die everyone!" to the center of the screen, slap 2starr twice, slap Upholder and then put everyone with an "MM" tag in timeout
The admin tools for HoB:UO version 2.0 are now available . It only needs to be installed on the server. Please note that it only works with HoB:UO version 2.0.
Basic Usage
The HoB admin pak is accessed via the server console or an "rcon" console when in-game. This documentation will assume knowledge of either method of input.
The argument layout is as follows:
\rcon admincmd "<command> [<args>]"
Most commands take one or more arguments. For example:
\rcon admincmd "csay This is a test"
For commands that do not require arguments, simply put nothing. For example:
\rcon admincmd "pause"
Usage note: If you don't like surrounding the commands in quotes, you can preface the "admincmd" keyword with "set". For example:
set admincmd pause
Player Matching
Basic
In the simplest case, all you have to do to match a player is enter all or part of their name. For example, to match "-MM!!-2starr", you could enter "2starr", "-MM!!-2starr" or "MM". Matches are not case sensative, so "2STARR" would also match this player.
Multiple Matches
To prevent punishing the wrong person, commands will do nothing if a player string would have matched multiple players. For example, if in the above example "-MM!!-Upholder" was also on the server, "MM" would not do anything. However, if you wanted a command to match both players, simply surround the text in "< >". For example, "slap <MM>" would slap both players.
Special Strings
To allow easy matching of common sets of players, three keywords exist:
* <axis> - Matches all axis players
* <allies> - Matches all allied players
* <all> - Matches all players
Examples:
switchteam <all> (flip the teams)
slap <axis> (warn all axis players)
Commands
* csay - Make an announcement in the middle of the screen.
usage: csay <text>
example: csay This is a test
csay ^3This is printed in yellow
* cwarn - Like csay, but only prints the message in the middle of the screen of a particular player or set of players. Everyone will see a message in their console saying that the player(s) has been warned.
usage: cwarn <player> <text>
example: cwarn 2starr Don't spawn camp
cwarn <axis> ^3This is printed in yellow
* switchteam - Instantly switch the team of one or more players. This overrides autoassign restrictions (if applicable).
usage: switchteam <player>
example: switchteam 2starr
switchteam <all>
* pause/resume - Allows "pausing" a match. Everyone is killed and won't respawn until the match is resumed. Newly connected players also will not respawn until things are resumed.
usage: pause <player>
example: pause
resume
* timeout - Allows a mis-behaving player to be placed in "timeout" for a period of time. It's just like pause, but only affects the player(s) you specify.
usage: timeout <player> <seconds>
example: timeout 2starr 30
timeout <MM> 15
* slap - Allows you to give a little love tap to anyone who's misbehaving. A nice way to give a gentle warning before they incur your wrath.
usage: slap <player>
example: slap 2starr
slap <axis>
Chaining Commands
Multiple commands can be issued at the some time by separating the commands by a asterisk (*). For example:
\rcon admincmd "csay Die everyone!*slap 2starr*slap 2starr*slap Upholder*timeout <MM>"
This will print "Die everyone!" to the center of the screen, slap 2starr twice, slap Upholder and then put everyone with an "MM" tag in timeout