Added silent commands & other stuff (see below)

1. Removed old code.
2. Added silent command prefix & supporting code
3. Region ban & spawnmob support silence
This commit is contained in:
Lucas Nicodemus 2015-02-24 20:55:59 -07:00
parent 7649718530
commit f2b2da90d7
3 changed files with 70 additions and 18 deletions

View file

@ -367,8 +367,11 @@ namespace TShockAPI
[Description("Allows anyone to break grass, pots, etc.")]
public bool AllowCutTilesAndBreakables = false;
[Description("Specifies which string starts a command")]
[Description("Specifies which string starts a command.")]
public string CommandSpecifier = "/";
[Description("Specifies which string starts a command silently.")]
public string CommandSilentSpecifier = ".";
[Description("Kicks a hardcore player on death.")]
public bool KickOnHardcoreDeath;