From e7853c292476b6d2e76c00d77638ae155d097493 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Mon, 10 Sep 2007 10:08:30 +0000 Subject: Added first draft of admin/gm commands reference. --- ChangeLog | 1 + docs/commands.txt | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 docs/commands.txt diff --git a/ChangeLog b/ChangeLog index ad9531e9..24ef21e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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 // 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 parameter can be replaced by the special character '#' to +execute the command on the local player. The parameter can be replaced by +the special character '#' to denote the map the admin player is on. + + +* warp // Warps a characters + - name: the character to be warped + - map: the destination map + - x: the destination x coordinate + - y: the destination y coordinate + +* item // 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 // Drops an item + - id: the id of the item to be created + - quantity: the amount of items to be created + +* money // 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 // Spawns monsters on the current map + - id: the id of the monster to be spawned + - quantity: the amount of monsters to spawn + +* goto // Warps to a specifyed character + - name: the destination character + +* recall // Warps a character to the location of the admin player + - name: the destination character + +* ban // 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. -- cgit v1.2.3-70-g09d2