Tags
Creators
Details
3.5.0
Compatibility
Required content
Changes
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 /tp command on a PvP arena, add
context-helperflag withdeny-tpvalue, and negate the permission usingwgex:context-helper=deny-tpcontext
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.
Optional dependencies
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:JFMgRt9t:R6ou1SOy"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:JFMgRt9t:R6ou1SOy"
}

