From 2df23c53b74280912815e34a1b943ada8ad86c9b Mon Sep 17 00:00:00 2001 From: Chris <2648373+QuiCM@users.noreply.github.com> Date: Wed, 20 May 2020 00:39:24 +0930 Subject: [PATCH] Add annotations to new permissions --- TShockAPI/Permissions.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/TShockAPI/Permissions.cs b/TShockAPI/Permissions.cs index e0aca166..b08c122d 100644 --- a/TShockAPI/Permissions.cs +++ b/TShockAPI/Permissions.cs @@ -273,12 +273,26 @@ namespace TShockAPI [Description("User can use the 'worldevent' command")] public static readonly string manageevents = "tshock.world.events"; + + [Description("User can use the 'bloodmoon' subcommand of the 'worldevent' command")] public static readonly string managebloodmoonevent = "tshock.world.events.bloodmoon"; + + [Description("User can use the 'fullmoon' subcommand of the 'worldevent' command")] public static readonly string managefullmoonevent = "tshock.world.events.fullmoon"; + + [Description("User can use the 'invasion' subcommand of the 'worldevent' command")] public static readonly string manageinvasionevent = "tshock.world.events.invasion"; + + [Description("User can use the 'meteor' subcommand of the 'worldevent' command")] public static readonly string managemeteorevent = "tshock.world.events.meteor"; + + [Description("User can use the 'eclipse' subcommand of the 'worldevent' command")] public static readonly string manageeclipseevent = "tshock.world.events.eclipse"; + + [Description("User can use the 'sandstorm' subcommand of the 'worldevent' command")] public static readonly string managesandstormevent = "tshock.world.events.sandstorm"; + + [Description("User can use the 'rain' subcommand of the 'worldevent' command")] public static readonly string managerainevent = "tshock.world.events.rain"; [Description("User can change expert state.")]