Tags
Creators
Details
Licensed GPL-3.0-only
Published 7 months ago
Updated 2 months ago
All versions
0.2
Alpha
PoliticsMod 0.22 months ago 113
Uploaded by
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
v0.2 - The Civilization Update
Infrastructure Blocks
- Tax Block: Generates +50$ per economic cycle. Up to 4 blocks per chunk. Income is routed to the city treasury (if the chunk belongs to a city) or the country treasury directly.
- Embassy: Links to a partner country via
/politicsmod embassy link <country>. While not at war, each active embassy grants +100$ per cycle. Right-click the block to inspect its current link status and income. Now backed by a full BlockEntity that persists the link across restarts. - Radar Tower: Scans a 5-chunk radius every ~5 seconds. When enemies (players from countries at war) are detected, a warning is pushed to all online members via the HUD overlay. Alert fades automatically after 5 seconds.
- Vault / Bank: Raises the country treasury cap by +10,000$ per vault placed. Right-click to inspect the vault's reserve and the current treasury limit. Now backed by a BlockEntity with its own reserve field — groundwork for future deposit mechanics.
Diplomacy System
- War: Costs 500$ to declare; 10-minute cooldown between declarations. Enemies may break blocks on border chunks during wartime.
- Alliance: Mutual PvP protection; allied players cannot damage each other.
- Peace: Requires both sides to accept via a proposal/accept flow.
- Surrender & Tribute: Losing country pays 20% of income per cycle to the victor. Tribute can be forgiven by the receiving country at any time.
- Territory Purchase: Countries can make buy offers on foreign chunks; the owner accepts or rejects in-place.
Economy System
Automated financial cycle runs every ~8 minutes:
- Tax Collection: Tax Block income collected and routed to city or country treasury.
- Federal Tax: Deducted from each city and forwarded to the national treasury.
- Territory Upkeep: -10$ per owned chunk charged each cycle.
- Tribute Payments: Processed automatically between countries at war.
- Embassy Bonuses: Applied per cycle (skipped if at war with the linked country).
- Balance Cap: Capped at 10,000$ + (vaults × 10,000$).
City & Governance Expansion
- Mayors: Leaders can appoint mayors per city via
/politicsmod city setmayor. Mayors manage their city's expansion from the city treasury. - City Treasuries: Each city maintains its own balance, fed by Tax Block income and drained by city chunk claims.
- Federal Tax Rate: Configurable 0–99% via
/politicsmod tax federal <rate>. At ≥ 80%, mayors unlock the right to secede. - City Secession: A mayor under oppressive taxation can found a fully independent state via
/politicsmod city secede, provided the city treasury holds ≥ 100$.
Territory & Player Protection
- Block Protection: Block breaking is protected per chunk — only Citizens, Mayors, and Leaders of the owning country may build. Exception: enemies may break blocks on border chunks during wartime.
- Container & Door Access: Interaction blocked for non-citizens on foreign territory at all times.
- Friendly Fire: Disabled between allied countries.
HUD & Client Improvements
- Radar HUD Alert: A new radar alert line added to the HUD overlay —
⚠ Radar: PlayerNameshown in red for 5 seconds after detection. Replaces the old action-bar message with a proper client-side payload (SyncRadarPayload). - ClientPoliticsData: Radar data now flows through
ClientPoliticsData, consistent with how country, city, and balance data is already handled.
Localization
- Added 5 languages: German, French, Spanish, Polish, Ukrainian
Commands Added
| Command | Description |
|---|---|
| /politicsmod claim [city] | Claim a single chunk (500$ country / 100$ city) |
| /politicsmod claim_radius <r> [city] | Claim a radius of chunks |
| /politicsmod invite / kick | Manage country members |
| /politicsmod setrole <player> <role> | Assign Mayor or Citizen |
| /politicsmod info | Full country financial summary |
| /politicsmod tax federal <0-99> | Set federal tax rate |
| /politicsmod tax info | Show city treasury breakdown |
| /politicsmod city setmayor / info / secede | City management |
| /politicsmod embassy link / unlink / info | Manage embassy links |
| /politicsmod diplomacy war / alliance / peace / surrender | Diplomacy actions |
| /politicsmod diplomacy tribute / cancel | Manage tribute obligations |
| /politicsmod territory offer / accept / reject / offers | Chunk trading |
| /politicsmod rename country <name> | Rename your country |
| /politicsmod pay <country> <amount> | Direct treasury transfer |
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:gFmbdJ1F:oy6yHxUN"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:gFmbdJ1F:oy6yHxUN"
}

