Tags
Creators
Details
1.0.2
Compatibility
Changes
Updates and Improvements Command Handling Replaced onPlayerInteract with InventoryClickEvent for GUI interaction to fix GUI bugs. Added /civ claim and /civ unclaim commands for chunk claiming system. Added /civ ally <civilization> and /civ unally <civilization> commands for alliances. Added /civ chat command to toggle civilization chat visibility. Added /civ kick command with leader-only permission. Added /civ rename command with leader-only permission. Added /civ disband command with leader-only permission. Added /civ config reload command for configuration reload. Improved command permission checks and usage messages. Civilization Management Added member ranks: Leader and Member. Leader promotion and reassignment logic when leader leaves or is removed. Enforced max members per civilization. Updated player-civilization mappings on rename and disband. Added persistent storage of leader UUID. Added member list and leader display in GUI. Added alliance lists and invites stored persistently. Chunk Claiming Implemented chunk claiming per civilization with limit: 1 chunk per member. Prevented claiming chunks already claimed by other civilizations. Added unclaiming chunks. Stored claimed chunks persistently in config. Alliances and Diplomacy Implemented alliance invite system requiring mutual acceptance. Stored alliances and alliance invites persistently. Added commands to send and remove alliances. Alliance GUI accessible from civilization GUI (partial). Prevented friendly fire between allied civilizations. Friendly Fire Prevention Added event handler to prevent damage between members of the same civilization. Added event handler to prevent damage between allied civilizations. Sent messages to players when friendly fire is prevented. Configuration Improved configuration loading and saving for all new data structures. Added default spawn location configuration. Added max members per civilization configurable. Added saving/loading of claimed chunks, alliances, and alliance invites. Events Registered all necessary events: InventoryClickEvent, EntityDamageByEntityEvent, PlayerRespawnEvent. Teleported players to civilization spawn or default spawn on respawn. Handled GUI clicks properly to open member lists. Prevented item movement in GUI inventories. Miscellaneous Improved error handling and input validation. Added helpful messages and usage instructions. Improved code structure and readability. Added comments and documentation for clarity.
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:In9dQGUx:222mBZ7l"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:In9dQGUx:222mBZ7l"
}

