๐ง Admin Reference (HideoutiaPlugin)
For server staff. Players don't need anything here.
Requirements
- Paper 26.1.2 ยท Java 25
- Vault + an economy plugin (player balances live there)
- WorldGuard (land regions)
- Data: SQLite at
plugins/HideoutiaPlugin/data.db(self-contained, no DB server)
Admin commands
/hideoutia admin statusโ one-screen health check: DB, pending timers, open elections, current PM, treasury, plot/shop counts/hideoutia admin reloadโ hot-reloadconfig.yml: tax defaults, income payouts and exclusions, currency symbol, sign tags, mail limits, plot caps, plot auto-approval (toggle/size caps/per-block price), welfare amounts/threshold/toggles, party list, snap trigger percent. Not hot-reloadable: DB path, in-flight election timings, snap min-playerbase (restart)/hideoutia admin setpm <player>โ directly appoint a PM (escape hatch; an open election's result will overwrite it)
Key permissions (defaults)
hideoutia.adminโ admin module + overrides (op)hideoutia.plot.adminโ approve/reject/tp/reclaim, manage gov plots (op; the elected PM is authorized in code without this)hideoutia.shop.adminโ break others' shops and create[Gov Shop]government shops (op)hideoutia.contract.manageโ post/payout/retender/cancel government contracts (op; the elected PM is authorized in code without this)- Player-facing modules all default true:
hideoutia.mail.use,hideoutia.party.use,hideoutia.vote.use,hideoutia.citizen.use,hideoutia.election.view,hideoutia.plot.request,hideoutia.welfare.use,hideoutia.gov.view,hideoutia.tax.view,hideoutia.shop.create,hideoutia.contract.view,hideoutia.contract.accept
PM authority is data-driven โ whoever wins the election gets PM powers automatically, no permission changes needed. Admin permissions are the override path.
Config highlights (config.yml)
timezoneโ election calendar + welfare day boundaryeconomy.currencySymbolโ display symbol (default$)economy.startingBalanceโ treasury seed credited once when a brand-new database is created (default10000.0; negative starts the nation in debt; no effect on existing databases)tax.*โ the four default rates (seed a fresh DB only; thereafter the PM's settings rule)parties.*โ define parties (key + displayName); sync on start/reload, removed parties keep their dataelection.pm.*โ schedule (1st/5th), 72h vote,testCadenceSecondsto compress full election cycles to minutes for testing, snap settingselection.party.*โ 20% trigger, 24h+24h windowsincome.*โ per-block/mob/crop/fish payouts,allfallbacks, anti-exploit toggleswelfare.*โ daily check, wealth threshold, start check, togglesland.*,shop.*,mail.*โ caps, tags, limitsbroadcasts.*โ rotating server messages:tips(default every 5 min, random command tips, never the same twice in a row) andcommunity(every 10 min, invite-your-friends). Messages/toggles hot-reload; intervals need a restartcommandAliases.enabledโ register bare aliases so/plot,/gov,/party,/tax,/vote,/welfare,/electionwork like/hideoutia <module>(defaulttrue;/adminis never aliased; force-claimed after load so they win conflicts;/hideoutia <module>always works; restart to change)mail.claimMailCommandโ claim the bare/mailfrom other plugins (defaulttrue; Essentials' own stays at/essentials:mail; restart to change)land.regionPriorityโ WG priority for plot regions (default10, sub-plots +1). Keep it higher than any hand-made zone region (towns, spawn) so plots claimed inside those zones stay buildable by their owners. Existing plot regions are realigned automatically at startup.land.autoApprove.*โ instant approval of modest claims:enabled, inclusive size capsmaxX/maxZ/maxY(default 100/100/50), andpricePerBlock(default0.02, floored at zero). A claim within every cap and overlapping no protected region is sold instantly; anything bigger or region-overlapping queues for the PM. A WorldGuard lookup failure fails safe to the queue.
Operational notes
- Elections survive restarts โ deadlines are persisted; missed transitions catch up in order on boot. Safe to restart mid-election.
- Lease payments also catch up after downtime โ tenants are charged once per catch-up, never billed for server downtime.
- WorldGuard runtime must support your MC version (compile target is WG 7.0.17 API).
- The government ledger (
/hideoutia gov ledger) is the audit trail for every tax, payment, and welfare check โ reasons likewelfare:claim,shop:sale,income:mining:DIAMOND_ORE. Government shops addshop:gov-sale(a player bought, money to the treasury, no tax) andshop:gov-purchase+shop:gov-purchase-tax(a player sold; the gross is debited and the sales-tax cut routed back). - Government shops (
[Gov Shop]signs,hideoutia.shop.admin) are an economy lever: they buy and sell with the treasury at infinite stock. Generous buy prices can drive the treasury negative โ intentional, but watch the balance. Players pay no sales tax buying from the state; selling to the state still taxes the player as the receiver. - PM term history (
/hideoutia gov history [page]) lists every Prime Minister term newest-first โ who, how they took power (election, snap election, or appointed), start/end, and duration. Pre-existing PMs on an upgraded database get one backfilledappointedterm whose start time is approximate (logged at startup). - Renamed from DansGovernance? Rename the data folder
plugins/DansGovernance/โplugins/HideoutiaPlugin/to keep the database. - Full admin docs live in the repo README.