Tags
Creators
Details
1.0.1
Compatibility
Changes
- Config Support Added
Added config.yml support for:
interval (default item interval)
excluded-materials (items to ignore)
bossbar.color and bossbar.style
✅ 2. data.yml Persistence System
Created a data.yml file to store receivedItems count across server restarts.
loadData() on enable.
saveData() on disable.
✅ 3. Boss Bar Toggle System
Added /randomitem togglebossbar command.
Players can now opt-out of seeing the boss bar.
Boss bars no longer show or update if player has it disabled.
✅ 4. Permissions Added
randomitems.admin required to run:
/randomitem start
/randomitem stop
/randomitem setinterval
Non-OPs are denied access to these admin commands.
✅ 5. Player Join Integration
Players who join while distribution is active automatically get the boss bar (after a short delay).
✅ 6. Dynamic Config Saving
When using /randomitem setinterval <seconds>, the value is saved back to config.yml.
✅ 7. Improved Safety in Config Parsing
✅ 8. Boss Bar Uses Configured Color and Style
Boss bar now uses bossBarColor and bossBarStyle from config.yml.
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:z1wp9Jdz:2CwCSa5G"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:z1wp9Jdz:2CwCSa5G"
}

