Administration · 0.5.1
Server setup
Configuration, role rights and default values.
How to apply changes
- Start the server with the mod once. It will create the file
config/politicsmod.json. - Save a copy of the file, then change the desired parameters in the JSON. Keep the original value types.
- Run
/politicsmod reloadas operator. For datapacks, use the regular Minecraft command/reload.
Typical changes
| Problem | Parameter |
|---|---|
| Change cycle length | economyCycleTicks in ticks. 3,600 ticks - three minutes at 20 TPS. |
| Disable events, decisions and goals | "statecraftEnabled": false. Already obtained ranks are retained. |
| Disable stability, prestige and cores | "realmEnabled": false. Disables the entire set of country state mechanics. |
| Change tax block limit | maxTaxBlocksPerChunk defaults to 2. |
| Manage the rights of outsiders | Parameters flagDefault… define server rules. Country and city may have their own rules. |
Roles and permissions
rolePermissions specifies the rights MAYOR and CITIZEN. Available actions:
INVITE, KICK, CLAIM_CITY, MANAGE_EMBASSIES, SPEND_TREASURY, BUY_TERRITORY, MANAGE_PLOTS, SELL_FOR_STATE.
For LuckPerms and similar mods there are politicsmod.command.<group> nodes. Groups reload and admin are available to operators by default.
info · members · claim · rename · pay · tax · city · territory · embassy · diplomacy · wallet · salary · plot · flag · borders · delete · guide · help · election · law · siege · loan · news · settlement · realm · statecraft · hud · reload · admin.
Default values
List taken from PoliticsConfig.java for 0.5.1. The meanings in the existing world may differ.
Territory
| Parameter | Default |
|---|---|
startingTreasury | 2500 |
countryChunkPrice | 300 |
chunkPriceGrowthPercent | 2 |
chunkPriceGrowthStart | 25 |
maxChunkPrice | 5000 |
outpostPriceMultiplier | 3 |
cityChunkPrice | 100 |
upkeepPerChunk | 2 |
upkeepFreeChunks | 9 |
Economics
| Parameter | Default |
|---|---|
economyCycleTicks | 3600 |
economyDailyReport | true |
incomePerTaxBlock | 16 |
maxTaxBlocksPerChunk | 2 |
baseMaxBalance | 10000 |
vaultBalanceBonus | 10000 |
embassyIncomeBonus | 40 |
Diplomacy
| Parameter | Default |
|---|---|
warCost | 500 |
warCooldownMinutes | 10 |
tributeRateDefault | 20 |
secedeThresholdPercent | 80 |
Market
| Parameter | Default |
|---|---|
marketFeePercent | 5 |
maxListingsPerCountry | 27 |
maxListingsPerPlayer | 9 |
maxListingPrice | 1000000 |
Personal wallets
| Parameter | Default |
|---|---|
walletStartBalance | 100 |
walletMaxBalance | 10000000 |
walletHistorySize | 50 |
maxSalary | 10000 |
defaultIncomeTaxPercent | 10 |
maxIncomeTaxPercent | 50 |
Currency exchange
| Parameter | Default |
|---|---|
exchangeEnabled | true |
exchangeItem | "minecraft:emerald" |
exchangeRate | 10 |
exchangeWithdrawEnabled | false |
Protection
| Parameter | Default |
|---|---|
creativeBypassesProtection | false |
flagDefaultPvp | true |
flagDefaultExplosions | false |
flagDefaultMobExplosions | false |
flagDefaultFireSpread | false |
flagDefaultItemPickup | true |
flagDefaultEntry | true |
Sites
| Parameter | Default |
|---|---|
maxPlotsPerPlayer | 3 |
Roles
| Parameter | Default |
|---|---|
rolePermissions | Rights of the mayor and citizen |
Elections
| Parameter | Default |
|---|---|
electionDurationMinutes | 10 |
electionCooldownMinutes | 60 |
petitionPercent | 50 |
Laws
| Parameter | Default |
|---|---|
lawChangeCooldownMinutes | 30 |
martialLawIncomePenaltyPercent | 30 |
martialLawSiegeMultiplier | 2 |
freeTradeEmbassyBonusPercent | 50 |
Sieges
| Parameter | Default |
|---|---|
siegeCost | 250 |
siegeHoldSeconds | 180 |
siegeGraceSeconds | 60 |
maxSiegesPerCountry | 1 |
Debts and loans
| Parameter | Default |
|---|---|
maxDebt | 50000 |
maxLoanInterestPercent | 50 |
maxLoanCycles | 140 |
News
| Parameter | Default |
|---|---|
newsMaxEntries | 100 |
Maps
| Parameter | Default |
|---|---|
webMapsEnabled | true |
webMapUpdateSeconds | 30 |
Settlements
| Parameter | Default |
|---|---|
minecoloniesEnabled | true |
colonyTaxPerCitizen | 4 |
colonyTaxFollowsHappiness | true |
colonyRanksFollowDiplomacy | true |
millenaireEnabled | true |
villageTaxPerVillager | 2 |
villageAnnexReputation | 8192 |
villageKeepReputation | 1024 |
annexedVillageTributePercent | 50 |
settlementsBlockClaims | true |
State of the country
| Parameter | Default |
|---|---|
realmEnabled | true |
startingStability | 1 |
stabilityTaxPercent | 5 |
stabilityProgressPerLevel | 100 |
stabilizeBaseCost | 1000 |
stabilizeProgress | 50 |
stabilizeCooldownMinutes | 60 |
coreCycles | 80 |
nonCoreTaxPercent | 50 |
developmentCost | 400 |
maxDevelopment | 10 |
developmentTaxPercent | 3 |
unrestSecedeThreshold | 75 |
prestigeDecayPerMille | 2 |
ledgerHistoryDays | 30 |
Events, decisions and goals
| Parameter | Default |
|---|---|
statecraftEnabled | true |
eventMinGapCycles | 10 |
eventTimeoutCycles | 10 |
maxPendingEvents | 2 |
eventsNeedOnlineMember | true |
eventFrequencyPercent | 100 |
Villagers
| Parameter | Default |
|---|---|
villagerCitizensEnabled | true |
villagerTaxPerCycle | 2 |
villagerCandidates | true |
villagerCandidateMinVillagers | 3 |
Book
| Parameter | Default |
|---|---|
giveGuideOnFirstJoin | true |
Updates and messages
| Parameter | Default |
|---|---|
checkForUpdates | true |
showSupportMessage | true |
Radar
| Parameter | Default |
|---|---|
radarRangeChunks | 5 |
radarCheckTicks | 100 |