Don't Starve Together

Don't Starve Together

Moderator Commands
This topic has been locked
BarnyardOwl  [developer] 9 Aug, 2015 @ 11:44am
Permission System
There is now a configurable permissions system in the mod, as of update 1.3.0. It's rather specific about syntax, so be careful to follow the rules to the letter.

Here's the default permissions file as a reference:
admin: [Admin] all mod: [Moderator] kick ban drop reset teleport resetworld rollback rollbackday user: [User]

So what does this mean? Well, administrators have all permissions, moderators have a smaller set, and users have none.

The syntax goes like this:
your_rank_name: [Pretty name you want to appear in chat] some_permission some_other_permission next_rank: [another pretty name] ...

The rank name before the colon (:) is for use with /setrank and is used in ranks.txt. It cannot have spaces in it and should consist of lowercase letters only. The "pretty name" in brackets [] that appears after the colon is what appears in chat when you promote someone to that rank. It can have spaces and can contain basically any character.
Each permission must be on a separate line, and it will associate with the group name above it.

Any whitespaces (tabs, spaces, etc.) before or after lines will be stripped, along with newlines. So, that means this is also a valid permissions file:

admin: [Admin] all mod: [Moderator] kick ban drop reset teleport resetworld rollback rollbackday user: [User]

You can add any new rank you wish, so THIS is also a valid permissions file!
admin: [Admin] all srmod: [Senior Mod] kick ban drop reset teleport resetworld rollback rollbackday jrmod: [Junior Mod] kick ban user: [User]

The only two ranks you must keep are user and admin. So that means this is not a valid permissions file.
mod: [Moderator] kick ban drop reset teleport resetworld rollback rollbackday

That's it. Hopefully this was helpful. Have fun making your own ranks!
< >
Showing 1-1 of 1 comments
BarnyardOwl  [developer] 9 Aug, 2015 @ 11:54am 
Also, as a reference: Here's a lot of all the current permissions and what they do.

kick - Allows /kick
ban - Allows /ban
unban - Allows /unban
drop - Allows /drop
reset - Allows /reset
teleport - Allows /teleport
resetworld - Allows /resetworld
rollback - Allows /rollback
setrank - Allows /setrank
kill - Allows /kill
resurrect - Allows /resurrect
spawn - Allows /spawn
give - Allows /give
godmode - Allows /godmode
invisible - Allows /invisible
extinguish - Allows /extinguish and /ext
back - Allows /back
announce - Allows /announce
setportal - Allows /setportal

silent - Prevents commands from announcing who issued them.

all - Gives all current and future permissions
Last edited by BarnyardOwl; 24 Sep, 2015 @ 3:17pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50