Stendhal:Administration: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara →Help: add note to jail part |
imported>Balaur m Mention extra parameter to DeepInspect and apply formatting |
||
| (210 intermediate revisions by 9 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. |
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'', ''/gmhelp script'' and ''/gmhelp support'' |
|||
;<code>/adminlevel [playername] <[newlevel]></code> |
;<code>/adminlevel [playername] <[newlevel]></code> |
||
:Displays or changes the adminlevel of ''playername''. Example |
:Displays or changes the adminlevel of ''playername''. Need [[Stendhal:Administration#Required_adminlevel|super]] access to change adminlevel. Example |
||
:<code>/adminlevel hendrik</code> |
:<code>/adminlevel hendrik</code> |
||
:<code>/adminlevel Athanas 200</code> |
:<code>/adminlevel Athanas 200</code> |
||
;<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> |
||
| ⚫ | |||
:Send a player directly to jail. To later release the player, before his time is up, use the <code>teleport</code> command. If the player goes offline and his sentence finishes while he is out, he will need to be teleported out manually. |
|||
;<code>/teleport [player] [zone] [x] [y]</code> |
;<code>/teleport [player] [zone] [x] [y]</code> |
||
| Line 26: | Line 42: | ||
:<code>/teleport JohnDoe 0_semos_city 20 20</code> |
:<code>/teleport JohnDoe 0_semos_city 20 20</code> |
||
;<code>/teleportto [player]</code> |
;<code>/teleportto [player|npc]</code> |
||
:Teleport yourself to the player. |
:Teleport yourself to the player or NPC. As usual, use quotes if the name has a space in. |
||
;<code>/ |
;<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> |
|||
| ⚫ | |||
: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 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> |
|||
| ⚫ | |||
:<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] [ |
;<code>/summonat [player] [slot] [amount] [item]</code> |
||
: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 sword</code> |
:<code>/summonat JohnDoe bag 1 sword</code> |
||
:<code>/summonat JohnDoe head |
:<code>/summonat JohnDoe head 1 studded helmet</code> |
||
:<code>/summonat JohnDoe bag 500 money</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). |
|||
: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> |
|||
: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 47: | Line 91: | ||
;<code>/ghostmode</code> |
;<code>/ghostmode</code> |
||
:Makes you |
:Makes you invisible to other players. You do not appear in /who and /where to other players. They cannot /msg you. To yourself, you look invisible. Also intangible so you can walk through players, creatures and collision blocks. ''Hint: If you like, perform'' set outfit ''in ghostmode so that you can be visible, but intangible. |
||
;<code>/inspect [player]</code> |
;<code>/inspect [player]</code> |
||
: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> |
|||
:Shows detailed info about the player. |
|||
;<code>/destroy [entity]</code> |
;<code>/destroy [entity]</code> |
||
:Destroy |
:Destroy completely an entity. Example: |
||
:Right click on monster and choose (*) Destroy |
:Right click on monster and choose (*) Destroy |
||
:This does not prevent monster respawning, which is handled separately. |
|||
;<code>delete [player]</code> |
|||
: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]] |
|||
== Required adminlevel == |
== Required adminlevel == |
||
| Line 61: | Line 114: | ||
! Command || Required Level |
! Command || Required Level |
||
|- |
|- |
||
| adminlevel || 0 |
| adminlevel ''player'' || 0 |
||
|- |
|- |
||
| supportanswer || 50 |
| supportanswer || 50 |
||
|- |
|- |
||
| support || 100 |
| support || 100 |
||
| ⚫ | |||
| delete || 100 |
|||
| ⚫ | |||
| gag || 200 |
|||
|- |
|- |
||
| tellall || 200 |
| tellall || 200 |
||
| Line 74: | Line 131: | ||
|- |
|- |
||
| jail || 400 |
| jail || 400 |
||
| ⚫ | |||
| teleclickmode || 500 |
|||
|- |
|- |
||
| invisible || 500 |
| invisible || 500 |
||
| Line 91: | Line 150: | ||
| script || 1000 |
| script || 1000 |
||
|- |
|- |
||
| |
| adminlevel ''player'' ''level'' || 5000 |
||
|} |
|} |
||
<br> |
|||
<br> |
<br> |
||
==See also== |
|||
== Suggested Jail times == |
|||
*[[Stendhal:GuideForAdmin|Guide for Admin]] |
|||
*[[Stendhal:Scripts_For_Admins|Scripts for Admin]] |
|||
{| border="1" |
|||
*[[HowToBeAGM|How to be a GM]] |
|||
! Problem || Minutes |
|||
| ⚫ | |||
| continual annoyance || 1 |
|||
| ⚫ | |||
| bad rude word || 3 |
|||
| ⚫ | |||
| attack player when you asked not them to || 5 |
|||
|- |
|||
| attack player in bank for no reason || 5 |
|||
|- |
|||
| lying about items gone missing || 5 |
|||
|- |
|||
| blocking portals || 10 |
|||
|- |
|||
| more severe offences || 20 |
|||
|- |
|||
| repeat offender || x2 or x3 above |
|||
|} |
|||