Skip to content

Configuration

Daniel Saukel edited this page May 3, 2017 · 4 revisions
# Do not change this!
configVersion: 4

# The name of the language file (without .yml extension)
language: english

# The time in hours until taxes and income are calculated
dayLength: 24.0

# The maximum amount of idea groups per faction
maxIdeaGroups: 2

# The default manpower modifier for new factions
# Factions may get more manpower because of an idea
defaultManpowerModifier: 1.0

# The percentage the resource saturation can increase or decrease per day
saturationPerDay: 10

# If economy features should be used
economyEnabled: true

# The price to...
price:
  # ... create a new faction with /f create
  create: 1000.0
  # ... create a new vassal with /f createVassal
  createVassal: 1000.0
  # ...use /f home
  homeWarp: 5.0
  # ...change the relation status to another faction
  relation:
    REAL_UNION: 500.0
    VASSAL: 750.0
    PEACE: 0.0
    LORD: 0.0
    PERSONAL_UNION: 0.0
    COALITION: 0.0
    ENEMY: 0.0
    ALLIANCE: 750.0
  # ...claim land:
  claim:
    # The base price that you always pay
    base: 100.0
    # The additional price per chunk in the region
    perChunk: 10.0
    # The additional price per region that your faction already owns
    increase: 100.0

# The price to import / export resources = modifier * base price
importModifier: 2.0
exportModifier: 0.5

# The /f c [a|c|f] chat formats
chatFormat:
  ally: '&d[%relation_color%%faction_tag%&d] %relation_color%%player_prefix%&d%player_name%: '
  coalition: '&c[%relation_color%%faction_tag%&c] %relation_color%%player_prefix%&c%player_name%: '
  faction: '%relation_color%%player_prefix%&a%player_title% %player_name%: '

# If faction admins shall be allowed to bypass their users' protections in his territory
lwcEnabled: true

# If the wilderness shall be protected against griefs
wildernessProtected: true

# The maximum / minimum amount of power points per player
maxPower: 100
minPower: -100

# The power update interval in ticks
powerUpdateInterval: 1200

# The amount of power points that an online player gets per update
powerIncreaseRate: 1.0

# The amount of power points that an offline player loses per update
powerDecreaseRate: 0.01

# The amount of power points that a player loses when he dies
powerDeathLoss: 25.0

# If holograms shall be displayed at the home location of each faction. Requires HolographicDisplays
hologramsEnabled: true

# What they show
homeHologramText:
- '&4&lH O M E'
- '&a██████████'
- '&6&l=== %faction_long_tag% &6&l==='
- '&7&o%faction_capital%'
- '&a██████████'

# The TAB list entry / the nametag over the player's head
nametag:
  prefix: '%relation_color%%faction_tag% '

# Scoreboard settings
scoreboard:
  expiration: 7.0
  updateInterval: 1.0
  defaultPrefixes: true
  enabledByDefault: true
  factionlessEnabled: true
  defaultTitle: '&a%player_name%'
  # The default scoreboard content
  default:
  - '&6Your Faction'
  - '&7 %faction_tag%'
  - '&3Your Dynasty'
  - '&7 %player_dynasty%'
  - '&6Your Power'
  - '&7 %player_power%'
  - '&3Balance'
  - '&7 %player_balance%'
  # The scoreboard content when the player enters a faction territory
  factionInfo:
  - '&6Government Type'
  - '&7 %faction_gov_type%'
  - '&3Federation'
  - '&7 %federation_tag%'
  - '&6Leader'
  - '&7 %faction_admin%'
  - '&3Members'
  - '&7 %faction_online%/%faction_player_count%'
  - '&6Capital'
  - '&7 %faction_capital%'
  - '&3Stability / Power / Provinces'
  - '&7 %faction_stability%/%faction_power%/%faction_province_count%'
  # The scoreboard content when the player is not member of a faction
  factionless:
  - Join a faction!

