Added config to allow the choice for what string starts a command, ie '/login' can become '.login'. Changing this from default will introduce inconsistencies with plugins and help text, you have been warned.
This commit is contained in:
parent
fee116c6df
commit
0f3156b4ac
3 changed files with 7 additions and 5 deletions
|
|
@ -281,7 +281,9 @@ namespace TShockAPI
|
|||
|
||||
[Description("Allows anyone to break grass, pots, etc.")] public bool AllowCutTilesAndBreakables = false;
|
||||
|
||||
/// <summary>
|
||||
[Description("Specifies which string starts a command")] public string CommandSpecifier = "/";
|
||||
|
||||
/// <summary>
|
||||
/// Reads a configuration file from a given path
|
||||
/// </summary>
|
||||
/// <param name="path">string path</param>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue