Repository navigation
Releases
v0.5.1 — Events & Decisions
v0.5.1 — Events & Decisions
📜 Events
- 42 events: harvests and droughts, storms, treasure, merchant caravans, corruption scandals, petitioners at the gates, plague, bandits, a comet, fires and tax revolts in cities, villager markets, foreign envoys, spies, war weariness, border disputes and more.
- Each event has two or three answers. Hover an answer to see what it does. The leader answers on the new Decisions tab or by clicking a choice in chat (
/politicsmod event). While the leader is offline, a mayor may answer. - An unanswered event resolves on its own after a while, with its default answer. Events come only while someone from the country is online, at most two wait at a time, and at least 30 minutes pass between two.
- City events happen in one city: a fire, a revolt, an anniversary, a mayor asking for more.
- Nobody misses an event. When one comes, every online member sees a toast with a bell and a line in chat. While it waits, the HUD shows "★ An event waits for your answer". For whoever can answer, the line pulses. The Decisions tab carries a gold count. Members who were offline get a reminder when they join.
👑 Decisions and Ranks
- Decisions the leader takes when the country is ready: move the capital, proclaim a kingdom and later an empire, found a trading company, hold a national festival, start public works or grant a charter to a city. Each one lists its requirements with ✔/✘ and what it does.
- Rank: principality → kingdom → empire. Each step brings +5% tax income and +10% embassy income.
🎯 Goals
- 11 goals: three cities, five citizens, a living town of villagers, a stable realm, developed land, vast lands, a network of embassies, five allies, paying off debts, a full treasury, a crown. Each has a reward and a progress bar.
🧑🌾 Villagers as Citizens
- Vanilla villagers living inside a city become its citizens. They are on the Citizens tab (switch to Villagers) with name, profession and city. They count in the population and pay a little tax to their city (
villagerTaxPerCycle). - Villager mayors: in a mayor election of a city with at least three villagers, one of them runs with a program: Taxes, Order or Building. Players vote. An elected villager governs by the program: more tax, less unrest, or buying development from the city treasury by itself. They stay until the next election or until they leave the city.
📊 HUD
- A new look for the corner panel: a dark card in the style of the country menu. It shows the flag and the name of the land in the colour of your relation to it: yours green, allies blue, enemies red, neutral white, wilderness grey. Below are the city, the plot, the treasury and your wallet, each with a small item icon instead of a label, and thousands separated.
- The country info in the corner hides with F1 and while the F3 screen is open.
- H (or
/politicsmod hud) opens the panel settings; the panel behind the window changes as you click. The choices are saved per player:- when it shows: always, only on country land, only on entering, or off;
- look: card, one line, or text only;
- size: 75–150%;
- position: top left, top centre, top right, middle left, middle right or bottom right.
- Entering a country or a city shows its name big in the middle of the screen for a moment.
🗂️ Datapacks
- Events, decisions and goals are JSON files in datapacks. Servers can add their own, change the built-in ones or switch them off. The format is in DATAPACKS.md. Operators can start an event with
/politicsmod event fire <id> <country>. - Events, decisions and goals are translated into all 20 languages, as is the interface.
⚙️ For Server Owners
- New config:
statecraftEnabled,eventMinGapCycles,eventTimeoutCycles,maxPendingEvents,eventsNeedOnlineMember,eventFrequencyPercent,villagerCitizensEnabled,villagerTaxPerCycle,villagerCandidates,villagerCandidateMinVillagers. New permission nodes:statecraft,hud. - Votes now take the whole rest of the line, so candidates with spaces in their names can be voted for:
/politicsmod election vote <name>. - Worlds from 0.5 load as they are; countries start as principalities with no events behind them.
v0.5 — The Realm
v0.5 — The Realm
Until now a country had money and land. Now it also has a state, as in the grand strategy games of Paradox: how stable it is, how much its citizens accept the leader and how much the world respects it. Every decision changes that state, and every number in the menu tells you why it is what it is.
⚖️ Stability, Legitimacy, Prestige
- Stability (−3…+3). Every economy cycle peace, having no debts, a recognised ruler and good diplomatic ties push it up; war, bankruptcy, too much new land, a high federal tax and restless cities pull it down. Events give a one-off push: a lost war, a changed law, a city breaking away, going bankrupt. Each level changes tax income by 5%. At −3 the country falls apart: mayors may secede whatever the tax.
- Restore order. The leader can spend treasury money for a push toward the next level (
/politicsmod realm stabilizeor the + button on the Overview tab). It is cheapest in a crisis and has a cooldown. - Legitimacy (0–100) grows with time in power and follows the share of the vote at leader elections. A petition against the leader, bankruptcy and disorder erode it. A recognised ruler (80+) brings more tax; a doubted one (below 30) less tax, more unrest and falling stability.
- Prestige (−100…100) comes from won sieges and wars, new cities and annexed villages, and is lost with defeats and secessions. It fades slowly. Prestige raises embassy income and lowers the price of land.
/politicsmod realmshows it all in chat, with the reasons on hover.
🏙️ Cities as Provinces
- Development. A city's development grows with the money invested in it (Map tab, or
/politicsmod city develop <city>: the leader pays from the national treasury, the city's mayor from the city treasury) and with its tax blocks (one level per two blocks, up to 5). Each level adds 3% to the tax of the city's blocks and lowers its unrest. - Unrest (0–100) of each city comes from the federal tax, stability, new land inside the city, war, a siege, bankruptcy and a doubted ruler; development and martial law calm it. Above 50 the city's tax blocks bring less; at 75 its mayor may secede whatever the tax, and the news reports the city is close to revolt.
🗺️ Cores
- Newly claimed land is not a core at first: its tax blocks bring half (
nonCoreTaxPercent) and it adds unrest. After 80 cycles (4 hours of server time,coreCycles) it becomes a core. The founding area is a core from the start. - A lot of non-core land at once lowers stability: expand, then let the land settle.
- Land lost while it was a core stays remembered as a lost core; taking it back makes it a core at once. (Wars over lost cores come in 0.8.) A seceding city keeps its cores as its homeland.
- Worlds from 0.4 keep all their land as cores.
📊 Modifiers and Explanations
- Every bonus and penalty — laws, stability, legitimacy, prestige, events — is a modifier with a source. Tax income, embassy income, upkeep, land price and siege time are all counted through them.
- Hover the tax, embassy or upkeep line on the Economy tab, the stability, legitimacy or prestige card, or a city on the Overview tab to see every part of the number.
- Operators can add timed modifiers for server events:
/politicsmod modifier add <type> <percent> <minutes> "<name>" <country>,list <country>,remove <id> <country>.
🧭 The Dashboard
- Overview: stability, legitimacy and prestige cards with their trend; each city shows its development and unrest.
- Map modes: relations, countries, income, stability, unrest, cores (with lost cores) and settlements. The hover card shows what the mode says about the chunk. The Map tab also has a button to develop the selected city.
- New Ledger tab: every country side by side (land, citizens, development, stability, prestige), sortable; and a graph of the last in-game days for your country and one you pick: land, citizens, development, stability, legitimacy, prestige, and for your own country the treasury and daily income. One point is added every dawn (
ledgerHistoryDays). - Alerts: icons in the dashboard header for what needs attention — debt, a treasury running out, a siege, falling stability, too much non-core land, restless cities, an election to vote in, a petition, waiting proposals and loan offers. Hover for details, click to open the right tab.
- The daily report at dawn now also shows stability, legitimacy and prestige.
- Two new pages in the guide book.
🌍 Four New Languages
- Czech, Swedish, Vietnamese and Indonesian. PoliticsMod now speaks 20 languages.
🎨 New Block Textures
- Every block of the mod is redrawn at the vanilla scale of 16 pixels per block, so it sits naturally next to Minecraft blocks: a steel vault with a round brass door, a marble tax pillar with gold and a coin slot, a market stall with a striped awning and crates of goods, a half-timbered house with windows, flower boxes and a tiled roof, a table with a parchment city map, an embassy banner with a gold emblem, a white flagpole, a radar with a blinking beacon, and a founding stone with glowing runes.
- The founding stone no longer shimmers, and its rings no longer pass through each other or through the core: the inner ring now turns around the vertical axis and the core is a little smaller. The other models are unchanged.
⚙️ For Server Owners
- The whole layer can be switched off with
realmEnabled: false: the economy then works as in 0.4 (laws and operator modifiers still apply). - New config keys:
realmEnabled,startingStability,stabilityTaxPercent,stabilityProgressPerLevel,stabilizeBaseCost,stabilizeProgress,stabilizeCooldownMinutes,coreCycles,nonCoreTaxPercent,developmentCost,maxDevelopment,developmentTaxPercent,unrestSecedeThreshold,prestigeDecayPerMille,ledgerHistoryDays. - New permission node
politicsmod.command.realm;/politicsmod modifierneedspoliticsmod.command.admin. - World data format 4 (cores, cycle count, ledger history); 0.4 worlds open without changes.
v0.4.1
v0.4.1 — Balance & Settlements
A new country no longer goes broke in half an hour, and a large one no longer hits the treasury limit in two cycles. Land now costs more the bigger the country is, and colonies and villages of two popular mods become part of it.
⏱️ Shorter Cycle, Daily Report
- The economy cycle is 3 minutes instead of 8⅓, so a new tax block pays off almost at once.
- No more chat message after every cycle, and no salary message every 3 minutes. Instead, at dawn every citizen gets one report for the past day: income, expenses, net and the treasury, with a breakdown by source on hover (ⓘ). Leaders also see unpaid salaries and money lost to a full treasury; players see their salary and plot rent for the day.
- Turn the report off with
economyDailyReport. Without the daylight cycle a report comes every 20 minutes of play. - Amounts per cycle are smaller to match, so the economy per hour stays the same. Loans may now last up to 140 cycles (7 hours, as before), and wallets keep the last 50 operations instead of 20.
⚖️ Economy Balance
| 0.4 | 0.4.1 | |
|---|---|---|
| Economy cycle | 8⅓ min | 3 min |
| Treasury of a new country | 1 000$ | 2 500$ (startingTreasury) |
| Upkeep per chunk | 10$ per cycle (72$/h) | 2$ per cycle (40$/h); the first 9 chunks (the capital's core) are free |
| Upkeep of the 25 founding chunks | 1 800$/h | 640$/h |
| Income per tax block | 50$ per cycle (360$/h) | 16$ per cycle (320$/h) |
| Tax blocks per chunk | 4 | 2 |
| Embassy | 100$ per cycle (720$/h) | 40$ per cycle (800$/h) |
- A starting country now breaks even with two tax blocks instead of five, and has about four hours instead of half an hour to set them up.
- The ceiling on income is lower: a fully taxed chunk brings 640$ instead of 1 440$ per hour, so the treasury limit is no longer reached right after founding.
🗺️ Cost of New Territory
- The price grows with the country. A chunk costs 300$ while the country has up to 25 chunks; each chunk above that makes the next one 2% dearer, up to 5 000$. That is 450$ at 50 chunks, 750$ at 100 and 1 350$ at 200.
- Outposts cost ×3. A chunk that does not touch the country's land costs three times more.
- The Map tab shows what the selected chunks will cost before buying, including outposts. Connected chunks are bought in an order that touches the country, so a selection next to the border never counts as outposts.
- A mayor who adds a chunk to their own city from the Map tab now pays from the city treasury, like with
/politicsmod claim <city>; before, the nation paid. - New config keys:
startingTreasury,chunkPriceGrowthPercent,chunkPriceGrowthStart,maxChunkPrice,outpostPriceMultiplier,upkeepFreeChunks. - Existing servers: values still at the 0.4 defaults are replaced with the new ones on the first start; values you changed yourself stay as they are. A server with its own cycle length keeps its own amounts per cycle.
🏘️ MineColonies and Millénaire (NeoForge)
Both mods are optional and work for Minecraft 1.21.1 on NeoForge (MineColonies 1.1, Millénaire 9 — tested with 9.0.2). Colonies and villages become part of political life instead of standing beside it.
- New Settlements tab in the country dashboard (shown when either mod is on the server): every colony and village of the country with its population, happiness or reputation, tax and location, plus the villages it may annex. They are also marked on the Map tab.
/politicsmod settlementlists them in chat. - Colonies belong to their owner's country. A colony of a citizen pays 4$ per colonist every cycle (
colonyTaxPerCitizen), more when the colonists are happy: ×0.5 at happiness 0, ×1.5 at 10 (colonyTaxFollowsHappiness). - Colonies follow diplomacy. Citizens and allies get the Friend rank in a citizen's colony; players of a country at war with it get the Hostile rank, so the colony's guards attack them. When peace is made or a player leaves the country, PoliticsMod takes its ranks back; ranks the owner set by hand are never touched (
colonyRanksFollowDiplomacy). - Villages a citizen controls in Millénaire belong to the country and pay 2$ per villager every cycle (
villageTaxPerVillager). - Annex villages by reputation. When a citizen becomes a friend of the village (8 192 reputation) in a Millénaire village nobody controls, the leader can annex it from the Settlements tab or with
/politicsmod settlement annex <village>. It pays half the village tax as tribute (annexedVillageTributePercent). If no citizen keeps at least 1 024 reputation there, or a citizen becomes its public enemy, the village breaks away (villageAnnexReputation,villageKeepReputation). - Settlement land: land of the country's own colonies and villages is free for it to claim; land of other players' colonies and of villages the country neither controls nor annexed can't be claimed or founded on (
settlementsBlockClaims). - Taxes from settlements in a city go to the city treasury and are shared with the nation by the federal tax, like tax blocks. The Economy tab and the daily report show them as Colonies & villages.
- The news feed tells when a colony or village joins a country, is annexed, released or breaks away.
- Each integration can be switched off (
minecoloniesEnabled,millenaireEnabled). If a future version of either mod changes its API, the integration turns itself off with a warning in the log instead of crashing the server.
❤️ Support
- The first time you join a world or a server, a welcome tells where to start (the guide, the
Kmenu). Later joins show one line about supporting the mod and following its news on Ko-fi (click to open). Turn both off withshowSupportMessage.
🌍 Languages
Four New Languages
- Korean, Chinese (Traditional), Turkish and Dutch.
🐛 Bug Fixes
- Long guide pages were cut off at the bottom in most languages; a page that does not fit now continues on the next one.
v0.4 — Survival & Property
v0.4 — Survival & Property
Until now, money and land belonged only to countries. In 0.4 every player gets their own — and countries get real politics: elections, laws, sieges and debt.
🚀 New Features
New Country Dashboard (K)
- One style for every screen: a sidebar with seven tabs — Overview, Map, Citizens, Politics, Diplomacy, Economy and News. The Protection, Trade Warehouse, founding and Residential Building screens use the same look.
- Built for small windows: every label fits in all 12 languages down to 1366×768 at GUI scale 3; long descriptions wrap, and law descriptions show in full on hover.
- Overview: flag, capital, key numbers (treasury, citizens, territory, net per cycle), cities with mayors and treasuries, laws, election, wars and debt at a glance.
- Map: bigger map with zoom (mouse wheel), a legend, and colours for your land, your cities, allies, enemies and other countries. Hover a chunk to see its owner. The old "Unclaim (Wilderness)" button, which actually claimed land, is now correctly named "Claim for country".
Elections
- The leader calls an election for leader or for a city's mayor. Citizens run (
/politicsmod election run) and vote (/politicsmod election vote <name>) until the timer ends; the winner takes office. - A petition signed by half of the citizens starts a leader election by itself.
Laws
- Closed Borders: only citizens may enter (enemies at war still can).
- Martial Law: lower tax income, but sieges against the country take twice as long.
- Free Trade: more embassy income, and no market fee between free-trade countries.
/politicsmod law enact|repeal <law>or the Politics tab. Laws can't be changed too often.
Sieges
- Border chunks are no longer free to break during a war. Instead, start a siege in an enemy border chunk (
/politicsmod siege start, costs money). - Progress grows while more attackers than defenders stand in the chunk; hold it until the boss bar fills and the chunk is yours. With no attackers for a while, the siege fails.
- Attackers can break blocks only in the chunk they are besieging.
Debt and Loans
- Treasuries can go into debt (down to a configurable limit). A bankrupt country can't declare war or start sieges, and its mayors may secede whatever the tax.
- Allies lend each other money with interest:
/politicsmod loan offer <amount> <interest> <cycles> <country>, thenaccept,rejectorlist. Installments are paid every economy cycle.
News Feed
- Foundings, wars, peace, alliances, elections, laws, sieges, loans and bankruptcies are recorded.
/politicsmod newsor the News tab.
Flagpole
- A new block that flies the flag of the country owning the land, waving in the wind. It changes by itself when the land changes hands.
- A white enamel pole with an iron foot and a gold finial; its own inventory icon.
Borders in the World
- The tall pillars are gone. A border is now a thin line lying on the ground and following the terrain, with a soft coloured strip on the inner side.
- Your country is green, your city gold, allies blue, enemies at war red, other countries their own colour. City borders inside a country are fainter.
- Styles (
/politicsmod borders style): line on the ground (default), glowing fence that fades upwards, dashed line. Borders fade out with distance.
Maps
- Country borders on BlueMap and Dynmap web maps and on the JourneyMap minimap, when those mods are installed. Nothing extra is needed otherwise. (Xaero's maps have no public API.)
Personal Wallet
- Every player has a wallet:
/politicsmod walletshows the balance and history. - Send money to any player (even offline), donate to your country's treasury.
- The wallet is shown in the HUD.
Five New Languages
- Portuguese (Brazil), Portuguese (Portugal), Italian, Chinese (Simplified) and Japanese. PoliticsMod now speaks 12 languages.
Salaries & Income Tax
- Leaders pay salaries from the treasury every economy cycle (
/politicsmod salaryor the Citizens tab). - Income tax (10% by default) is taken from salaries and personal sales and goes back to the treasury. Leaders set the rate on the Economy tab.
- If the treasury runs dry, salaries are skipped and the leader is told how much is missing.
Plots
- Mayors turn city chunks into plots and sell or rent them to citizens (
/politicsmod plot). - Only the owner and players they trust can build or open containers on a plot — not even the leader.
- Owners can lock a plot so strangers can't walk in.
- Rent is charged every cycle; a tenant who can't pay loses the plot.
- The HUD shows who owns the plot you stand on, or its price.
Land Protection Flags
- Choose what is allowed on your land: PvP, explosions, mob explosions, fire spread, item pickup and entry of strangers.
- Set for the whole country or per city on the new Protection screen (Map tab) or with
/politicsmod flag. - Server defaults are in the config. Countries at war can always fight and enter each other's land.
Player Market
- The Trade Warehouse now has personal listings: sell your own items for your wallet, not only for the state.
- Buy with your wallet or the treasury. Trade inside a country and between allies has no fee.
Currency Exchange
- Turn items into money: right-click a Vault holding emeralds, or
/politicsmod wallet exchange. - The item and rate are configurable. Turning money back into items is off by default.
In-Game Guide
- A 16-page guide book in the player's own language. Given on first join, craftable (book + gold nugget), or
/politicsmod guide. - New
/politicsmod help.
🎮 Gameplay & Security
Full Survival Support
- All blocks can be crafted, drop when broken and need the right tool.
- Founding a country is expensive (gold blocks, diamonds, a bell); a city needs iron, gold and a bell.
Permissions
- LuckPerms support: every command group has a node
politicsmod.command.<group>(Fabric via fabric-permissions-api, bundled; NeoForge via PermissionAPI). - Server owners decide in the config what mayors and citizens may do (invite, kick, claim for cities, spend the treasury, manage plots and more).
Security Fixes
- Founding a country next to a neighbour no longer takes their land; the 5×5 area must be free.
- Founding a city only covers land the country already owns.
- Founding packets are checked on the server: you must stand at a real Founding or City Stone.
- Removed an unused packet that let any client add a city to any country.
- Citizens of one country can no longer found another.
- Territory protection is now bypassed only by operators. Creative players used to ignore it completely; the old behaviour can be restored in the config.
- Flag images must be http(s) links; clients download at most 2 MB with timeouts.
🐛 Bug Fixes
/politicsmod deleteand/politicsmod confirmfinally work (announced in 0.1, never registered)./politicsmod embassy unlinknow checks the player's role.- The HUD treasury line showed 0 to everyone except the leader.
- Country and city names are validated (2–24 characters).
- New claims were only shown to the player who claimed them until everyone relogged; now all players see border changes at once.
- Tax blocks now move with a chunk that is sold or captured.
- Countries in other dimensions: every dimension used to keep its own copy of the political data, so in the Nether or the End players had "no country" and could even found a second one. There is now one set of countries per server; land, protection, claims, plots and sieges exist only in the Overworld.
- Players inside a country when it closed its borders (or turned off entry for strangers) were teleported back and forth forever. They are now moved to the nearest land they may stand on.
- Any client could reconfigure any Residential Building on the server and make it load far-away chunks; the player now has to stand at the building and be allowed to use it.
- The HUD hid the treasury of a country in debt.
- The Founding Stone showed borders before the server accepted the country, even when founding failed. Names are checked while typing, and Enter confirms.
- Breaking a Founding Stone showed missing-texture particles.
- Votes of players who left the country during an election no longer count.
- Two neighbouring countries of the same colour had no border between them.
- Borders over water cut a hole in the water surface: the sea floor showed through behind the border strip and fence.
- Flags now also accept JPEG, GIF and BMP (not only PNG) and links to an image page, which are resolved to the picture itself. Big pictures are scaled down.
- Menus no longer blur the world (and the HUD) behind them.
⚠️ Important Notes
- Protection change: creative players are no longer exempt from territory protection. Set
creativeBypassesProtectiontotrueinconfig/politicsmod.jsonto restore the 0.3 behaviour. - War change: enemies can no longer break blocks in any border chunk during a war — only in a chunk they are besieging.
- Worlds from 0.3 load normally. Existing players receive the guide book once.
- Required dependencies are unchanged: Architectury API and GeckoLib, plus Fabric API on Fabric.
v0.3 - Fabric, Market & Management
Changelog
v0.3 — Fabric, Market & Management
🚀 New Features
Fabric Support
- PoliticsMod now runs on Fabric as well as NeoForge (Minecraft 1.21.1), built from a single codebase with Architectury.
Trade Warehouse — Inter-Country Market
- The Trade Warehouse has been completely reworked into a global market between nations.
- Selling: any citizen can list the item in their hand for a price. The item is held by the market until it's sold or withdrawn.
- Buying: leaders and mayors buy goods from other nations with the treasury. Items go straight to the buyer's inventory, and the money goes to the seller's treasury.
- Diplomacy matters: nations at war can't trade (embargo). Allies trade without the market fee.
- The seller's online citizens are notified of every sale.
- Listings are stored in world data, so breaking a warehouse doesn't remove your goods.
Server Configuration
- New
config/politicsmod.jsonwith 18 settings: claim prices, upkeep, tax income, economy cycle length, war cost and cooldown, vault and embassy bonuses, radar range, and market fee and limits. - Invalid values are corrected automatically, and missing keys are added after updates.
- New command:
/politicsmod reloadreloads the config without a restart (operators only).
🎮 Gameplay & Security
Survival Support (first step)
- The Trade Warehouse now works in Survival mode: it has a crafting recipe (chest, gold ingots and planks), drops when broken, and is mined faster with an axe.
- Other PoliticsMod blocks remain Creative-only for now.
Anti-Exploit Protection
- All market actions are validated on the server: role, treasury funds, embargo and listing availability.
- Items are removed from the player's hand at the moment of listing, so they can't be duplicated.
- Market actions only work while standing next to a warehouse.
🖥️ UI & Localization
Dashboard Overhaul (K)
- Three new tabs:
- Citizens: member list with roles and online status. Invite, kick, and promote or demote mayors.
- Diplomacy: relations with every nation. Declare war, propose an alliance or peace, and accept or reject incoming proposals.
- Economy: treasury and limit, income breakdown (tax blocks, federal tax, embassies), upkeep, tribute and net result per cycle. Leaders can adjust the federal tax rate with ±1/±5 buttons.
- Actions are shown according to your role and follow exactly the same rules as the chat commands.
Market Screen
- New Trade Warehouse interface with Market and Our Listings tabs, item tooltips and pagination.
🐛 Bug Fixes
- Fixed a crash on dedicated servers during startup (
invalid dist DEDICATED_SERVER) caused by client-side GUI classes being loaded on the server. - Fixed
/politicsmod infoshowing an incorrect net income: it ignored embassy bonuses and counted city tax blocks as national income. It now matches the actual economy cycle. - Fixed claim prices being defined separately for the
/politicsmod claimcommand and the map GUI, which could make them disagree. - Fixed claim messages showing hardcoded amounts (500$ / 100$) instead of the real price.
- Fixed player roles appearing in Russian on the dashboard regardless of game language.
⚠️ Important Notes
- New required dependency: Architectury API on both loaders. Fabric also requires Fabric API. GeckoLib is still required.
- The old 27-slot Trade Warehouse has been removed. Any items stored in previously placed warehouses will be lost.
v0.2 - The Civilization Update
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 [city] | Claim a radius of chunks |
| /politicsmod invite / kick | Manage country members |
| /politicsmod setrole | 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 | Rename your country |
| /politicsmod pay | Direct treasury transfer |
v0.1 - The Foundation Update
New Features
- State Management: Added Founding Stone to create countries and City Stone to establish cities.
- Territory System: Implemented chunk claiming with visual borders (Lines, Walls, Corners).
- Economy & Population: Added Residential Building for population simulation.
- Commands: Added
/politicscraft deleteto dissolve your nation (with confirmation).
Gameplay & Security
- Creative Only: Strictly disabled block interactions and breaking in Survival mode for security on RP servers.
- Anti-Duplicate: Prevented players from creating multiple countries.
UI & Localization
- Dashboard: Added a comprehensive GUI for managing nations and cities.
- HUD: Added an overlay showing the current country, city, and balance.
- Languages: Added full localization for English and Russian.