Stendhal:Administration: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
add mention og
imported>Balaur
m Mention extra parameter to DeepInspect and apply formatting
 
(106 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Navigation for Stendhal Top|GMs}}
{{Navigation for Stendhal GMs}}


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>, which needs to be in your server directory. 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.
If you run a server, you can give players administrator rights by adding their names to the file <code>data/conf/admins.txt</code>, which is in your server directory. The text file should contain one name per line. Once you have an initial admin he can use /adminlevel to grant rights to other players.

If you want to help maintain the community feeling but not get involved with detailed investigations into problems, please see [[Stendhal Helper Role]].


__FORCETOC__
__FORCETOC__


== Help ==
== Help ==
;<code>/support [message]</code>
:All players and admin can use this command to ask for help (within limits). The message displays in orange on the chat log.

;<code>/supportanswer [playername] [message]</code>
:If a player has asked for support they should be answered with this, instead of private message. They should reply using /support. The messages are displayed in orange to the player and admin.

;<code>/supportanswer [playername] $shortcut</code>
:Shortcuts exist to help admin save time but still give a full and polite reply on the most common issues. They start with ''Hi, <playername>''. If you can't remember the shortcut name try
:<code>/supportanswer [yourname] $blah</code>
:which will tell you
::$blah is not a recognised shortcut. Did you mean $faq, $faqsocial, $faqpvp, $wiki, $knownbug, $bugstracker, $rules or $abuse?
:or try ''/gmhelp support''


;<code>/gmhelp</code>
;<code>/gmhelp</code>
:Shows an overview of the commands described here.
:Shows an overview of the commands described here.
:Also see ''/gmhelp_alter'' and ''/gmhelp_script''
:Also see ''/gmhelp alter'', ''/gmhelp script'' and ''/gmhelp support''


;<code>/adminlevel [playername] &lt;[newlevel]&gt;</code>
;<code>/adminlevel [playername] &lt;[newlevel]&gt;</code>
Line 26: Line 44:
;<code>/teleportto [player|npc]</code>
;<code>/teleportto [player|npc]</code>
: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>/teleclickmode</code>
:Toggles teleclickmode on and off. When active you can single click on minimap or game window to instantly teleport yourself around.


;<code>/alter [object] [attrib] [mode] [value]</code>
;<code>/alter [object] [attrib] [mode] [value]</code>
Line 46: Line 67:
:Summon an item at the slot of the given player. Examples:
:Summon an item at the slot of the given player. Examples:
:<code>/summonat JohnDoe bag 1 sword</code>
:<code>/summonat JohnDoe bag 1 sword</code>
:<code>/summonat JohnDoe head 1 studded_helmet</code>
:<code>/summonat JohnDoe head 1 studded helmet</code>
:<code>/summonat JohnDoe bag 500 money</code>
:<code>/summonat JohnDoe bag 500 money</code>


;<code>/jail [player] [minutes] [reason]</code>
;<code>/jail [player] [minutes] [reason]</code>
:Send a player directly to jail. The player will be automatically released after the specified number of minutes. To release an inmate earlier (e.g. because you found out he's innocent), use the <code>teleport</code> command. If the player is offline at the time his sentence finishes, he will be released on login (but not if the server is restarted).
:Send a player directly to jail. The player will be automatically released after the specified number of minutes. To release an inmate earlier (e.g. because you found out he's innocent), use the <code>teleport</code> command. If the player is offline at the time his sentence finishes, he will be released on login (but not if the server is restarted).
:To release a player, use a time of 0 minutes.

;<code>/jailreport [player]</code>
:Tells if a given player is in jail, and the reason, or if they are not in jail.
:Used without parameters it lists all Arrest Warrants (can be very long list)


;<code>/gag [player] [minutes] [reason]</code>
;<code>/gag [player] [minutes] [reason]</code>
:Gag a player from speaking out loud and using private messages, for the number of minutes specified.
:Gag a player from speaking out loud and using private messages, for the number of minutes specified. To remove a gag, use a time of 0 minutes.

;<code>/ban [character] [hours] [reason] </code>
:Bans the player from logging onto the game server or website for <hours> hours. Reason is visible to player.

;<code>/ban [character] -1 [reason] </code>
:Permanently bans the player from logging onto the game server or website. Reason is visible to player.


;<code>/invisible</code>
;<code>/invisible</code>
Line 62: Line 94:


;<code>/inspect [player]</code>
;<code>/inspect [player]</code>
:Shows detailed info about the player - stats, quest slots, visited zones, killed creatures and players, armor, content of bag and bank chests.
:Shows detailed info about the player - stats, quest slots, armor, content of bag and bank chests. Visited zones, killed creatures and players can be seen with <code>/script DeepInspect.class [character|username] [player]</code>


;<code>/destroy [entity]</code>
;<code>/destroy [entity]</code>
Line 69: Line 101:
:This does not prevent monster respawning, which is handled separately.
:This does not prevent monster respawning, which is handled separately.


;<code>/delete [player]</code>
;<code>delete [player]</code>
:Removes sign which player has rented from Gordon. (You must start conversation with Gordon first.)
:Removes sign which player has rented from Gordon. (You must start a conversation with Gordon first.)

;<code>/alterquest [player] [questslot] [value]</code>
:Update the quest slot for a player Without [value] it sets it to null (not started)


For /script, see [[Stendhal:Scripts_For_Admins]]
For /script, see [[Stendhal:Scripts_For_Admins]]
Line 79: Line 114:
! Command || Required Level
! Command || Required Level
|-
|-
| adminlevel || 0
| adminlevel ''player'' || 0
|-
|-
| supportanswer || 50
| supportanswer || 50
Line 86: Line 121:
|-
|-
| delete || 100
| delete || 100
|-
| gag || 200
|-
|-
| tellall || 200
| tellall || 200
Line 94: Line 131:
|-
|-
| jail || 400
| jail || 400
|-
| teleclickmode || 500
|-
|-
| invisible || 500
| invisible || 500
Line 111: Line 150:
| script || 1000
| script || 1000
|-
|-
| super || 5000
| adminlevel ''player'' ''level'' || 5000
|}
|}
<br>
<br>
<br>
<br>

==See also==
==See also==
*[[Stendhal:GuideForAdmin|Guide for Admin]]
*[[Stendhal:GuideForAdmin|Guide for Admin]]