Skip to content

v3.5.0 - LuckPerms integration and Restrict Commands rework

Latest

Choose a tag to compare

@imDaniX imDaniX released this 06 Jun 00:32
v3.5.0
df46cb9

Download on Modrinth

LuckPerms

Integrating LuckPerms with two new custom contexts:

  • wgex:context-helper: A context that works alongside the context-helper WG 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 /tp command on a PvP arena, add context-helper flag with deny-tp value, and negate the permission using context wgex: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. tp also matches teleport; default true.
  • prefixed-search: Match commands that are a prefix of the input, split by spaces, e.g. home bed matches home bed here; default true.

Full Changelog: v3.4.0...v3.5.0