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:
Zack Piispanen 2014-03-02 19:49:59 -05:00
parent fee116c6df
commit 0f3156b4ac
3 changed files with 7 additions and 5 deletions

View file

@ -1042,7 +1042,7 @@ namespace TShockAPI
return;
}*/
if (args.Text.StartsWith("/") && args.Text.Length > 1)
if (args.Text.StartsWith(Config.CommandSpecifier) && args.Text.Length > 1)
{
try
{