Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
TownyPolitics transforms Towny nations and towns into living political ecosystems.
TownyPolitics v1.10.0 — World Systems & Server-Wide Features
Phase 1 — World Systems
Server Seasons
- Added
SeasonManagerwith four seasons: SPRING, SUMMER, AUTUMN, WINTER - Each season modifies crop growth, upkeep, and mob spawn rates
- Seasons auto-advance every 30 days;
/season status|advance|set - Seasons tracked in
server.seasonandserver.season-startindata.yml
Global Events
- Added
GlobalEventManagerwith five events: PLAGUE, FAMINE, GOLDEN_AGE, GREAT_DEPRESSION, METEOR_STRIKE - Events modify stability, crop growth, upkeep, and trade volume
- Meteor strike impacts a random location creating a crater
/event status|start <event> [hours]|end
World Wonders
- Added
WorldWonderManagerwith four wonders: Great Library, Colossus, Internet, Space Elevator - Nations contribute funds toward wonder completion
- Builder nation receives server-wide bonus (stability, military damage, trade volume, election speed)
/wonder list|status <id>|contribute <id> <amount>
Phase 2 — Diplomacy, Economy & Infrastructure
Embassies
- Added
EmbassyManagerfor building embassies between nations - Cost: $10,000 per embassy; one active embassy per nation pair
/embassy build <nation> <name>|close <id>|list|status <id>
Spies
- Added
SpyManagerwith three ranks: INITIATE, AGENT, MASTER - Mission types: INTEL, SABOTAGE, COUNTER_ESPIONAGE
- Spies have cooldowns and can be caught during missions
/spy recruit <name> <rank>|mission <id> <nation> <type>|retire <id>|list|status <id>
Market
- Added
MarketManagerfor server-wide item trading - Players list items for sale; others buy with a 5% market fee
- Max 10 active listings per player
/market list <item> <amount> <price>|buy <id>|cancel <id>|browse|my
Infrastructure
- Added
InfrastructureManagerfor building RAILWAY, ROAD, BRIDGE - Active infrastructure grants trade route volume bonuses
/infrastructure build <type> <id> <name>|demolish <type> <id>|list|status <type> <id>
Transport
- Added
TransportManagerfor building TELEPORT_PAD and FAST_TRAVEL - Teleport pads allow instant travel with a 5-minute cooldown
/transport build <type> <id> <name>|use <id>|list|status <type> <id>
DataManager additions
- Embassy CRUD:
saveEmbassy,embassyExists,getEmbassyIds,getEmbassy,setEmbassy,getEmbassiesForNation - Spy CRUD:
saveSpy,spyExists,getSpyIds,getSpiesForNation,getSpy,setSpy,getSpyInt,setSpyInt,getSpyLastAction,setSpyLastAction - Market listing CRUD:
saveMarketListing,marketListingExists,getMarketListingIds,getMarketListing,setMarketListing,removeMarketListing - Infrastructure CRUD:
saveInfrastructure,infrastructureExists,getInfrastructureIds,getInfrastructure,setInfrastructure,getInfrastructureDouble,setInfrastructureDouble - Transport CRUD:
saveTransport,transportExists,getTransportIds,getTransport,setTransport,getTransportDouble,setTransportDouble - Generic:
getLong,setLong
Bug fixes
- Fixed
PlotManager.getWorldName()→getWorld()for Towny API compatibility - Fixed
PlotManager.getTown()wrapping in try/catch forNotRegisteredException - Fixed
DataManager.javapremature class closure from prior edit - Fixed lambda effectively-final variable issues in new managers
Platforms
Paper
1.21–26.1.2
Dependencies
Paper
- Towny
- ChestShop Optional
- PlaceholderAPI Optional
- QuickShop Optional
- QuickShop-Hikari Optional
- SiegeWar Optional