diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-09-10 10:08:30 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-09-10 10:08:30 +0000 |
commit | e7853c292476b6d2e76c00d77638ae155d097493 (patch) | |
tree | f936a3a649e7c09b49c81c4898b932c2d242208b | |
parent | 2ed7628fb900f14b03cbf2843d0e0d4f301d7484 (diff) | |
download | manaserv-e7853c292476b6d2e76c00d77638ae155d097493.tar.gz manaserv-e7853c292476b6d2e76c00d77638ae155d097493.tar.bz2 manaserv-e7853c292476b6d2e76c00d77638ae155d097493.tar.xz manaserv-e7853c292476b6d2e76c00d77638ae155d097493.zip |
Added first draft of admin/gm commands reference.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | docs/commands.txt | 67 |
2 files changed, 68 insertions, 0 deletions
@@ -5,6 +5,7 @@ * src/game-server/mapreader.cpp, src/game-server/spawnarea.cpp, src/game-server/spawnarea.hpp: Spawn rate and limit are now read from map files and really fixed size of spawn area. + * docs/commands.txt: Added first draft of admin/gm commands reference. 2007-08-31 Guillaume Melquiond <guillaume.melquiond@gmail.com> diff --git a/docs/commands.txt b/docs/commands.txt new file mode 100644 index 00000000..a9ae4962 --- /dev/null +++ b/docs/commands.txt @@ -0,0 +1,67 @@ +--------------------------- +THE MANA WORLD SERVER + +ADMIN/GM COMMANDS REFERENCE +--------------------------- + + +The following commands could be issued in the chat window using the syntax: + /admin command args + + +1. ADMIN COMMANDS +----------------- + + +They require the player to have an account level of 99 at least (AL_ADMIN). + + +* reload <db> // Reloads the specifyed database. + - db: could be "items" or "monsters" + + +2. GM COMMANDS +-------------- + + +They require the player to have an account level of 50 at least (AL_GM). +The <name> parameter can be replaced by the special character '#' to +execute the command on the local player. The <map> parameter can be replaced by +the special character '#' to denote the map the admin player is on. + + +* warp <name> <map> <x> <y> // Warps a characters + - name: the character to be warped + - map: the destination map + - x: the destination x coordinate + - y: the destination y coordinate + +* item <name> <id> <quantity> // Adds an item to inventory + - name: the destination character + - id: the id of the item to be created + - quantity: the amount of items to be created + +* drop <id> <quantity> // Drops an item + - id: the id of the item to be created + - quantity: the amount of items to be created + +* money <name> <quantity> // Changes the amount of money of a player + - name: the destination character + - quantity: the amount of money to be added (to remove money use negative + quantity) + +* spawn <id> <quantity> // Spawns monsters on the current map + - id: the id of the monster to be spawned + - quantity: the amount of monsters to spawn + +* goto <name> // Warps to a specifyed character + - name: the destination character + +* recall <name> // Warps a character to the location of the admin player + - name: the destination character + +* ban <name> <duration> // Bans a character + - name: the destination character + - duration: the amount of time the player will be banned. Can be + immediately followed by 'h' for hours and 'd' for days, minutes are assumed + otherwise. |