# Livemap settings
dynmap:
  enabled: true
  layer:
    # The position in the list on the left
    priority:
      faction: 2
      region: 2
    minimumZoom: 0
  description:
    faction: |-
      <div class="infowindow">
      <span style="font-weight: bold; font-size: 150%;">%faction_long_tag%</span><br>
      <span style="font-style: italic; font-size: 110%;">%faction_description%</span><br><br>
      <span style="font-weight: bold;">Admin:</span> %faction_admin%<br>
      <span style="font-weight: bold;">Moderators:</span> %faction_mod_list%<br>
      <span style="font-weight: bold;">Members:</span> %faction_member_list%<br>
      <span style="font-weight: bold;">TOTAL:</span> %faction_player_count%<br>
      </br>
      <span style="font-weight: bold;">Bank:</span> %faction_balance%<br>
      <br>
      </div>
    region: |-
      <div class="infowindow">
      <span style="font-weight: bold; font-size: 150%;">%region_name% (%region_owner%)</span><br>
      <br>
      <span style="font-weight: bold;">Type:</span> %region_type%<br>
      <span style="font-weight: bold;">Level:</span> %region_level%<br>
      <span style="font-weight: bold;">Population:</span> %region_population%<br>
      </br>
      <span style="font-weight: bold;">Cores:</span> %region_core_list%<br>
      <span style="font-weight: bold;">Claims:</span> %region_claim_list%<br>
      <br>
      </div>
  # Add worlds where regions shall not be displayed
  hiddenWorlds: []
  # The RGB colors of region types, may be overriden for special regions
  regionTypeStyles:
    DESERT: '#FFCF21/#D0B203'
    MOUNTAINOUS: '#DADADA/#EDEDED'
    FARMLAND: '#A5F443/#72C143'
    CITY: '#8EADC8/#5D82AE'
    BARREN: '#816300/#9B8600'
    SEA: '#0088C2/#00C7C2'
    MAGIC: '#DF3418/#F8AB00'
    FOREST: '#103700/#557B4C'

# The resource base prices
resourcePrices:
  COAL: 20.0
  SULPHUR: 25.0
  GOLD: 800.0
  IRON: 75.0
  DIAMOND: 1000.0
  EMERALD: 750.0
  LAPIS_LAZULI: 400.0
  QUARTZ: 50.0
  REDSTONE: 40.0
  ANDESITE: 55.0
  DIORITE: 110.0
  GRANITE: 160.0
  GRAVEL: 2.5
  OBSIDIAN: 100.0
  STONE: 5.0
  CHICKEN: 15.0
  COW: 25.0
  HORSE: 100.0
  PIG: 20.0
  RABBIT: 10.0
  SHEEP: 20.0
  APPLE: 4.5
  BEETROOT: 3.75
  CARROT: 2.25
  CHORUS: 120.0
  COCOA: 50.0
  MELON: 4.0
  POTATO: 2.0
  PUMPKIN: 8.0
  SUGAR: 15.0
  WHEAT: 0.5
  ACACIA: 12.5
  BIRCH: 5.0
  DARK_OAK: 15.0
  JUNGLE: 10.0
  OAK: 3.0
  SPRUCE: 4.0
  PAPER: 1.5
  MUSHROOMS: 5.0
  CODFISH: 2.5
  CLOWNFISH: 50.0
  PUFFERFISH: 75.0
  SALMON: 10.0
  INK: 17.5
  SALT: 40.0
  WATER: 0.1
  CLAY: 15.0
  PRISMARINE: 150.0
  DRAGON_BREATH: 2500.0
  EXPERIENCE: 50.0
  NETHER_WART: 10.0
  PURPUR: 60.0
  CACTUS: 8.0
  GLASS: 12.0
  RED_SANDSTONE: 3.0
  YELLOW_SANDSTONE: 2.0
  CRAFT: 100.0
  MANPOWER: 4.0
  # This is basically money as a resource, so it should always be one unit of your currency
  TAXES: 1.0

# The resources that a faction gets for a province with the respective level
regionIncome:
  BARREN:
    1:
      GRAVEL: 3
    2:
      GRAVEL: 5
    3:
      GRAVEL: 8
    4:
      GRAVEL: 10
    5:
      GRAVEL: 12
  CITY:
    1:
      CRAFT: 2
      TAXES: 5
    2:
      CRAFT: 5
      TAXES: 20
    3:
      CRAFT: 10
      TAXES: 40
    4:
      CRAFT: 15
      TAXES: 70
    5:
      CRAFT: 20
      TAXES: 100

Clone this wiki locally