Implement /su command & default group owner

/su elevates you to superadmin for 10 minutes.
Account creation instructions tell you to use the "owner" group.
If you fail to run a command but have the su permission, you're told
that you can override it.

Fixes #1505
This commit is contained in:
Lucas Nicodemus 2017-12-02 15:06:32 -07:00
parent 3a8aa7fa29
commit 0bbd128f13
3 changed files with 37 additions and 3 deletions

View file

@ -221,6 +221,9 @@ namespace TShockAPI
[Description("Meant for super admins only.")]
public static readonly string user = "tshock.superadmin.user";
[Description("Allows a user to elevate to superadmin for 10 minutes.")]
public static readonly string su = "tshock.su";
// tshock.tp nodes
[Description("User can teleport *everyone* to them.")]