1.2
Compatibility
Changes
π Changelog v1.2
π Granular Permissions & Security Update
This update introduces a highly requested feature: Granular Permissions. Server administrators can now fine-tune exactly which commands players or moderators can access.
- Granular Control: You no longer need to give full access to the
/sh toggleor/sh setcommands. You can now grant permission for specific sub-commands only.- Example: Give a moderator permission to toggle
healthsync, but deny them permission to changemaxhealthorhungermult.
- Example: Give a moderator permission to toggle
- Smart Tab Completion: The auto-completion system has been updated. Players will only see suggestions for commands they actually have permission to use. If they don't have
sharedhealth.respawn, they won't see it in the list. - Wildcard Support: Added support for wildcard permissions (e.g.,
sharedhealth.toggle.*grants access to all toggle options).
π New Permission Nodes:
- Toggle Options:
sharedhealth.toggle.healthsharedhealth.toggle.foodsharedhealth.toggle.effectssharedhealth.toggle.actionbarsharedhealth.toggle.attackerfeeldamagesharedhealth.toggle.respawnsharedhealth.toggle.*(All of the above)
- Set Values:
sharedhealth.set.maxhealthsharedhealth.set.hungermultsharedhealth.set.*(All of the above)
- Admin (Full Access):
sharedhealth.*
Short summary for version description: Implemented granular permissions for all sub-commands and smart tab completion filtering.
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:vDKpoS6C:1bo2VhUv"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:vDKpoS6C:1bo2VhUv"
}

