Added AdminChatPrefix configuration option.
Added AdminChatRGB configuration option. Tweaked how broadcast works, now clamps RGB values to prevent overflows. Added a new permission, "adminchat," that defines who is affected by the AdminChatPrefix and the new AdminChatRGB (which is a rgb color spectrum for the chat color of admin's text). Closes #72
This commit is contained in:
parent
49ca8fcd1a
commit
6411e71cee
4 changed files with 25 additions and 1 deletions
|
|
@ -41,5 +41,7 @@ namespace TShockAPI
|
|||
public bool RangeChecks = true;
|
||||
public bool SpamChecks = false;
|
||||
public bool DisableBuild = false;
|
||||
public float[] AdminChatRGB = {255, 0, 0};
|
||||
public string AdminChatPrefix = "(Admin) ";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue