Stendhal:Administration
跳至導覽
跳至搜尋
Template:Navigation for Stendhal GMs
運行Stendhal伺服器的人員可以讓一些用戶成為管理員。管理者通過使用特殊的權限或手段確保遊戲的公平性。這些功能對於希望不需要浪費大量時間來測試代碼的開發人員也很有用。
如果您運行了伺服器,您可以通過將玩家的名稱添加到data/conf/admins.txt
文件中來授予他們管理員權限,該文件在伺服器的文件目錄中。 該文本文件每行應包含一個名稱。 當您初始化了一名管理員,他可以通過使用 /adminlevel 來授予其他玩家權限。
如果您想幫助保持社區的感覺,但不想參與對問題的詳細調查,請參見 Stendhal Helper Role.
幫助[編輯]
/support [message]
- 所有玩家和管理員都可以使用此命令請求幫助(在限制範圍內)。 該消息在聊天日誌中顯示為橙色。
/supportanswer [playername] [message]
- 如果玩家請求幫助,他們應該用這個來回答,而不是用私人信息。他們應該用 /support 來回復。 消息以橙色顯示給玩家和管理員。
/supportanswer [playername] $shortcut
- 快捷方式可以幫助管理員節省時間,但仍然可以對最常見的問題給出完整且禮貌的答覆。 他們以 Hi, <playername> 開頭。 如果你記不起快捷方式的名字,試試
/supportanswer [yourname] $blah
- 它會顯示
- $blah is not a recognised shortcut. Did you mean $faq, $faqsocial, $faqpvp, $wiki, $knownbug, $bugstracker, $rules or $abuse?
- 或者嘗試 /gmhelp support
/gmhelp
- 顯示此處描述的命令的概述。
- 也可以使用 /gmhelp alter, /gmhelp script 或 /gmhelp support
/adminlevel [playername] <[newlevel]>
- 顯示或更改「playername」的管理員級別。 更改管理員級別需要 super 權限。 使用樣例:
/adminlevel hendrik
/adminlevel Athanas 200
/tellall [message]
- 向所有玩家發送私人消息。 應該僅被用於發送系統管理消息(不要隨意使用,例如宣布一次raid) 使用樣例:
/tellall The server will be shut down in 2 hours for a software update.
/teleport [player] [zone] [x] [y]
- 傳送玩家。 使用樣例:
/teleport JohnDoe 0_semos_city 20 20
/teleportto [player|npc]
- 將你自己傳送到某一玩家或NPC。 一般情況下,如果名字中有空格,就使用引號。
/teleclickmode
- 打開或關閉teleclickmode。 開啟後,你可以點擊小地圖或遊戲窗口立即傳送你自己。
/alter [object] [attrib] [mode] [value]
- 設置、增加或減少玩家、生物或物品的屬性值。
- Right click and (*) Alter any item on the ground or any creature to automatically fill in the /alter [object] part.
使用樣例:
/alter JohnDoe hp add 20
- 為JohnDoe回復20點生命值。/alter JohnDoe def_xp set 100000
- sets the def_xp points to 100000 which gives a high base def./alter JohnDoe atk sub 1
- removes one attack strength point.- Hint: as you didn't also change the atk_xp, this change will be reverted the next time JohnDoe gains an atk experience point. Remember this when setting atk and def - set the atk_xp and def_xp not the base levels.
/alter [itemid] bound set JohnDoe
- binds the item to the player JohnDoe./alter [creatureid] base_hp set 10000
- sets the creature's base_hp to a huge 10000. (Don't choose over 32000.) Now you should:/alter [creatureid] hp set 10000
- so creature has full health again. You might want this for a very long living creature for a raid.
/summon [creature|item] [x] [y]
- Summon an item or creature at (x, y).
- If you leave out out the [x] [y] then it appears at your feet.
/summonat [player] [slot] [amount] [item]
- Summon an item at the slot of the given player. Examples:
/summonat JohnDoe bag 1 sword
/summonat JohnDoe head 1 studded helmet
/summonat JohnDoe bag 500 money
/jail [player] [minutes] [reason]
- 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
teleport
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.
/jailreport [player]
- 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)
/gag [player] [minutes] [reason]
- 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.
/ban [character] [hours] [reason]
- Bans the player from logging onto the game server or website for <hours> hours. Reason is visible to player.
/ban [character] -1 [reason]
- Permanently bans the player from logging onto the game server or website. Reason is visible to player.
/invisible
- Makes yourself invisible for creatures, so they won't attack you.
/ghostmode
- 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.
/inspect [player]
- 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 /script DeepInspect.class player
/destroy [entity]
- Destroy completely an entity. Example:
- Right click on monster and choose (*) Destroy
- This does not prevent monster respawning, which is handled separately.
delete [player]
- Removes sign which player has rented from Gordon. (You must start a conversation with Gordon first.)
/alterquest [player] [questslot] [value]
- 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[編輯]
Command | Required Level |
---|---|
adminlevel player | 0 |
supportanswer | 50 |
support | 100 |
delete | 100 |
gag | 200 |
tellall | 200 |
teleportto | 300 |
teleport | 400 |
jail | 400 |
teleclickmode | 500 |
invisible | 500 |
ghostmode | 500 |
inspect | 600 |
destroy | 700 |
summon | 800 |
summonat | 800 |
alter | 900 |
script | 1000 |
adminlevel player level | 5000 |