Added xmas hook such that when the server checks to see if it should do xmas related things, it will check all plugins first.
This commit is contained in:
parent
b9099757fb
commit
38ae8e9ce6
5 changed files with 50 additions and 0 deletions
|
|
@ -169,6 +169,8 @@ namespace TShockAPI
|
|||
[Description("User can use rest api calls.")]
|
||||
public static readonly string restapi;
|
||||
|
||||
[Description("User can force the server to Christmas mode.")] public static readonly string xmas;
|
||||
|
||||
static Permissions()
|
||||
{
|
||||
foreach (var field in typeof (Permissions).GetFields())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue