Tags
Creators
Details
6.0.1
Compatibility
Changes
CoinFlips — 6.0.1
Fixes
GUI does not open when accepting a coinflip
- The
startGamelogic did not open any GUI for players, it just sent messages in the chat after a delay.
The startGame method has been moved to GameManager and now opens the main menu for both players (creator and joiner) upon starting the game.
- Both players' inventories are automatically closed once the result is displayed.
The JOIN_GAME action in GuiListener did not call startGame after joining the game — fixed.
Cleaning parts on disconnection
PlayerListeneronly handled thePlayerJoinEventevent, without any processing on disconnection.- Added a
PlayerQuitEventhandler which:- Removes the player from GUI tracking (
GuiTracker)
- Removes the player from GUI tracking (
- Removes any pending challenges linked to the player
- Cancels the player's game if it is still in
WAITINGstate (games alreadyRUNNINGresolve normally)
- Cancels the player's game if it is still in
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:jMob32mH"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:JkR9vvuk:jMob32mH"
}

