Split superadmin permission.
This commit is contained in:
parent
9c33980161
commit
0dfe99ca68
2 changed files with 10 additions and 5 deletions
|
|
@ -162,7 +162,7 @@ namespace TShockAPI
|
|||
add2(new Command(AuthToken, "auth") { AllowServer = false });
|
||||
add2(new Command(Permissions.canchangepassword, PasswordUser, "password") { AllowServer = false, DoLog = false });
|
||||
add2(new Command(Permissions.canregister, RegisterUser, "register") { AllowServer = false, DoLog = false });
|
||||
add2(new Command(Permissions.rootonly, ManageUsers, "user") { DoLog = false });
|
||||
add2(new Command(Permissions.user, ManageUsers, "user") { DoLog = false });
|
||||
add2(new Command(Permissions.canlogin, AttemptLogin, "login") { AllowServer = false, DoLog = false });
|
||||
add2(new Command(Permissions.buff, Buff, "buff") { AllowServer = false });
|
||||
add2(new Command(Permissions.worldspawn, SetSpawn, "setspawn") { AllowServer = false });
|
||||
|
|
@ -224,7 +224,7 @@ namespace TShockAPI
|
|||
add(Permissions.mute, Mute, "mute", "unmute");
|
||||
add(Permissions.logs, DisplayLogs, "displaylogs");
|
||||
add(Permissions.userinfo, GrabUserUserInfo, "userinfo", "ui");
|
||||
add(Permissions.rootonly, AuthVerify, "auth-verify");
|
||||
add(Permissions.authverify, AuthVerify, "auth-verify");
|
||||
add(Permissions.broadcast, Broadcast, "broadcast", "bc", "say");
|
||||
add(Permissions.whisper, Whisper, "whisper", "w", "tell");
|
||||
add(Permissions.whisper, Reply, "reply", "r");
|
||||
|
|
|
|||
|
|
@ -176,6 +176,14 @@ namespace TShockAPI
|
|||
[Description("User can start invasions (Goblin/Snow Legion) using items")]
|
||||
public static readonly string startinvasion = "tshock.npc.startinvasion";
|
||||
|
||||
// tshock.superadmin nodes
|
||||
|
||||
[Description("Meant for super admins only.")]
|
||||
public static readonly string authverify = "tshock.superadmin.authverify";
|
||||
|
||||
[Description("Meant for super admins only.")]
|
||||
public static readonly string user = "tshock.superadmin.user";
|
||||
|
||||
// tshock.tp nodes
|
||||
|
||||
[Description("User can teleport to others.")]
|
||||
|
|
@ -254,9 +262,6 @@ namespace TShockAPI
|
|||
[Description("User can slap others.")]
|
||||
public static readonly string slap = "tshock.slap";
|
||||
|
||||
[Description("Meant for super admins only.")]
|
||||
public static readonly string rootonly = "tshock.superadmin";
|
||||
|
||||
[Description("User can whisper to others.")]
|
||||
public static readonly string whisper = "tshock.whisper";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue