# Explanation for players: https://wiki.incredibleplugins.com/lands/players/general/nations

# Enable nations?
# NOTE: This setting requires server reload / restart.
enabled: false

nation:
  # Customize the creation
  creation:
    # Set the creation cost
    costs: 20000.0
    # Require a specific land level to be able to create a nation. You can set this to 1 in order to disable this.
    # NOTE: This must be the section name of the specific level.
    # This option requires server reload / restart.
    capital-level: 5

  # Nation name options
  name:
    # Should spaces be allowed in nation names?
    # Spaces will be replaced with an underscore, when being displayed as a command parameter.
    # Disabling this option at a later time, will also remove spaces from existing nations.
    spaces: false
    # Maximum nation name length
    # The maximum possible length is 80 when using MySQL and 32 when using SQLite (including color codes).
    # How to filter names: https://wiki.incredibleplugins.com/general/locale-and-config/messages#filter-swear-words-and-forbidden-names
    length: 24
    # Should colors be allowed in nation names?
    # Disabling this option at a later time, will also remove color from existing nations.
    color: true
    # Should nation names be allowed to include formatting, such as bold, underlined etc.?
    format: true
    # Should numbers be allowed in nation names?
    numbers: true
    # Allow only latin letters for nation names?
    # If enabled: They won't be able to use chinese letters etc.
    only-latin: false

    # Rename settings
    # Command: /nations rename
    rename:
      # Costs x each time the name is changed.
      costs_2: 10000.0
      # Nation needs to wait x until they can change their name again.
      # Bypass permission: lands.bypass.cooldown.rename_nation
      cooldown_rename_time: 1d

  # Nation tag options
  tag:
    # Enable tags?
    # NOTE: This setting required server reload / restart.
    enabled_2: true
    # Maximum nation tag length
    # The maximum possible length is 80 when using MySQL and 32 when using SQLite (including color codes).
    length_2: 4
    # Should colors be allowed in nation tags?
    # Disabling this option at a later time, will also remove color from existing nations.
    color_2: false
    # Should nation tags be allowed to include formatting, such as bold, underlined etc.?
    format_2: false
    # Should numbers be allowed in nation tags?
    numbers_2: false
    # Allow only latin letters for nation tags?
    # If enabled: They won't be able to use chinese letters etc.
    only-latin_2: false

# Land related settings
land:
  # Set a maximum distance between the capital and the land that they want to invite to their nation.
  # 0 disables this option.
  max-distance: 0


# Let lands, which are part of a nation pay taxes.
# If a land is member of a nation they won't pay upkeep to the server anymore. Instead
# they will pay taxes to the nation. To prevent abuse of this, it's recommended enabling nations upkeep,
# so the nation needs to pay upkeep to the server depending on their size.
# NOTE: This option is bound to the upkeep option from config.yml. Upkeep needs to be enabled in config.yml.
taxes:
  # Set the minimum tax value per chunk.
  min: 0
  # Set the maximum tax value the nation should be able to set PER CHUNK of their lands?
  # NOTE: Final payment would be for each land: land size (chunks) * cost
  max: 5.0
  # Use the configured land upkeep as the minimum amount
  # Should a land be removed from the nation, if it can't pay the tax?
  remove-land: true


# Let a nation pay money to the server in order to keep it up.
upkeep:
  enabled_4: true
  # Set the upkeep costs for a nation per chunk.
  per-chunk: 3.0
  # Should a nation get deleted if it can't pay the upkeep costs?
  # NOTE: This does not delete any lands.
  delete-nation: true
  # Exclude nation from upkeep, if it was recently created?
  # This excludes nations from their first upkeep payment, if they're younger than x time.
  nopay_time: 2d
