Tensura Kingdom & Factions
A NeoForge mod that adds a complete kingdom management system with diplomacy, alliances, war mechanics, and player rankings for the Tensura modpack.
Features
Kingdom System
- Create and manage kingdoms with custom names
- Invite, kick, and manage members
- Rank system: King, Lord, Knight, Citizen
- Each rank has specific permissions (invite, kick, diplomacy, war)
- Kingdom vault: 27-slot shared chest (like an ender chest)
Diplomacy
- Four diplomatic states: Friendly, Neutral, Hostile, At War
- Send diplomatic requests between kingdoms
- Declare war or request peace
- View all diplomatic relations
Alliance System
- Form alliances with other kingdoms (configurable max)
- Alliance benefits: PvP protection, ally visibility, mutual defense notifications
- Breaking alliances has reputation consequences and cooldowns
- Accept/deny alliance requests via GUI or commands
- Automatic cleanup when kingdoms are dissolved
War Mechanics
- Declare war on enemy kingdoms (King only)
- Track PvP kills between warring kingdoms
- Unique kill system: Each player can only be killed once per war for points
- Rank-based points: Citizen (1), Knight (3), Lord (5), King (10)
- War score system based on kills with asymmetric scoring
- Surrender with 24-hour grace period
- Allies can join ongoing wars
- Wars last indefinitely until surrender or peace treaty
- War history tracking (won/lost/peace)
Reputation System
- Kingdoms earn/lose reputation based on actions
- Win wars: +100 rep | Lose wars: -100 rep
- Form alliances: +25 rep | Break alliances: -50 rep
- Kill in war: +5 rep | Death in war: -3 rep
- Reputation tiers:
- ***** Legendary (500+ rep)
- **** Renowned (200+ rep)
- *** Established (50+ rep)
- ** Emerging (0+ rep)
-
- Declining (negative rep)
- Kingdom ranking tab showing all kingdoms sorted by reputation
Kingdom Vault
- 27-slot shared chest (9x3 grid) like an ender chest
- Accessible via
/kingdom vault openor GUI button - Shift-click item transfer
- Persistent across server restarts
- Shared between all kingdom members
- On kingdom dissolution, vault contents are distributed equally among members
Player Rankings
- Walpurgis Ranking: Top 8 Majins by EP (The First Star → The Eighth Star)
- Holy Order Ranking: Top 8 Holy by EP (The First Saint → The Eighth Saint)
- Kingdom Ranking: All kingdoms sorted by reputation with tier stars
- Rankings update automatically every 3 minutes
GUI System
- Modern dark theme with teal accents
- Kingdom Manager screen with tabs
- Rankings screen with Walpurgis, Holy Order, and Kingdoms tabs
- Alliance management screen (3 tabs: Alliances, Request, Pending)
- War management screen (3 tabs: Active Wars, Declare War, History)
- Vault screen (chest-like interface)
- Key binding: K to open Kingdom GUI
Commands
<button type="button" data-component="icon-button" data-variant="secondary" data-size="small" data-slot="markdown-copy-button" aria-label="Copiar" data-tooltip="Copiar"></button>/kingdom create <name> - Create a kingdom /kingdom join <name> - Join an existing kingdom /kingdom invite <player> - Invite a player /kingdom kick <player> - Kick a member /kingdom info - View kingdom info /kingdom leave - Leave the kingdom /kingdom disband - Disband the kingdom /kingdom gui - Open Kingdom GUI /kingdom setrank <player> <rank> - Change member rank /kingdom setmajin <true|false> - Override Majin status /kingdom joinrequest <name> - Send join request /kingdom acceptrequest <player> - Accept join request /kingdom denyrequest <player> - Deny join request /kingdom pendingrequests - View pending requests /kingdom diplomacy friendly <kingdom> - Request alliance /kingdom diplomacy hostile <kingdom> - Declare hostility /kingdom diplomacy war <kingdom> - Declare war /kingdom diplomacy peace <kingdom> - Request peace /kingdom diplomacy accept <id> - Accept diplomacy request /kingdom diplomacy deny <id> - Deny diplomacy request /kingdom diplomacy status - View relations /kingdom alliance request <kingdom> - Request alliance /kingdom alliance accept <id> - Accept alliance /kingdom alliance deny <id> - Deny alliance /kingdom alliance break <kingdom> - Break alliance /kingdom alliance list - View alliances /kingdom war status - View active wars /kingdom war surrender - Surrender in war /kingdom war join <warId> - Join ally's war /kingdom war history - View war history /kingdom vault open - Open kingdom vault /ranking gui - Open Rankings GUIConfiguration
All options are configurable in
config/kingdoms.toml
