Stendhal:Administration

来自gamedev
跳转到导航 跳转到搜索


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



See also[编辑]