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:
parent
a178b31333
commit
6ecdf8545f
2 changed files with 204 additions and 111 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue