LuckPerms
Integrating LuckPerms with two new custom contexts:
wgex:context-helper: A context that works alongside thecontext-helperWG string flag, allowing you to specify additional region information (also works with PAPI%wgex_context_helper%).wgex:in-region- A context that simply marks whether a player is currently inside any non-__global__region
E.g. if you want to disallow
/tpcommand on a PvP arena, addcontext-helperflag withdeny-tpvalue, and negate the permission using contextwgex:context-helper=deny-tp
Restrict Commands
Refactored and optimized restrict commands feature functionality. Added two new options under the restrictcommands config section:
aliased-search: Match commands by their aliases, e.g.tpalso matchesteleport; defaulttrue.prefixed-search: Match commands that are a prefix of the input, split by spaces, e.g.home bedmatcheshome bed here; defaulttrue.
Full Changelog: v3.4.0...v3.5.0