Add /accountinfo, fix offline bans exploit, fix #1309 more

This commit is contained in:
Simon 2016-10-18 09:50:10 +03:00
parent 68799d9d20
commit 186bb70186
3 changed files with 57 additions and 4 deletions

View file

@ -388,6 +388,12 @@ namespace TShockAPI
[Description("Player can place banned tiles.")]
public static readonly string canusebannedtiles = "tshock.tiles.usebanned";
[Description("Player can check if a username is registered and see its last login time.")]
public static readonly string checkaccountinfo = "tshock.accountinfo.check";
[Description("Player can see advanced information about any user account.")]
public static readonly string advaccountinfo = "tshock.accountinfo.details";
/// <summary>
/// Lists all commands associated with a given permission
/// </summary>