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:
Zack Piispanen 2012-11-10 22:43:39 -05:00
parent b9099757fb
commit 38ae8e9ce6
5 changed files with 50 additions and 0 deletions

View file

@ -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())