Tags
Creators
Details
6.1.0
Compatibility
Changes
Major additions & fixes
Folia Compatibility
- New
utils/SchedulerUtils.javafile: automatically detects at startup whether the server is running on Folia (RegionizedServer) or Paper/Spigot. - Exposes unified methods:
runAsync,runAsyncTimer,cancelAsyncTimer,runLater,runLaterForPlayer,runTimer,cancelTimer. - On Paper/Spigot → delegates to the classic
BukkitScheduler. - On Folia → delegates to
AsyncScheduler(async tasks) andGlobalRegionScheduler(sync tasks). GameManager: rotating animation and game cleaning useSchedulerUtils.runTimer/runLater. TypeBukkitTaskreplaced byObjectto be agnostic.DiscordWebhook: sending webhook viaSchedulerUtils.runAsync.UpdateChecker: update check viaSchedulerUtils.runAsync/runAsyncTimer/cancelAsyncTimer.- The plugin now works on Paper, Spigot and Folia without modification of the business logic.
Animation — head rotating to the winner
- The animation displayed a static head. The head now alternates between the creator and the opponent every 4 ticks (~0.2s) for 3 seconds, then freezes on the winner's head for 1 second before displaying the result.
Added updateAnimationFrame(Player, String) in GuiManager to change the header in real time in the open inventory.
openAnimationMenunow acceptscreatorNameandopponentNameas parameters.
Checking balance before creating/joining
A player without enough money could create or join a game without their balance being verified.
- Added
EconomyUtils.hasBalance()check inGuiListener(CREATE_GAME, JOIN_GAME) andCoinFlipCommand(create, join, private).
The balance is now debited at creation of the game (creator) and at join (opponent).
finishGameonly credits the winner the full amount (stake × multiplier) — no more double debit./cf cancelcorrectly reimburses the creator since the stake is already debited.- New message
commands.not-enough- moneyadded inmessages.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:JkR9vvuk:UyqPqCss"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:JkR9vvuk:UyqPqCss"
}

