Developer Portal
Building an addon on Warring Nations, or contributing to the ecosystem itself? Start here. WN Siege, WN Discord, and WN BlueMap are all built on the same public API this portal documents.
ADDON DEVS
Available now
Architecture
How Core and the three addons fit together, and where extension points live.
Core API Reference
WarringNationsAPI, WnEvents, compiling against wn-core, version compatibility.
Extension Points
ClaimEligibilityRegistry, WnCustomData, EffectHandlerRegistry, SubordinationRegistry, with worked examples.
Discord API Reference
Registering channels, embeds, slash commands and placeholders on WN Discord.
Adding Siege Mod Support
How Siege's mixin/decision-function pattern works, for anyone adding a new target mod.
BlueMap Rendering Internals
Marker geometry, pacing, and caching, for anyone extending the map layers.
