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
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue