Stendhal:Administration: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Tigertoes
imported>Kymara
add more details helpful for raids. correct /alter description which only considered /alter player.
Line 1: Line 1:
The person who runs the Stendhal server can make some of the users administrators. Administrators have special abilities that help them to make sure that everyone is playing fair. The abilities are also useful for developers who want to test their code without having to waste much time playing.
The person who runs the Stendhal server can make some of the users administrators. Administrators have special abilities that help them to make sure that everyone is playing fair. The abilities are also useful for developers who want to test their code without having to waste much time playing.


If you run a server, you can give players administrator rights by adding their names to the file <code>data/conf/admins.list</code>. The text file should contain one name per line. You need to add "." at the beginning of the classpath in marauroa.bat. Once you have an inital admin he can use /adminlevel to grant rights to other players.
If you run a server, you can give players administrator rights by adding their names to the file <code>data/conf/admins.list</code>. The text file should contain one name per line. You need to add "." at the beginning of the classpath in marauroa.bat. Once you have an initial admin he can use /adminlevel to grant rights to other players.


__FORCETOC__
__FORCETOC__
Line 17: Line 17:


;<code>/tellall [message]</code>
;<code>/tellall [message]</code>
:Writes a private message to all players. Example:
:Writes a private message to all players. Should only be used for administrative messages (not, e.g. to announce a raid.) Example:
:<code>/tellall The server will be shut down in 2 hours for a software update.</code>
:<code>/tellall The server will be shut down in 2 hours for a software update.</code>


Line 27: Line 27:
:Teleport yourself to the player or NPC. As usual, use quotes if the name has a space in.
:Teleport yourself to the player or NPC. As usual, use quotes if the name has a space in.


;<code>/alter [player] [attrib] [mode] [value]</code>
;<code>/alter [object] [attrib] [mode] [value]</code>
:Change by setting, adding or subtracting the stat of player. Examples:
:Change by setting, adding or subtracting the stats of a player, creature or item.
:Right click and (*) Alter any item on the ground or any creature to automatically fill in the /alter [object] part.
Examples:
:<code>/alter JohnDoe hp add 20</code> - heals JohnDoe by 20 points.
:<code>/alter JohnDoe hp add 20</code> - heals JohnDoe by 20 points.
:<code>/alter JohnDoe def_xp set 100000</code> - sets the def_xp points to 100000 which gives a high base def.
:<code>/alter JohnDoe def_xp set 100000</code> - sets the def_xp points to 100000 which gives a high base def.
:<code>/alter JohnDoe atk sub 1</code> - removes one attack strength point.
:<code>/alter JohnDoe atk sub 1</code> - removes one attack strength point.
::<i>Hint: as you didn't also change the</i> atk_xp, <i>this change will be reverted the next time JohnDoe gains an atk experience point. Remember this when setting</i> atk <i>and</i> def <i>- set the</i> atk_xp <i>and</i> def_xp <i>not the base levels.</i>
::<i>Hint: as you didn't also change the</i> atk_xp, <i>this change will be reverted the next time JohnDoe gains an atk experience point. Remember this when setting</i> atk <i>and</i> def <i>- set the</i> atk_xp <i>and</i> def_xp <i>not the base levels.</i>
:<code>/alter [itemid] bound set JohnDoe</code> - binds the item to the player JohnDoe.
:<code>/alter [creatureid] base_hp set 10000</code> - sets the creature's base_hp to a huge 10000. (Don't choose over 32000.) Now you should:
:<code>/alter [creatureid] hp set 10000</code> - so creature has full health again. You might want this for a very long living creature for a raid.


;<code>/summon [creature|item] [x] [y]</code>
;<code>/summon [creature|item] [x] [y]</code>
:Summon an item or creature at (x, y).
:Summon an item or creature at (x, y).
:If you leave out out the [x] [y] then it appears at your feet.


;<code>/summonat [player] [slot] [amount] [item]</code>
;<code>/summonat [player] [slot] [amount] [item]</code>
Line 56: Line 62:


;<code>/inspect [player]</code>
;<code>/inspect [player]</code>
:Shows detailed info about the player.
:Shows detailed info about the player - stats, quest slots, visited zones, killed creatures and players, armor, content of bag and bank chests.


;<code>/destroy [entity]</code>
;<code>/destroy [entity]</code>