Consolidated a number of world event commands into one master command

`worldevent` is now the root for the following:
Meteor, fullmoon, bloodmoon, eclipse, invasions, sandstorm, rain.
Added a new set of permission nodes to represent world events: `tshock.world.events.*`
This commit is contained in:
Chris 2020-05-20 00:11:04 +09:30
parent a178b31333
commit 6ecdf8545f
2 changed files with 204 additions and 111 deletions

View file

@ -271,6 +271,16 @@ namespace TShockAPI
// tshock.world nodes
[Description("User can use the 'worldevent' command")]
public static readonly string manageevents = "tshock.world.events";
public static readonly string managebloodmoonevent = "tshock.world.events.bloodmoon";
public static readonly string managefullmoonevent = "tshock.world.events.fullmoon";
public static readonly string manageinvasionevent = "tshock.world.events.invasion";
public static readonly string managemeteorevent = "tshock.world.events.meteor";
public static readonly string manageeclipseevent = "tshock.world.events.eclipse";
public static readonly string managesandstormevent = "tshock.world.events.sandstorm";
public static readonly string managerainevent = "tshock.world.events.rain";
[Description("User can change expert state.")]
public static readonly string toggleexpert = "tshock.world.toggleexpert";