Alignment Bar -Factions & Reputation
Alignment Bar adds a full faction and reputation system to Minecraft.
Gain or lose reputation with different groups, unlock ranks and rewards, and pledge allegiance to a single faction. Everything is fully configurable through simple JSON files and custom images.
โจ Features:
Factions
Create unlimited factions in config/alignmentbar/factions/.
Each faction can have:
Name, color, and description
Custom logo (PNG in config/alignmentbar/faction_logos/)
Allies and enemies (by entity ID or name)
Ranks with alignment requirements and rewards
A region (groups factions in the UI)
Reputation
Reputation changes as you play:
Killing enemies of a faction increases your alignment.
Killing allies or members decreases it.
Relations between factions spread those changes further.
Reputation syncs between server and client automatically.
๐งพ Ranks & Rewards
Define ranks/titles per faction.
Unlock ranks at certain alignment thresholds.
Rewards can be:
Items (given directly to the player)
Commands (server-side, can hook into other mods/datapacks)
Players are promoted with sounds, floating text, and a title popup.
โ Pledging
Once a player reaches 100 alignment, they can pledge to a faction.
Pledging:
Locks alignment with that faction at 100
Resets all others to 0
Plays a full pledge animation (flag overlay, horn sound, glow, announcement)
๐จ HUD & Visuals
Alignment Bar HUD in the top-center of the screen.
Switch factions with ← / →
Hold TAB to fade the bar out
Automatically shifts down if a boss bar is active
Floating alignment text above mobs when rep changes.
Nametag icons for pledged factions.
Optional alignment above head display for other players.
๐ Commands
/alignment view <faction> <player> → check reputation
/alignment <faction> <player> set/add <value> → edit reputation
/alignment reset <player> → reset all rep and pledge
/alignment pledge <faction> <player> → force pledge
/factionrelation list <faction> → show relations
/factionrelation <source> <target> <ally|enemy|neutral> → set relations
โ Config & Templates
Auto-generates everything on first run:
config/alignmentbar/factions/ → JSON faction definitions
config/alignmentbar/faction_logos/ → faction logos
config/alignmentbar/regions/ → region icons and extra images
Includes a template faction JSON and placeholder logos for easy setup.
๐ Example Faction (shortened)
{
"id": "brittany",
"name": "Duchy of Brittany",
"color": "#003153",
"region": "europe",
"enemies": [ { "name": "Norman Shieldbearer" } ],
"allies": [ { "name": "Breton Knight" } ],
"ranks": [
{ "id": "paysan", "name": "Paysan", "alignment": 0 },
{ "id": "chevalier", "name": "Chevalier", "alignment": 175,
"reward": { "type": "give_item", "item": "minecraft:diamond_sword", "count": 1 }
}
]
}
Great For
RPG servers (kingdoms, clans, guilds)
PvE progression with hostile/friendly factions
Roleplay worlds with politics and allegiances
Singleplayer with extra progression and story