Merge pull request #1312 from Simon311/general-devel

Add /accountinfo, fix offline bans exploit, fix #1309 more
This commit is contained in:
Rodrigo 2016-10-18 18:59:13 +01:00 committed by GitHub
commit 78a4185152
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>