This document provides detailed information about faction flags and their impacts on faction behavior.
Faction flags are settings that can be configured per-faction to customize how the faction operates. Unlike server-wide configuration options, flags can be set differently for each faction, allowing for diverse playstyles and strategies.
To view all available flags and their current values for your faction:
/faction flag list
/f flag list
To set a flag value for your faction:
/faction flag set [flag_name] [value]
/f flag set [flag_name] [value]
Example:
/f flag set color #FF0000
/f flag set allowFriendlyFire true
/f flag set neutral false
- View flags:
mf.flag.list(default: true) - Set flags:
mf.flag.set(default: true) - Force set for other factions:
mf.force.flag(default: op)
Type: Boolean (true/false)
Default: false (configurable in config.yml)
Description: Controls whether members of allied factions can build, break blocks, and interact with items in your faction's claimed territory.
Impact:
- When
true: Allied faction members can build, break blocks, and use items in your territory - When
false: Allied faction members are treated like outsiders and cannot modify your territory
Use Cases:
- Set to
truefor joint building projects with allied factions - Set to
falseto maintain strict territorial control even from allies - Useful for defensive alliances where you don't want allies modifying your base
Command:
/f flag set alliesCanInteractWithLand true
/f flag set alliesCanInteractWithLand false
Type: Boolean (true/false)
Default: false (configurable in config.yml)
Description: Controls whether members of your vassal factions can build, break blocks, and interact with items in your claimed territory.
Impact:
- When
true: Your vassals can freely build and break blocks in your territory - When
false: Your vassals are treated as outsiders in your territory
Use Cases:
- Set to
trueif you want vassals to help develop your territory - Set to
falsefor a traditional feudal hierarchy where vassals manage only their own lands - Useful for collaborative empire-building with trusted vassals
Command:
/f flag set vassalageTreeCanInteractWithLand true
/f flag set vassalageTreeCanInteractWithLand false
Type: Boolean (true/false)
Default: false (configurable in config.yml)
Description: Controls whether members of your liege faction (the faction you're a vassal to) can build, break blocks, and interact with items in your claimed territory.
Impact:
- When
true: Your liege's members can freely modify your territory - When
false: Your liege must respect your territorial boundaries
Use Cases:
- Set to
truefor cooperative vassal relationships where lieges help develop vassal lands - Set to
falseto maintain autonomy while still being a vassal - Useful for role-playing different types of feudal relationships
Command:
/f flag set liegeChainCanInteractWithLand true
/f flag set liegeChainCanInteractWithLand false
Type: Boolean (true/false)
Default: false (configurable in config.yml)
Description: Declares your faction as neutral, preventing participation in wars.
Impact:
- When
true: Your faction cannot declare war, be declared war upon, or participate in conflicts - When
false: Your faction can engage in normal diplomatic and military activities
Requirements:
- Server must have
factions.allowNeutralityset totruein config.yml - May have additional restrictions based on server rules
Use Cases:
- Merchant factions that want to trade with everyone
- Builder factions focused on construction projects
- Role-play factions representing neutral states or organizations
- Beginner factions wanting to avoid conflict
Command:
/f flag set neutral true
/f flag set neutral false
Important Notes:
- Neutral factions typically cannot have vassals or lieges
- Changing from neutral to non-neutral may have a cooldown period
- Some servers may disable this feature entirely
Type: String (hex color code)
Default: random (configurable in config.yml)
Description: Sets your faction's display color used in chat, maps, and other displays.
Format: Hex color code in format #RRGGBB where:
RR= Red component (00-FF)GG= Green component (00-FF)BB= Blue component (00-FF)
Impact:
- Affects faction name color in chat messages
- Affects faction territory color on Dynmap
- Affects faction color in UI elements and displays
Examples:
/f flag set color #FF0000 (Red)
/f flag set color #00FF00 (Green)
/f flag set color #0000FF (Blue)
/f flag set color #FFD700 (Gold)
/f flag set color #800080 (Purple)
/f flag set color #FFA500 (Orange)
/f flag set color #FFFFFF (White)
/f flag set color #000000 (Black)
Validation:
- Must be a valid 6-digit hexadecimal color code
- Must start with
# - Invalid values will be rejected
Tips:
- Choose colors that contrast well with common backgrounds
- Consider your faction's theme or identity when choosing a color
- Avoid colors too similar to allied factions for clarity
Type: Boolean (true/false)
Default: false (configurable in config.yml)
Description: Controls whether faction members can damage each other in PVP.
Impact:
- When
true: Faction members can attack and damage each other - When
false: Faction members are protected from damage by other members
Use Cases:
- Set to
truefor training purposes or friendly duels within the faction - Set to
falsefor normal operations to prevent accidental or malicious team damage - Useful for role-play scenarios involving internal conflicts
Command:
/f flag set allowFriendlyFire true
/f flag set allowFriendlyFire false
Important Notes:
- This overrides the global
pvp.friendlyFireconfig setting for your faction - Does not affect the
/duelcommand system - May interact with other PVP-related plugins
Type: Boolean (true/false)
Default: true (configurable in config.yml)
Description: Controls whether your faction accepts bonus power granted by server administrators.
Impact:
- When
true: Administrators can grant your faction bonus power using/f bonuspower - When
false: Your faction refuses bonus power grants, relying only on member power
Use Cases:
- Set to
falsefor a "pure" or "no handouts" gameplay philosophy - Set to
trueto accept event rewards or administrative compensation - Useful for role-play factions that want to maintain independence
Command:
/f flag set acceptBonusPower true
/f flag set acceptBonusPower false
Important Notes:
- This is a faction-level decision and affects all members
- Does not affect normal power generation from members
- Existing bonus power is retained even if set to false
Type: Boolean (true/false)
Default: false (not configurable in config.yml - uses hardcoded default)
Description: Controls whether hostile mobs are protected from damage by non-members in your faction territory.
Impact:
- When
true: Non-members cannot attack or kill mobs in your territory - When
false: Anyone can kill mobs in your territory
Use Cases:
- Set to
trueto protect mob farms and grinders from outsiders - Set to
falsefor open hunting grounds - Useful for protecting named pets or special mobs
Command:
/f flag set enableMobProtection true
/f flag set enableMobProtection false
Important Notes:
- This does not affect mob spawning rates
- May interact with the global
factions.mobsSpawnInFactionTerritorysetting - Does not prevent mob spawning, only mob damage
Type: Boolean (true/false)
Default: true (configurable in config.yml)
Description: Controls whether villager trading is restricted to faction members in your territory.
Impact:
- When
true: Only faction members can trade with villagers in your territory - When
false: Anyone can trade with villagers in your territory
Use Cases:
- Set to
trueto protect your villager trading halls and custom villagers - Set to
falsefor public trading posts open to all players - Useful for protecting valuable villager trades (e.g., mending books)
Command:
/f flag set protectVillagerTrade true
/f flag set protectVillagerTrade false
Important Notes:
- This prevents non-members from right-clicking villagers to open trade GUI
- Does not affect villager breeding or movement
- Helps prevent theft of good villager trades
Default values for faction flags are set in the server's config.yml file under factions.defaults.flags. When a new faction is created, it inherits these default values.
Server administrators can modify defaults in config.yml:
factions:
defaults:
flags:
alliesCanInteractWithLand: false
vassalageTreeCanInteractWithLand: false
liegeChainCanInteractWithLand: false
neutral: false
color: random # or a specific hex color like '#FF0000'
allowFriendlyFire: false
acceptBonusPower: true
enableMobProtection: false
protectVillagerTrade: trueFor a merchant faction that trades with everyone:
/f flag set neutral true
/f flag set color #FFD700
/f flag set protectVillagerTrade false
/f flag set alliesCanInteractWithLand false
For factions in close military cooperation:
/f flag set alliesCanInteractWithLand true
/f flag set neutral false
/f flag set allowFriendlyFire false
/f flag set color #8B0000
For a faction focused on building:
/f flag set neutral true
/f flag set alliesCanInteractWithLand true
/f flag set vassalageTreeCanInteractWithLand true
/f flag set enableMobProtection true
/f flag set color #00CED1
For an empire with clear liege-vassal relationships:
/f flag set vassalageTreeCanInteractWithLand false
/f flag set liegeChainCanInteractWithLand true
/f flag set alliesCanInteractWithLand false
/f flag set acceptBonusPower true
/f flag set color #800080
For a welcoming, open faction:
/f flag set alliesCanInteractWithLand true
/f flag set protectVillagerTrade false
/f flag set enableMobProtection false
/f flag set neutral false
/f flag set color #32CD32
For a faction that wants minimal external interaction:
/f flag set neutral true
/f flag set alliesCanInteractWithLand false
/f flag set acceptBonusPower false
/f flag set protectVillagerTrade true
/f flag set enableMobProtection true
/f flag set color #2F4F4F
-
Review Flags Regularly: As your faction evolves, review and adjust flags to match your current strategy.
-
Communicate with Members: Ensure all faction members understand what each flag does and agree with the settings.
-
Match Your Playstyle: Choose flag settings that align with your faction's goals and role-play identity.
-
Test Before Committing: If unsure about a flag, test it in a safe environment before applying it to important situations.
-
Coordinate with Allies: Discuss flag settings with allied factions to ensure compatible configurations.
-
Document Your Settings: Keep a record of your flag settings and the reasoning behind them for future reference.
-
Consider the Meta: Flag choices can give strategic advantages; think about how they interact with server politics.
-
Balance Security and Cooperation: Find the right balance between protecting your territory and enabling cooperation with trusted factions.
/f flag list- View all flags and their values/f flag set [flag] [value]- Set a flag value/f info- View faction information including some flag values/f help flag- Get help with flag commands
Standard players need these permissions to manage flags:
mf.flag.list- View faction flagsmf.flag.set- Modify faction flags (requires appropriate role permissions)
Administrators have additional permissions:
mf.force.flag- Modify flags for any faction
- Commands Reference - Complete command documentation
- Configuration Guide - Server-wide configuration options
- User Guide - Getting started and usage scenarios