Added way to have an overridable group that is session based.
New command /sudo <player> <group> will override the player's group with the group specified.
This commit is contained in:
parent
9960526384
commit
0aedf2b108
4 changed files with 60 additions and 5 deletions
|
|
@ -175,7 +175,7 @@ namespace TShockAPI
|
|||
|
||||
[Description("User can use /spawn.")] public static readonly string spawn;
|
||||
|
||||
|
||||
[Description("User can elevate other users' groups temporarily.")] public static readonly string sudo;
|
||||
static Permissions()
|
||||
{
|
||||
foreach (var field in typeof (Permissions).GetFields())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue