Tags
Creators
Details
1.0.1
Compatibility
Changes
Per-Group Command Whitelists
You can now define a separate command whitelist for each group, with priorities and inheritance.
Added
- Command groups — give each rank its own whitelist instead of one shared list.
- Priority-based selection — players get the whitelist of the highest-priority group they belong to.
- Recursive inheritance via
subgroups— higher ranks automatically inherit everything from the groups below them, so you only grant a player their top rank. defaultgroup that applies to everyone with no permission required.
Example
command-groups:
default:
priority: 0
commands: [ help, spawn, msg ]
subgroups: []
admin:
priority: 100
commands: [ ban, mute, kick ]
subgroups: [ default ]
developer:
priority: 200
commands: [ timings, plugins ]
subgroups: [ admin ]
Grant commandwhitelist.group.developer and that player gets developer + admin + default commands automatically.
Notes
- Fully backward compatible — the old single
allowed-commandslist still works if you don't use groups. - Group sets are flattened on load, so there's no added runtime overhead. Cyclic
subgroupsare handled safely. - Assign groups with
commandwhitelist.group.<name>and apply changes live with/commandwhitelist reload.
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:YGWbh5Bv:YtLTVdwb"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:YGWbh5Bv:YtLTVdwb"
}
