管理·0.5.1
伺服器設定
配置、角色權限和預設值。
如何應用更改
- 使用mod啟動伺服器一次。它將創建檔案
config/politicsmod.json。 - 儲存檔案的副本,然後變更 JSON 中所需的參數。保留原始值類型。
- 以操作員身分運行
/politicsmod reload。對於資料包,請使用常規 Minecraft 命令/reload。
典型變化
| 問題 | 參數 |
|---|---|
| 更改週期長度 | economyCycleTicks(以刻度為單位)。 3,600 個刻度 - 三分鐘,20 TPS。 |
| 禁用事件、決策與目標 | "statecraftEnabled": false。已獲得的排名將被保留。 |
| 禁用穩定性、聲望與核心 | "realmEnabled": false。禁用整套國家機制。 |
| 更改稅限限額 | maxTaxBlocksPerChunk 預設為 2。 |
| 管理外來者的權利 | 參數flagDefault…定義伺服器規則。國家和城市可能有自己的規則。 |
角色與權限
rolePermissions 指定權限 MAYOR 和 CITIZEN。可用的操作:
INVITE, KICK, CLAIM_CITY, MANAGE_EMBASSIES, SPEND_TREASURY, BUY_TERRITORY, MANAGE_PLOTS, SELL_FOR_STATE.
對於 LuckPerms 和類似的 mod,有 politicsmod.command.<group> 節點。預設情況下,操作員可以使用群組 reload 和 admin。
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.
預設值
列表取自 PoliticsConfig.java 0.5.1。現有世界的意義可能有所不同。
領土
| 參數 | 預設 |
|---|---|
startingTreasury | 2500 |
countryChunkPrice | 300 |
chunkPriceGrowthPercent | 2 |
chunkPriceGrowthStart | 25 |
maxChunkPrice | 5000 |
outpostPriceMultiplier | 3 |
cityChunkPrice | 100 |
upkeepPerChunk | 2 |
upkeepFreeChunks | 9 |
經濟學
| 參數 | 預設 |
|---|---|
economyCycleTicks | 3600 |
economyDailyReport | true |
incomePerTaxBlock | 16 |
maxTaxBlocksPerChunk | 2 |
baseMaxBalance | 10000 |
vaultBalanceBonus | 10000 |
embassyIncomeBonus | 40 |
外交
| 參數 | 預設 |
|---|---|
warCost | 500 |
warCooldownMinutes | 10 |
tributeRateDefault | 20 |
secedeThresholdPercent | 80 |
市場
| 參數 | 預設 |
|---|---|
marketFeePercent | 5 |
maxListingsPerCountry | 27 |
maxListingsPerPlayer | 9 |
maxListingPrice | 1000000 |
個人錢包
| 參數 | 預設 |
|---|---|
walletStartBalance | 100 |
walletMaxBalance | 10000000 |
walletHistorySize | 50 |
maxSalary | 10000 |
defaultIncomeTaxPercent | 10 |
maxIncomeTaxPercent | 50 |
貨幣兌換
| 參數 | 預設 |
|---|---|
exchangeEnabled | true |
exchangeItem | "minecraft:emerald" |
exchangeRate | 10 |
exchangeWithdrawEnabled | false |
保護
| 參數 | 預設 |
|---|---|
creativeBypassesProtection | false |
flagDefaultPvp | true |
flagDefaultExplosions | false |
flagDefaultMobExplosions | false |
flagDefaultFireSpread | false |
flagDefaultItemPickup | true |
flagDefaultEntry | true |
站點
| 參數 | 預設 |
|---|---|
maxPlotsPerPlayer | 3 |
角色
| 參數 | 預設 |
|---|---|
rolePermissions | 市長和公民的權利 |
選舉
| 參數 | 預設 |
|---|---|
electionDurationMinutes | 10 |
electionCooldownMinutes | 60 |
petitionPercent | 50 |
法律
| 參數 | 預設 |
|---|---|
lawChangeCooldownMinutes | 30 |
martialLawIncomePenaltyPercent | 30 |
martialLawSiegeMultiplier | 2 |
freeTradeEmbassyBonusPercent | 50 |
圍攻
| 參數 | 預設 |
|---|---|
siegeCost | 250 |
siegeHoldSeconds | 180 |
siegeGraceSeconds | 60 |
maxSiegesPerCountry | 1 |
債務和貸款
| 參數 | 預設 |
|---|---|
maxDebt | 50000 |
maxLoanInterestPercent | 50 |
maxLoanCycles | 140 |
新聞
| 參數 | 預設 |
|---|---|
newsMaxEntries | 100 |
地圖
| 參數 | 預設 |
|---|---|
webMapsEnabled | true |
webMapUpdateSeconds | 30 |
定居點
| 參數 | 預設 |
|---|---|
minecoloniesEnabled | true |
colonyTaxPerCitizen | 4 |
colonyTaxFollowsHappiness | true |
colonyRanksFollowDiplomacy | true |
millenaireEnabled | true |
villageTaxPerVillager | 2 |
villageAnnexReputation | 8192 |
villageKeepReputation | 1024 |
annexedVillageTributePercent | 50 |
settlementsBlockClaims | true |
國家狀況
| 參數 | 預設 |
|---|---|
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 |
事件、決定與目標
| 參數 | 預設 |
|---|---|
statecraftEnabled | true |
eventMinGapCycles | 10 |
eventTimeoutCycles | 10 |
maxPendingEvents | 2 |
eventsNeedOnlineMember | true |
eventFrequencyPercent | 100 |
村民
| 參數 | 預設 |
|---|---|
villagerCitizensEnabled | true |
villagerTaxPerCycle | 2 |
villagerCandidates | true |
villagerCandidateMinVillagers | 3 |
書
| 參數 | 預設 |
|---|---|
giveGuideOnFirstJoin | true |
更新與訊息
| 參數 | 預設 |
|---|---|
checkForUpdates | true |
showSupportMessage | true |
雷達
| 參數 | 預設 |
|---|---|
radarRangeChunks | 5 |
radarCheckTicks | 100 |