OPACTowny is an advanced civilization and nation-management mod designed for multiplayer servers. Built on top of Open Parties and Claims (OPAC) and deeply integrated with the Numismatics economy and Xaero's Maps, it elevates standard land claiming into an immersive geopolitical simulator. Players can found nations, establish government hierarchies, manage a shared economy with automated taxes and national debt, form diplomatic treaties, configure granular per-chunk access rules, and wage tactical territorial wars.
Core Features & Functionality
1. 🏛️ Nation Governance & Hierarchical Roles
Nation Creation & Disbanding: Players can invest currency to found their own nation or transfer leadership. 6-Tier Government Hierarchy:
- 👑 Mayor (Leader): Absolute authority, full settings control, leadership transfer, and nation disbanding.
- ⭐ Deputy (Vice-Mayor): Territory management, claiming, player recruitment, and role assignment.
- 💰 Finance Minister: Manages the nation treasury with daily withdrawal limits.
- 🛡️ Defense Minister: Recruits military personnel and authorizes war declarations.
- ⚔️ Military: Dedicated combatants permitted to participate in warfare.
- 👤 Resident: Standard citizen with basic nation rights.

Nation Board & Communication: Custom announcement board (/nation board <msg>) displayed automatically to citizens upon server login. Dedicated, private Nation Chat channel (/nc <message>). Interactive GUIs: Clean custom interfaces for managing citizens, viewing member statistics (playtime, deposits, kills, deaths), customizing claim colors (16 swatches or custom HEX), and browsing the server-wide nations directory. 
2. 💰 Economy, Dynamic Taxation & National Debt
Shared Treasury: Citizens can deposit coins into the national treasury (/nation deposit), while authorized ministers can withdraw funds under daily limits. Weekly Land Taxes: Nations pay periodic maintenance taxes calculated dynamically based on claim count and distance from the capital center. National Debt & Bankruptcy System: If the treasury cannot pay the weekly upkeep, the unpaid sum converts into National Debt with a grace period. Nations in debt face restrictions: expansion (claiming) and declaring wars are blocked. If the debt is not paid within the grace period, an Economic Crisis begins, causing outer claims to gradually decay (unclaim automatically) until debts are settled or total nation liquidation (bankruptcy) occurs.
3. ⚔️ Strategic Chunk Warfare & Conquest
Standard Chunk Siege: Attackers place an economic war deposit and initiate a siege on bordering enemy claims. Includes preparation countdowns, combatant lives, and real-time capture speed calculations. Major War (3x3 Zone Conquest): Large nations (> 100 claims) can be targeted with a major offensive, turning a 9-chunk zone into contested territory with extended battle times and massive territorial rewards. Chain Warfare (Post-War Blitz): Victorious attackers receive a 2-minute chain capture window allowing immediate subsequent attacks with waived preparation phases and military mobilization fees. Balanced Combat Mechanics: Minimum defender online requirements (e.g., 50% online) prevent offline raiding. War cooldowns and daily territory attack limits prevent excessive griefing. Attack deposits: base chunk deposit is returned upon victory, while military mobilization fees remain non-refundable.
4. 🛡️ Granular Chunk Access Rules
Per-Chunk Permission Matrix: Every claimed chunk can be configured individually via GUI or command (/chunkrule):
- ⛏️ Block Breaking & 🧱 Block Placing
- 🚪 Doors, Trapdoors & Gates
- 🧰 Chests & Storage Containers
- 🔘 Buttons, Levers & Pressure Plates
- ⚡ Tech Interactions & Terminal Access Access Tiers: Rules can be granted to Everyone, Allies, Citizens, Military Only, Ministers, or Leaders Only. Zone PVP Modes: Set chunk-specific combat behavior to PVP Allowed, Friendly-Fire Protected, or admin-enforced Peaceful Zones.

5. 🌐 Diplomacy & Alliances
Diplomatic Relations: Bilateral states between nations: Allies, Enemies, and Neutral. Interactive Alliance Proposals: Leaders receive clickable chat invitations ([ACCEPT ALLIANCE] / [DECLINE]) with hover tooltips and expiration timers. Diplomacy Chest Menu: Visual interface displaying all foreign nations, their rulers, population, and active diplomatic relationships.
6. 🪪 Citizen Passports & Identification
Passport System: Players can show their passport to nearby players (/passport <player>). Detailed Citizen Dossier: Displays character username, nation name, rank, server playtime, joined date, total treasury contributions, and diplomatic standing towards the viewer.
7. ⚙️ Server Administration & Bilingual Localization
Server Settings Commands: Dedicated operator commands to configure server-wide nametag visibility (/serversettings nametags <on|off>) and map radar tracking (/serversettings mapradar <nation_only|all>). 100% Client-Side Localization: Complete, symmetrical dual-language support for English (en_us) and Russian (ru_ru). All chat messages, actionbars, hover events, menus, and command feedback adapt to each player's Minecraft client
