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:
Zack Piispanen 2012-12-15 18:59:25 -05:00
parent 9960526384
commit 0aedf2b108
4 changed files with 60 additions and 5 deletions

View file

@ -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())