Merge pull request #2001 from moisterrific/patch-16
Add new perms and move more perms to trustedadmin
This commit is contained in:
commit
313213a068
1 changed files with 19 additions and 16 deletions
|
|
@ -76,7 +76,8 @@ namespace TShockAPI.DB
|
||||||
Permissions.summonboss,
|
Permissions.summonboss,
|
||||||
Permissions.whisper,
|
Permissions.whisper,
|
||||||
Permissions.wormhole,
|
Permissions.wormhole,
|
||||||
Permissions.canpaint));
|
Permissions.canpaint,
|
||||||
|
Permissions.pylon));
|
||||||
|
|
||||||
AddDefaultGroup("vip", "default",
|
AddDefaultGroup("vip", "default",
|
||||||
string.Join(",",
|
string.Join(",",
|
||||||
|
|
@ -123,7 +124,8 @@ namespace TShockAPI.DB
|
||||||
Permissions.tpnpc,
|
Permissions.tpnpc,
|
||||||
Permissions.tppos,
|
Permissions.tppos,
|
||||||
Permissions.tpsilent,
|
Permissions.tpsilent,
|
||||||
Permissions.userinfo));
|
Permissions.userinfo,
|
||||||
|
Permissions.spawn));
|
||||||
|
|
||||||
AddDefaultGroup("trustedadmin", "admin",
|
AddDefaultGroup("trustedadmin", "admin",
|
||||||
string.Join(",",
|
string.Join(",",
|
||||||
|
|
@ -155,7 +157,20 @@ namespace TShockAPI.DB
|
||||||
Permissions.invade,
|
Permissions.invade,
|
||||||
Permissions.startdd2,
|
Permissions.startdd2,
|
||||||
Permissions.uploaddata,
|
Permissions.uploaddata,
|
||||||
Permissions.uploadothersdata));
|
Permissions.uploadothersdata,
|
||||||
|
Permissions.journey_timefreeze,
|
||||||
|
Permissions.journey_timeset,
|
||||||
|
Permissions.journey_timespeed,
|
||||||
|
Permissions.journey_godmode,
|
||||||
|
Permissions.journey_windstrength,
|
||||||
|
Permissions.journey_windfreeze,
|
||||||
|
Permissions.journey_rainstrength,
|
||||||
|
Permissions.journey_rainfreeze,
|
||||||
|
Permissions.journey_placementrange,
|
||||||
|
Permissions.journey_setdifficulty,
|
||||||
|
Permissions.journey_biomespreadfreeze,
|
||||||
|
Permissions.journey_setspawnrate,
|
||||||
|
Permissions.journey_contributeresearch));
|
||||||
|
|
||||||
AddDefaultGroup("owner", "trustedadmin",
|
AddDefaultGroup("owner", "trustedadmin",
|
||||||
string.Join(",",
|
string.Join(",",
|
||||||
|
|
@ -174,19 +189,7 @@ namespace TShockAPI.DB
|
||||||
Permissions.settempgroup,
|
Permissions.settempgroup,
|
||||||
Permissions.spawnrate,
|
Permissions.spawnrate,
|
||||||
Permissions.tpoverride,
|
Permissions.tpoverride,
|
||||||
Permissions.createdumps,
|
Permissions.createdumps));
|
||||||
Permissions.journey_timefreeze,
|
|
||||||
Permissions.journey_timeset,
|
|
||||||
Permissions.journey_timespeed,
|
|
||||||
Permissions.journey_godmode,
|
|
||||||
Permissions.journey_windstrength,
|
|
||||||
Permissions.journey_windfreeze,
|
|
||||||
Permissions.journey_rainstrength,
|
|
||||||
Permissions.journey_rainfreeze,
|
|
||||||
Permissions.journey_placementrange,
|
|
||||||
Permissions.journey_setdifficulty,
|
|
||||||
Permissions.journey_biomespreadfreeze,
|
|
||||||
Permissions.journey_setspawnrate));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load Permissions from the DB
|
// Load Permissions from the DB
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue