Add tile banning, because such whine, much desire (doge).

I am sure this will result in someone whining for wall banning as well, but that can wait another couple of months.
This commit is contained in:
Zack 2014-07-27 20:57:17 -04:00
parent eb8ffe5cfb
commit 7a8422de5c
6 changed files with 449 additions and 3 deletions

View file

@ -67,6 +67,9 @@ namespace TShockAPI
[Description("User can manage projectile bans.")]
public static readonly string manageprojectile = "tshock.admin.projectileban";
[Description("User can manage tile bans.")]
public static readonly string managetile = "tshock.admin.tileban";
[Description("User can manage groups.")]
public static readonly string managegroup = "tshock.admin.group";
@ -343,6 +346,9 @@ namespace TShockAPI
[Description("Player can use banned projectiles.")]
public static readonly string canusebannedprojectiles = "tshock.projectiles.usebanned";
[Description("Player can place banned tiles.")]
public static readonly string canusebannedtiles = "tshock.tiles.usebanned";
/// <summary>
/// Lists all commands associated with a given permission
/// </summary>