Added code to convey idea before I write all of it out, also added default config files, everything is subject to change
This commit is contained in:
parent
d0fe76090d
commit
bb2e9559f0
10 changed files with 102 additions and 2 deletions
12
TShockAPI/config/groups.txt
Normal file
12
TShockAPI/config/groups.txt
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#Format
|
||||
#name parent permisson1 permission2 permissionN
|
||||
#if there is no parent, put null instead
|
||||
#groups inherit permissions from their parents
|
||||
#put a ! before a permission to negate it
|
||||
#currently avaliable permissions: kick ban ignorecheatdetection
|
||||
#Do not remove the group default
|
||||
#Do not name a group SuperAdmin, that is hard-coded into the code, it grants total permissions
|
||||
default null
|
||||
admin default kick ban
|
||||
trustedadmin admin ignorecheatdetection
|
||||
newadmin admin !ban
|
||||
4
TShockAPI/config/users.txt
Normal file
4
TShockAPI/config/users.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#format
|
||||
#ip group
|
||||
#see groups.txt for a list of groups
|
||||
127.0.0.1 superadmin
|
||||
Loading…
Add table
Add a link
Reference in a new issue