饥荒联机版

饥荒联机版

134 个评价
Moderator Commands [fork]
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
38.349 KB
2016 年 4 月 17 日 上午 5:04
2016 年 6 月 16 日 上午 11:26
4 项改动说明 ( 查看 )

订阅以下载
Moderator Commands [fork]

描述
A server mod that adds a moderator rank and various commands to Don't Starve Together.
This is a fork of BarnyardOwl's mod, since the mod needed fixes and they didn't seem to be online in a while.

Don't want to give a player admin, but don't want to leave the server open to griefers? Or maybe you just want a couple more commands for admins. Moderator commands will do either.

All names autocomplete and are case-insensitive, so if you need to kick "YoLoplayer6969," then /modkick yolo will work fine.
Additionally, names can be character names (e.g. wickerbottom) which will autocomplete to the nearest person using that character.

All commands are entered into chat/says/whispers and are distinguished from regular chat by starting with a slash ("/").
Pressing the slash key should open the chat and enter the slash as well, so you don't have to press extra Y/U to open the chat.
Command's parameters (if there are any) are separated by exactly one space.


Commands, admin only
/announce <msg> - Announce something at the top of players' screens.
/setrank <rank> <player> - Set the rank of a player. Use rank "user" to strip all permissions, and rank "mod" to set a player to moderator. You can't set admin rank to a player this way.
/freeze <player> (or /f) - Freeze a player and extinguishes around them (if you have extinguish permission). If they leave, their items drop.
/clear <player> - Remove all items from player's inventory (including equipped ones). Irreplaceable items (e.g. chester's eyebone) drop to the ground.
/kill <player> - Kill a player.
/resurrect <player> - Resurrect a player.
/teleporthere <player> (or /tphere, /grab, /pull) - Teleport the player to you.
/extinguish (or /ext) - Extinguish all fires on the screen (except controlled fires in firepits etc.).
/spawn <prefab> [<amount>] - Spawn a specific prefab next to you. Uses prefab code, not prefab name. For a list see e.g. http://dont-starve-game.wikia.com/wiki/Console/Prefab_List. If the amount is not specified it uses 1.
/give <prefab> [<amount>] - Give a specific prefab to your inventory, if possible. Uses prefab code, not prefab name. If the amount is not specified it uses 1.
/setportal - Set the world's portal and spawn (survival/endless only) to your current position.
/speed [<multiplier>] - Apply a speed multiplier to you (on top of others, such as character speed, cane and others); greater than 1 speeds you up, less than 1 slows you down, 1 (or nothing) resets to default.
/godmode - Toggle your invincibility.


Commands, moderator and admin
/drop <player> - Drop all items from the player's inventory to the ground.
/modkick <player> (or mkick) - Drops all of player's items (if you have drop permission as well), then kicks them.
/modban <player> (or mban) - Drops all of player's items (if you have drop permission as well), then bans them.
/unban <player> - Unbans a player banned with the /modban command.
/reset <player> - Drops all of player's items, then puts them on the character selection screen.
/teleport <player> (or /tp) - Teleport to a player.
/portal - Teleport to the portal (if there is one).
/back - Teleport back to where you were (before /portal or /teleport).
/invisible - Toggle your invisibility.
/resetworld - Restarts the world.
/modrollback (or mrollback) - Roll the world back to the most recent save.
/modrollback <number of saves> (or mrollback) - Roll the world back x saves.


Commands, anyone
/rank - Tells you what rank you are.
/listmods - Tells you what mods and/or admins are online.


Additionally, you can modify the ranks directly in Your_DST_Installation/data/ranks.txt.
You can change the permissions & ranks in Your_DST_Installation/data/permissions.txt.
You can find more information on permissions here.

Admins are not added in ranks.txt, they are handled by the game itself by editing adminlist.txt (see your client_log or server_log for location from where it is being tried to load; for hosted worlds without caves under Windows it's usually Documents\Klei\DoNotStarveTogether\client_save\adminlist.txt; you'll have to create it if there isn't one).


Known issues / Notes
I have no plans making an UI for spawning/giving items visually. See Too Many Items mod for that.


To do
Improve logging.
Improve responses to the player.
Internal rework of commands so it's easier to add & execute them.
Allow toggling godmode for other players.
Add /commands command - lists all available commands for you.
Add /giverecipes//creative command.
Add /teleportpaccept and /teleportpdeny - allowing and denying permission based teleporting commands (see below).
Add /teleportp and /teleportphere - teleporting to a player/teleporting a player to you, based on target player's permission, ignoring ranks.
Add /warpset and /warp commands - setting up and teleporting to designated places.
UI for setting & managing ranks.
UI for executing commands.
Make permissions more inter-shard friendly.
热门讨论 查看全部(3)
9
2022 年 10 月 8 日 上午 8:47
Bug reports
Muche
4
2017 年 9 月 12 日 上午 1:08
Feature requests
Muche
3
2016 年 10 月 5 日 上午 1:06
Permission system
Muche
127 条留言
Gui 2022 年 8 月 15 日 下午 4:17 
This was a really good mod, its a shame noone has continued its development
Eminito Nameless 2022 年 3 月 18 日 下午 5:24 
not that it's imposssible. just unlikely.
Eminito Nameless 2022 年 3 月 18 日 下午 5:23 
this hasn't got an update in years

(Updated Jun 16, 2016 @ 11:26am)

it probably won't be updated,
Pinkamena11FazPony 2021 年 10 月 22 日 下午 4:58 
Please add /max creative Commands is no longer being updated!
клитор паркер 2019 年 12 月 24 日 上午 5:44 
Hello, I'm speak Russia. Please, listen me.
Можно ли пожалуйста добавить такую команду, как roll? То есть, можно будет написать в чате
/roll100 и будут падать числа от 0 до 100. Такая команда будет полезна в РП серверах, добавьте пожалуйста
glutendog 2018 年 8 月 10 日 下午 1:43 
It crashes anytime theres a slash in the sentence
Sharkloaf 2018 年 7 月 14 日 下午 1:31 
I would honestly pay someone to fork this tbh
StachePanda 2018 年 7 月 9 日 下午 7:46 
pls fix this mod?
Katomou Burnt Salad 2018 年 4 月 27 日 下午 4:40 
how do you make sombody a admin?
xenocythe 2018 年 2 月 4 日 上午 5:37 
The mod crashes whenever a command is used. Can someone update/fork this? :dstools: