Advertisement
Momshroom

towny config.yml

Jan 1st, 2020
2,292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 61.40 KB | None | 0 0
  1. xversion:
  2.   version: 0.94.0.10
  3.   last_run_version: 0.94.0.10
  4. # The language file you wish to use
  5. language: english.yml
  6.  
  7. ############################################################
  8. # +------------------------------------------------------+ #
  9. # |                   Permission nodes                   | #
  10. # +------------------------------------------------------+ #
  11. ############################################################
  12.  
  13. #  Possible permission nodes
  14. #
  15. #    for a full list of permission nodes visit:
  16. #    https://github.com/TownyAdvanced/Towny/wiki/Towny-Permission-Nodes
  17. permissions: ''
  18.  
  19. ############################################################
  20. # +------------------------------------------------------+ #
  21. # |                Town and Nation levels                | #
  22. # +------------------------------------------------------+ #
  23. ############################################################
  24.  
  25. levels:
  26.  # default Town levels.
  27.   town_level:
  28.   - numResidents: 0
  29.     namePostfix: ' Ruins'
  30.     mayorPrefix: '§bSpirit§f '
  31.     namePrefix: ''
  32.     mayorPostfix: ''
  33.     townBlockLimit: 1
  34.     upkeepModifier: 1.0
  35.     townOutpostLimit: 0
  36.     townBlockBuyBonusLimit: 0
  37.   - numResidents: 1
  38.     namePostfix: ' (Settlement)'
  39.     mayorPrefix: '§bHermit§f '
  40.     namePrefix: ''
  41.     mayorPostfix: ''
  42.     townBlockLimit: 16
  43.     upkeepModifier: 1.0
  44.     townOutpostLimit: 0
  45.     townBlockBuyBonusLimit: 100
  46.   - numResidents: 2
  47.     namePostfix: ' (Hamlet)'
  48.     mayorPrefix: '§bElder§f '
  49.     namePrefix: ''
  50.     mayorPostfix: ''
  51.     townBlockLimit: 32
  52.     upkeepModifier: 0.95
  53.     townOutpostLimit: 1
  54.     townBlockBuyBonusLimit: 200
  55.   - numResidents: 6
  56.     namePostfix: ' (Village)'
  57.     mayorPrefix: '§bChief§f '
  58.     namePrefix: ''
  59.     mayorPostfix: ''
  60.     townBlockLimit: 96
  61.     upkeepModifier: 0.9
  62.     townOutpostLimit: 1
  63.     townBlockBuyBonusLimit: 300
  64.   - numResidents: 10
  65.     namePostfix: ' (Town)'
  66.     mayorPrefix: '§bMayor§f '
  67.     namePrefix: ''
  68.     mayorPostfix: ''
  69.     townBlockLimit: 160
  70.     upkeepModifier: 0.85
  71.     townOutpostLimit: 2
  72.     townBlockBuyBonusLimit: 400
  73.   - numResidents: 14
  74.     namePostfix: ' (Large Town)'
  75.     mayorPrefix: '§bMayor§f '
  76.     namePrefix: ''
  77.     mayorPostfix: ''
  78.     townBlockLimit: 224
  79.     upkeepModifier: 0.8
  80.     townOutpostLimit: 2
  81.     townBlockBuyBonusLimit: 500
  82.   - numResidents: 20
  83.     namePostfix: ' (City)'
  84.     mayorPrefix: '§bGovernor§2 '
  85.     namePrefix: ''
  86.     mayorPostfix: ''
  87.     townBlockLimit: 320
  88.     upkeepModifier: 0.75
  89.     townOutpostLimit: 3
  90.     townBlockBuyBonusLimit: 600
  91.   - numResidents: 24
  92.     namePostfix: ' (Large City)'
  93.     mayorPrefix: '§bNoble§2 '
  94.     namePrefix: ''
  95.     mayorPostfix: ''
  96.     townBlockLimit: 384
  97.     upkeepModifier: 0.7
  98.     townOutpostLimit: 3
  99.     townBlockBuyBonusLimit: 800
  100.   - numResidents: 28
  101.     namePostfix: ' (Metropolis)'
  102.     mayorPrefix: '§bAristocrat§2 '
  103.     namePrefix: ''
  104.     mayorPostfix: ''
  105.     townBlockLimit: 448
  106.     upkeepModifier: 0.65
  107.     townOutpostLimit: 4
  108.     townBlockBuyBonusLimit: 1000
  109.   # default Nation levels.
  110.   nation_level:
  111.   - kingPostfix: ''
  112.     capitalPostfix: ''
  113.     upkeepModifier: 1.0
  114.     kingPrefix: '§6Leader§2 '
  115.     capitalPrefix: ''
  116.     numResidents: 0
  117.     nationBonusOutpostLimit: 0
  118.     namePostfix: ' (Nation)'
  119.     townBlockLimitBonus: 10
  120.     namePrefix: 'Land of '
  121.     nationZonesSize: 1
  122.     nationTownUpkeepModifier: 1.05
  123.   - kingPostfix: ''
  124.     capitalPostfix: ''
  125.     upkeepModifier: 2.0
  126.     kingPrefix: '§6Magistrate§2 '
  127.     capitalPrefix: ''
  128.     numResidents: 10
  129.     nationBonusOutpostLimit: 1
  130.     namePostfix: ' (Nation)'
  131.     townBlockLimitBonus: 20
  132.     namePrefix: 'Federation of '
  133.     nationZonesSize: 1
  134.     nationTownUpkeepModifier: 1.1
  135.   - kingPostfix: ''
  136.     capitalPostfix: ''
  137.     upkeepModifier: 3.0
  138.     kingPrefix: '§6Ruler§2 '
  139.     capitalPrefix: ''
  140.     numResidents: 20
  141.     nationBonusOutpostLimit: 2
  142.     namePostfix: ' (Nation)'
  143.     townBlockLimitBonus: 40
  144.     namePrefix: 'Dominion of '
  145.     nationZonesSize: 1
  146.     nationTownUpkeepModifier: 1.2
  147.   - kingPostfix: ''
  148.     capitalPostfix: ''
  149.     upkeepModifier: 4.0
  150.     kingPrefix: '§6PrimeMinister§2 '
  151.     capitalPrefix: ''
  152.     numResidents: 30
  153.     nationBonusOutpostLimit: 3
  154.     namePostfix: ' (Nation)'
  155.     townBlockLimitBonus: 60
  156.     namePrefix: 'Kingdom of '
  157.     nationZonesSize: 2
  158.     nationTownUpkeepModifier: 1.3
  159.   - kingPostfix: ''
  160.     capitalPostfix: ''
  161.     upkeepModifier: 5.0
  162.     kingPrefix: '§6President§2 '
  163.     capitalPrefix: ''
  164.     numResidents: 40
  165.     nationBonusOutpostLimit: 4
  166.     namePostfix: ' Empire'
  167.     townBlockLimitBonus: 100
  168.     namePrefix: 'The '
  169.     nationZonesSize: 2
  170.     nationTownUpkeepModifier: 1.4
  171.   - kingPostfix: ''
  172.     capitalPostfix: ''
  173.     upkeepModifier: 6.0
  174.     kingPrefix: '§6Sovereign§2 '
  175.     capitalPrefix: ''
  176.     numResidents: 60
  177.     nationBonusOutpostLimit: 5
  178.     namePostfix: ' Realm'
  179.     townBlockLimitBonus: 140
  180.     namePrefix: 'The '
  181.     nationZonesSize: 3
  182.     nationTownUpkeepModifier: 1.5
  183.  
  184. ############################################################
  185. # +------------------------------------------------------+ #
  186. # |               Town Claim/new defaults                | #
  187. # +------------------------------------------------------+ #
  188. ############################################################
  189.  
  190. town:
  191.  # Default public status of the town (used for /town spawn)
  192.   default_public: 'false'
  193.   # Default Open status of the town (are new towns open and joinable by anyone at creation?)
  194.   default_open: 'false'
  195.   # Default tax settings for new towns.
  196.   default_taxes:
  197.    # Default amount of tax of a new town. This must be lower than the economy.daily_taxes.max_tax_percent setting.
  198.     tax: '5.0'
  199.     # Default amount of shop tax of a new town.
  200.     shop_tax: '10.0'
  201.     # Default amount of embassy tax of a new town.
  202.     embassy_tax: '10.0'
  203.     # Default amount for town's plottax costs.
  204.     plot_tax: '5.0'
  205.     # Default status of new town's taxpercentage. True means that the default_tax is treated as a percentage instead of a fixed amount.
  206.     taxpercentage: 'false'
  207.     # A required minimum tax amount for the default_tax, will not change any towns which already have a tax set.
  208.     # Do not forget to set the default_tax to more than 0 or new towns will still begin with a tax of zero.
  209.     minimumtax: '0.0'
  210.   # Limits the maximum amount of bonus blocks a town can buy.
  211.   # This setting does nothing when town.max_purchased_blocks_uses_town_levels is set to true.
  212.   max_purchased_blocks: '1000'
  213.   # When set to true, the town_level section of the config determines the maximum number of bonus blocks a town can purchase.
  214.   max_purchased_blocks_uses_town_levels: 'true'
  215.   # maximum number of plots any single resident can own
  216.   max_plots_per_resident: '100'
  217.   # maximum number used in /town claim/unclaim # commands.
  218.   # set to 0 to disable limiting of claim radius value check.
  219.   # keep in mind that the default value of 4 is a radius,
  220.   # and it will allow claiming 9x9 (80 plots) at once.
  221.   max_claim_radius_value: '4'
  222.   # Maximum number of towns allowed on the server.
  223.   town_limit: '3000'
  224.  
  225.   # Minimum number of plots any towns plot must be from the next town's own plots.
  226.   # This will prevent town encasement to a certain degree.
  227.   min_plot_distance_from_town_plot: '5'
  228.  
  229.   # Minimum number of plots any towns home plot must be from the next town.
  230.   # This will prevent someone founding a town right on your doorstep
  231.   min_distance_from_town_homeblock: '5'
  232.  
  233.   # Minimum number of plots an outpost must be from any other town's plots.
  234.   # Useful when min_plot_distance_from_town_plot is set to near-zero to allow towns to have claims
  235.   # near to each other, but want to keep outposts away from towns.
  236.   min_distance_for_outpost_from_plot: '5'
  237.  
  238.   # Maximum distance between homeblocks.
  239.   # This will force players to build close together.
  240.   max_distance_between_homeblocks: '0'
  241.  
  242.   # The maximum townblocks available to a town is (numResidents * ratio).
  243.   # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  244.   town_block_ratio: '9'
  245.   # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  246.   # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  247.   # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  248.   # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  249.   town_block_size: '16'
  250.  
  251.  
  252.   ############################################################
  253.   # +------------------------------------------------------+ #
  254.   # |             Default new world settings               | #
  255.   # +------------------------------------------------------+ #
  256.   ############################################################
  257.  
  258.   # These flags are only used at the initial setup of a new world.
  259.  
  260.   # Once Towny is running each world can be altered from within game
  261.   # using '/townyworld toggle'
  262.  
  263. new_world_settings:
  264.  # Default for new worlds to have towny enabled.
  265.   using_towny: 'true'
  266.  
  267.   pvp:
  268.    # Set if PVP is enabled in this world
  269.     world_pvp: 'true'
  270.     # force_pvp_on is a global flag and overrides any towns flag setting
  271.     force_pvp_on: 'false'
  272.     # If set to false the world will not be included in war events.
  273.     war_allowed: 'true'
  274.  
  275.   mobs:
  276.    # world_monsters_on is a global flag setting per world.
  277.     world_monsters_on: 'true'
  278.     # force_town_monsters_on is a global flag and overrides any towns flag setting
  279.     force_town_monsters_on: 'false'
  280.  
  281.   explosions:
  282.    # Allow explosions in this world
  283.     world_explosions_enabled: 'false'
  284.     # force_explosions_on is a global flag and overrides any towns flag setting
  285.     force_explosions_on: 'false'
  286.  
  287.   fire:
  288.    # Allow fire to be lit and spread in this world.
  289.     world_firespread_enabled: 'false'
  290.     # force_fire_on is a global flag and overrides any towns flag setting
  291.     force_fire_on: 'false'
  292.  
  293.   # Prevent Endermen from picking up and placing blocks.
  294.   enderman_protect: 'true'
  295.   # Disable players trampling crops
  296.   disable_player_crop_trampling: 'true'
  297.   # Disable creatures trampling crops
  298.   disable_creature_crop_trampling: 'true'
  299.  
  300.   # World management settings to deal with un/claiming plots
  301.   plot_management:
  302.     block_delete:
  303.       enabled: 'false'
  304.       # These items will be deleted upon a plot being unclaimed
  305.       unclaim_delete: ACACIA_SIGN,BIRCH_SIGN,DARK_OAK_SIGN,JUNGLE_SIGN,OAK_SIGN,SPRUCE_SIGN,WOODEN_DOOR,ACACIA_WALL_SIGN,BIRCH_WALL_SIGN,DARK_OAK_WALL_SIGN,JUNGLE_WALL_SIGN,OAK_WALL_SIGN,SPRUCE_WALL_SIGN,IRON_DOOR_BLOCK
  306.  
  307.     mayor_plotblock_delete:
  308.       enabled: 'false'
  309.       # These items will be deleted upon a mayor using /plot clear
  310.       # To disable deleting replace the current entries with NONE.
  311.       mayor_plot_delete: ACACIA_WALL_SIGN,BIRCH_WALL_SIGN,DARK_OAK_WALL_SIGN,JUNGLE_WALL_SIGN,OAK_WALL_SIGN,SPRUCE_WALL_SIGN,ACACIA_SIGN,BIRCH_SIGN,DARK_OAK_SIGN,JUNGLE_SIGN,OAK_SIGN,SPRUCE_SIGN
  312.  
  313.     revert_on_unclaim:
  314.      # *** WARNING***
  315.       # If this is enabled any town plots which become unclaimed will
  316.       # slowly be reverted to a snapshot taken before the plot was claimed.
  317.       #
  318.       # Regeneration will only work if the plot was
  319.       # claimed under version 0.76.2, or
  320.       # later with this feature enabled
  321.       # Unlike the rest of this config section, the speed setting is not
  322.       # set per-world. What you set for speed will be used in all worlds.
  323.       #
  324.       # If you allow players to break/build in the wild the snapshot will
  325.       # include any changes made before the plot was claimed.
  326.       enabled: 'false'
  327.       speed: 1s
  328.       # These block types will NOT be regenerated
  329.       block_ignore: GOLD_ORE,LAPIS_ORE,LAPIS_BLOCK,GOLD_BLOCK,IRON_BLOCK,MOSSY_COBBLESTONE,TORCH,MOB_SPAWNER,DIAMOND_ORE,DIAMOND_BLOCK,ACACIA_SIGN,BIRCH_SIGN,DARK_OAK_SIGN,JUNGLE_SIGN,OAK_SIGN,SPRUCE_SIGN,ACACIA_WALL_SIGN,BIRCH_WALL_SIGN,DARK_OAK_WALL_SIGN,JUNGLE_WALL_SIGN,OAK_WALL_SIGN,SPRUCE_WALL_SIGN,GLOWSTONE
  330.  
  331.     wild_revert_on_mob_explosion:
  332.      # Enabling this will slowly regenerate holes created in the
  333.       # wilderness by monsters exploding.
  334.       enabled: 'false'
  335.       entities: Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,LargeFireball,TNTPrimed,ExplosiveMinecart
  336.       delay: 20s
  337.  
  338.  
  339.   ############################################################
  340.   # +------------------------------------------------------+ #
  341.   # |                Global town settings                  | #
  342.   # +------------------------------------------------------+ #
  343.   ############################################################
  344.  
  345. global_town_settings:
  346.  # can residents/Allies harm other residents when in an area with pvp enabled? Other than an Arena plot.
  347.   friendly_fire: 'true'
  348.   # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  349.   health_regen:
  350.     speed: 3s
  351.     enable: 'true'
  352.   # Allow towns to claim outposts (a townblock not connected to town).
  353.   allow_outposts: 'true'
  354.   # When set to true outposts can be limited by the townOutpostLimit value of the Town Levels and
  355.   # the nationBonusOutpostLimit value in the Nation Levels. In this way nations can be made to be
  356.   # the only way of receiving outposts, or as an incentive to receive more outposts. Towns which are
  357.   # larger can have more outposts.
  358.   # When activated, this setting will not cause towns who already have higher than their limit
  359.   # to lose outposts. They will not be able to start new outposts until they have unclaimed outposts
  360.   # to become under their limit. Likewise, towns that join a nation and receive bonus outposts will
  361.   # be over their limit if they leave the nation.
  362.   limit_outposts_using_town_and_nation_levels: 'true'
  363.   # When limit_outposts_using_town_and_nation_levels is also true, towns which are over their outpost
  364.   # limit will not be able to use their /town outpost teleports for the outpost #'s higher than their limit,
  365.   # until they have dropped below their limit.
  366.   # eg: If their limit is 3 then they cannot use /t outpost 4
  367.   over_outpost_limits_stops_teleports: 'false'
  368.   # Allow the use of /town spawn
  369.   # Valid values are: true, false, war, peace
  370.   # When war or peace is set, it is only possible to teleport to the town,
  371.   # when there is a war or peace.
  372.   allow_town_spawn: 'true'
  373.   # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  374.   # Valid values are: true, false, war, peace
  375.   # When war or peace is set, it is only possible to teleport to the town,
  376.   # when there is a war or peace.
  377.   allow_town_spawn_travel: 'true'
  378.   # Allow regular residents to use /town spawn [town] to other towns in your nation.
  379.   # Valid values are: true, false, war, peace
  380.   # When war or peace is set, it is only possible to teleport to the town,
  381.   # when there is a war or peace.
  382.   allow_town_spawn_travel_nation: 'true'
  383.   # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
  384.   # Valid values are: true, false, war, peace
  385.   # When war or peace is set, it is only possible to teleport to the town,
  386.   # when there is a war or peace.
  387.   allow_town_spawn_travel_ally: 'true'
  388.   # When set to true both nation and ally spawn travel will also require the target town to have their status set to public.
  389.   is_nation_ally_spawning_requiring_public_status: 'true'
  390.   # If non zero it delays any spawn request by x seconds.
  391.   teleport_warmup_time: '3'
  392.   # Number of seconds that must pass before a player can use /t spawn or /res spawn.
  393.   spawn_cooldown_time: '3'
  394.   # Number of seconds that must pass before pvp can be toggled by a town.
  395.   # Applies to residents of the town using /res toggle pvp, as well as
  396.   # plots having their PVP toggled using /plot toggle pvp.
  397.   pvp_cooldown_time: '30'
  398.   # Respawn the player at his town spawn point when he/she dies
  399.   town_respawn: 'false'
  400.   # Town respawn only happens when the player dies in the same world as the town's spawn point.
  401.   town_respawn_same_world_only: 'false'
  402.   # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  403.   # Allowed options: unclaimed,enemy,neutral
  404.   prevent_town_spawn_in: enemy
  405.   # Enables the [~Home] message.
  406.   # If false it will make it harder for enemies to find the home block during a war
  407.   show_town_notifications: 'true'
  408.   # The required number of residents in a town to join a nation
  409.   # If the number is 0, towns will not require a certain amount of residents to join a nation
  410.   required_number_residents_join_nation: '0'
  411.   # The required number of residents in a town to create a nation
  412.   # If the number is 0, towns will not require a certain amount of residents to create a nation
  413.   required_number_residents_create_nation: '0'
  414.   # If set to true, if a nation is disbanded due to a lack of residents, the capital will be refunded the cost of nation creation.
  415.   refund_disband_low_residents: 'true'
  416.   # The maximum number of townblocks a town can be away from a nation capital,
  417.   # Automatically precludes towns from one world joining a nation in another world.
  418.   # If the number is 0, towns will not a proximity to a nation.
  419.   nation_requires_proximity: '0.0'
  420.   # List of blocks which can be modified on farm plots, as long as player is also allowed in the plot's '/plot perm' line.
  421.   # Not included by default but some servers add GRASS_BLOCK,FARMLAND,DIRT to their list.
  422.   farm_plot_allow_blocks: GRASS_BLOCK,FARMLAND,DIRT,BAMBOO,BAMBOO_SAPLING,JUNGLE_LOG,JUNGLE_SAPLING,JUNGLE_LEAVES,OAK_LOG,OAK_SAPLING,OAK_LEAVES,BIRCH_LOG,BIRCH_SAPLING,BIRCH_LEAVES,ACACIA_LOG,ACACIA_SAPLING,ACACIA_LEAVES,DARK_OAK_LOG,DARK_OAK_SAPLING,DARK_OAK_LEAVES,SPRUCE_LOG,SPRUCE_SAPLING,SPRUCE_LEAVES,BEETROOTS,COCOA,CHORUS_PLANT,CHORUS_FLOWER,SWEET_BERRY_BUSH,KELP,SEAGRASS,TALL_SEAGRASS,GRASS,TALL_GRASS,FERN,LARGE_FERN,CARROTS,WHEAT,POTATOES,PUMPKIN,PUMPKIN_STEM,ATTACHED_PUMPKIN_STEM,NETHER_WART,COCOA,VINE,MELON,MELON_STEM,ATTACHED_MELON_STEM,SUGAR_CANE,CACTUS
  423.   # List of animals which can be killed on farm plots by town residents.
  424.   farm_animals: PIG,COW,CHICKEN,SHEEP,MOOSHROOM
  425.   # The maximum number of residents that can be joined to a town. Setting to 0 disables this feature.
  426.   max_residents_per_town: '0'
  427.   # If Towny should show players the townboard when they login
  428.   display_board_onlogin: 'true'
  429.   # If set to true, Towny will prevent a town from toggling PVP while an outsider is within the town's boundaries.
  430.   # When active this feature can cause a bit of lag when the /t toggle pvp command is used, depending on how many players are online.
  431.   outsiders_prevent_pvp_toggle: 'false'
  432.   # If set to true, when a world has forcepvp set to true, homeblocks of towns will not be affected and have PVP set to off.
  433.   homeblocks_prevent_forcepvp: 'false'
  434.   # The amount of residents a town needs to claim an outpost,
  435.   # Setting this value to 0, means a town can claim outposts no matter how many residents
  436.   minimum_amount_of_residents_in_town_for_outpost: '0'
  437.   # If People should keep their inventories on death in a town
  438.   # Is not guaranteed to work with other keep inventory plugins!
  439.   keep_inventory_on_death_in_town: 'false'
  440.   # If People should keep their experience on death in a town
  441.   # Is not guaranteed to work with other keep experience plugins!
  442.   keep_experience_on_death_in_town: 'false'
  443.   # Maximum amount that a town can set their plot, embassy, shop, etc plots' prices to.
  444.   # Setting this higher can be dangerous if you use Towny in a mysql database. Large numbers can become shortened to scientific notation.
  445.   maximum_plot_price_cost: '1000000.0'
  446.   # If set to true, the /town screen will display the xyz coordinate for a town's spawn rather than the homeblock's Towny coords.
  447.   display_xyz_instead_of_towny_coords: 'false'
  448.   # If set to true the /town list command will list randomly, rather than by whichever comparator is used, hiding resident counts.
  449.   display_town_list_randomly: 'false'
  450.  
  451.  
  452.   ############################################################
  453.   # +------------------------------------------------------+ #
  454.   # |              Global nation settings                  | #
  455.   # +------------------------------------------------------+ #
  456.   ############################################################
  457.  
  458. global_nation_settings:
  459.   # Nation Zones are a special type of wilderness surrounding Capitals of Nations or Nation Capitals and their Towns.
  460.   # When it is enabled players who are members of the nation can use the wilderness surrounding the town like normal.
  461.   # Players who are not part of that nation will find themselves unable to break/build/switch/itemuse in this part of the wilderness.
  462.   # The amount of townblocks used for the zone is determined by the size of the nation and configured in the nation levels.
  463.   # Because these zones are still wilderness anyone can claim these townblocks.
  464.   # It is recommended that whatever size you choose, these numbers should be less than the min_plot_distance_from_town_plot otherwise
  465.   # someone might not be able to build/destroy in the wilderness outside their town.
  466.   nationzone:
  467.     # Nation zone feature is disabled by default. This is because it can cause a higher server load for servers with a large player count.
  468.     enable: 'true'
  469.  
  470.     # When set to true, only the capital town of a nation will be surrounded by a nation zone type of wilderness.
  471.     only_capitals: 'false'
  472.  
  473.     # Amount of buffer added to nation zone width surrounding capitals only. Creates a larger buffer around nation capitals.
  474.     capital_bonus_size: '1'
  475.  
  476.     # When set to true, nation zones are disabled during the the Towny war types.
  477.     war_disables: 'true'
  478.  
  479.     # When set to true, players will receive a notification when they enter into a nationzone.
  480.     # Set to false by default because, like the nationzone feature, it will generate more load on servers.
  481.     show_notifications: 'true'
  482.   # If Towny should show players the nationboard when they login.
  483.   display_board_onlogin: 'true'
  484.   # If enabled, only allow the nation spawn to be set in the capital city.
  485.   capital_spawn: 'true'
  486.   # Allow the use of /nation spawn
  487.   # Valid values are: true, false, war, peace
  488.   # When war or peace is set, it is only possible to teleport to the nation,
  489.   # when there is a war or peace.
  490.   allow_nation_spawn: 'true'
  491.   # Allow regular residents to use /nation spawn [nation] (TP to other nations if they are public).
  492.   # Valid values are: true, false, war, peace
  493.   # When war or peace is set, it is only possible to teleport to the nation,
  494.   # when there is a war or peace.
  495.   allow_nation_spawn_travel: 'true'
  496.   # Allow regular residents to use /nation spawn [nation] to other nations allied with your nation.
  497.   # Valid values are: true, false, war, peace
  498.   # When war or peace is set, it is only possible to teleport to the nations,
  499.   # when there is a war or peace.
  500.   allow_nation_spawn_travel_ally: 'true'
  501.   # If higher than 0, it will limit how many towns can be joined into a nation.
  502.   # Does not affect existing nations that are already over the limit.
  503.   max_towns_per_nation: '0'
  504.   default:
  505.    # If set to true, any newly made nation will have their spawn set to public.
  506.     public: 'false'
  507.     # If set to true, any newly made nation will have open status and any town may join without an invite.
  508.     open: 'false'
  509.  
  510.  
  511.   ############################################################
  512.   # +------------------------------------------------------+ #
  513.   # |                 Plugin interfacing                   | #
  514.   # +------------------------------------------------------+ #
  515.   ############################################################
  516.  
  517. plugin:
  518.   # Valid load and save types are: flatfile, mysql, h2.
  519.   database:
  520.     database_load: mysql
  521.     database_save: mysql
  522.  
  523.     # SQL database connection details (IF set to use SQL).
  524.     sql:
  525.       hostname: localhost
  526.       port: '3306'
  527.       dbname: redacted
  528.       table_prefix: redacted
  529.       username: redacted
  530.       password: redacted
  531.       ssl: 'false'
  532.  
  533.     # Flatfile backup settings.
  534.     daily_backups: 'true'
  535.     backups_are_deleted_after: 90d
  536.  
  537.     # Valid entries are: zip, none.
  538.     flatfile_backup: zip
  539.  
  540.   interfacing:
  541.     tekkit:
  542.      # Add any fake players for client/server mods (aka Tekkit) here
  543.       fake_residents: '[IndustrialCraft],[BuildCraft],[Redpower],[Forestry],[Turtle]'
  544.  
  545.     # Enable using_essentials if you are using cooldowns in essentials for teleports.
  546.     using_essentials: 'false'
  547.  
  548.     # This enables/disables all the economy functions of Towny.
  549.     # This will first attempt to use Vault or Reserve to bridge your economy plugin with Towny.
  550.     # If Reserve/Vault is not present it will attempt to find a supported economy plugin.
  551.     # If neither Vault/Reserve or supported economy are present it will not be possible to create towns or do any operations that require money.
  552.     using_economy: 'true'
  553.  
  554.   day_timer:
  555.    # The number of hours in each "day".
  556.     # You can configure for 10 hour days. Default is 24 hours.
  557.     day_interval: 1d
  558.     # The time each "day", when taxes will be collected.
  559.     # MUST be less than day_interval. Default is 12h (midday).
  560.     new_day_time: 12h
  561.  
  562.   # Lots of messages to tell you what's going on in the server with time taken for events.
  563.   debug_mode: 'false'
  564.  
  565.   # Info tool for server admins to use to query in game blocks and entities.
  566.   info_tool: BRICK
  567.  
  568.   # Spams the player named in dev_name with all messages related to towny.
  569.   dev_mode:
  570.     enable: 'false'
  571.     dev_name: Momshroom
  572.  
  573.   # Record all messages to the towny.log
  574.   logging: 'true'
  575.   # If true this will cause the log to be wiped at every startup.
  576.   reset_log_on_boot: 'false'
  577.  
  578.  
  579.   ############################################################
  580.   # +------------------------------------------------------+ #
  581.   # |               Filters colour and chat                | #
  582.   # +------------------------------------------------------+ #
  583.   ############################################################
  584.  
  585. filters_colour_chat:
  586.  # This is the name given to any NPC assigned mayor.
  587.   npc_prefix: NPC
  588.   # Regex fields used in validating inputs.
  589.   regex:
  590.     name_filter_regex: '[ /]'
  591.     name_check_regex: ^[a-zA-Z0-9._\[\]-]*$
  592.     string_check_regex: ^[a-zA-Z0-9\s._\[\]\#\?\!\@\$\%\^\&\*\-\,\*\(\)\{\}]*$
  593.     name_remove_regex: '[^a-zA-Z0-9._\[\]-]'
  594.  
  595.   modify_chat:
  596.    # Maximum length of Town and Nation names.
  597.     max_name_length: '14'
  598.     # Maximum length of titles and surnames.
  599.     max_title_length: '10'
  600.  
  601.   # See the Placeholders wiki page for list of PAPI placeholders.
  602.   # https://github.com/TownyAdvanced/Towny/wiki/Placeholders
  603.   papi_chat_formatting:
  604.    # When using PlaceholderAPI, and a tag would show both nation and town, this will determine how they are formatted.
  605.     both: '&f[&6%n&f|&b%t&f] '
  606.     # When using PlaceholderAPI, and a tag would showing a town, this will determine how it is formatted.
  607.     town: '&f[&b%s&f] '
  608.     # When using PlaceholderAPI, and a tag would show a nation, this will determine how it is formatted.
  609.     nation: '&f[&6%s&f] '
  610.     # Colour code applied to player names using the %townyadvanced_towny_colour% placeholder.
  611.     ranks:
  612.       nomad: '&f'
  613.       resident: '&f'
  614.       mayor: '&b'
  615.       king: '&6'
  616.  
  617.  
  618.   ############################################################
  619.   # +------------------------------------------------------+ #
  620.   # |             block/item/mob protection                | #
  621.   # +------------------------------------------------------+ #
  622.   ############################################################
  623.  
  624. protection:
  625.   # Items that can be blocked within towns via town/plot flags
  626.   # 259 - flint and steel
  627.   # 325 - bucket
  628.   # 326 - water bucket
  629.   # 327 - lava bucket
  630.   # 351 - bone/bonemeal
  631.   # 359 - shears
  632.   # 368 - ender pearl
  633.   # 374 - glass bottle
  634.   # 385 - fire charge
  635.   item_use_ids: BONE_MEAL,FLINT_AND_STEEL,BUCKET,WATER_BUCKET,LAVA_BUCKET,MINECART,STORAGE_MINECART,INK_SACK,SHEARS,ENDER_PEARL,GLASS_BOTTLE,FIREBALL,ARMOR_STAND,SKULL_ITEM,BIRCH_BOAT,ACACIA_BOAT,DARK_OAK_BOAT,JUNGLE_BOAT,OAK_BOAT,SPRUCE_BOAT,END_CRYSTAL,POWERED_MINECART,COMMAND_MINECART,EXPLOSIVE_MINECART,HOPPER_MINECART,CHORUS_FRUIT,BLACK_DYE,BLUE_DYE,BROWN_DYE,CYAN_DYE,GRAY_DYE,GREEN_DYE,LIGHT_BLUE_DYE,LIGHT_GRAY_DYE,LIME_DYE,MAGENTA_DYE,ORANGE_DYE,PINK_DYE,PURPLE_DYE,RED_DYE,WHITE_DYE,YELLOW_DYE
  636.  
  637.   # Items which can be blocked or enabled via town/plot flags
  638.   # 25 - noteblock
  639.   # 54 - chest ...etc
  640.   switch_ids: BREWING_STAND,JUKEBOX,NOTE_BLOCK,BEACON,CHEST,TRAPPED_CHEST,FURNACE,DISPENSER,HOPPER,DROPPER,LEVER,COMPARATOR,REPEATER,STONE_PRESSURE_PLATE,ACACIA_PRESSURE_PLATE,BIRCH_PRESSURE_PLATE,DARK_OAK_PRESSURE_PLATE,JUNGLE_PRESSURE_PLATE,OAK_PRESSURE_PLATE,SPRUCE_PRESSURE_PLATE,HEAVY_WEIGHTED_PRESSURE_PLATE,LIGHT_WEIGHTED_PRESSURE_PLATE,STONE_BUTTON,ACACIA_BUTTON,BIRCH_BUTTON,DARK_OAK_BUTTON,JUNGLE_BUTTON,OAK_BUTTON,SPRUCE_BUTTON,ACACIA_DOOR,BIRCH_DOOR,DARK_OAK_DOOR,JUNGLE_DOOR,OAK_DOOR,SPRUCE_DOOR,ACACIA_FENCE_GATE,BIRCH_FENCE_GATE,DARK_OAK_FENCE_GATE,OAK_FENCE_GATE,JUNGLE_FENCE_GATE,SPRUCE_FENCE_GATE,ACACIA_TRAPDOOR,BIRCH_TRAPDOOR,DARK_OAK_TRAPDOOR,JUNGLE_TRAPDOOR,OAK_TRAPDOOR,SPRUCE_TRAPDOOR,MINECART,COMMAND_BLOCK_MINECART,CHEST_MINECART,FURNACE_MINECART,HOPPER_MINECART,TNT_MINECART,LIGHT_GRAY_SHULKER_BOX,SHULKER_BOX,WHITE_SHULKER_BOX,ORANGE_SHULKER_BOX,MAGENTA_SHULKER_BOX,LIGHT_BLUE_SHULKER_BOX,YELLOW_SHULKER_BOX,LIME_SHULKER_BOX,PINK_SHULKER_BOX,GRAY_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX,CARROT_STICK,DAYLIGHT_DETECTOR,STONECUTTER,SMITHING_TABLE,FLETCHING_TABLE,SMOKER,LOOM,LECTERN,GRINDSTONE,COMPOSTER,CARTOGRAPHY_TABLE,BLAST_FURNACE,BELL,BARREL,DRAGON_EGG,ITEM_FRAME,POTTED_ACACIA_SAPLING,POTTED_ALLIUM,POTTED_AZURE_BLUET,POTTED_BAMBOO,POTTED_BIRCH_SAPLING,POTTED_BLUE_ORCHID,POTTED_BROWN_MUSHROOM,POTTED_CACTUS,POTTED_CORNFLOWER,POTTED_DANDELION,POTTED_DARK_OAK_SAPLING,POTTED_DEAD_BUSH,POTTED_FERN,POTTED_JUNGLE_SAPLING,POTTED_LILY_OF_THE_VALLEY,POTTED_OAK_SAPLING,POTTED_ORANGE_TULIP,POTTED_OXEYE_DAISY,POTTED_PINK_TULIP,POTTED_POPPY,POTTED_RED_MUSHROOM,POTTED_RED_TULIP,POTTED_SPRUCE_SAPLING,POTTED_WHITE_TULIP,POTTED_WITHER_ROSE,BARREL
  641.  
  642.   # permitted entities https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/LivingEntity.html
  643.   # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  644.   # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie, Shulker
  645.   # Husk, Stray, SkeletonHorse, ZombieHorse, Vex, Vindicator, Evoker, Endermite, PolarBear
  646.  
  647.   # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  648.   town_mob_removal_entities: Monster,Flying,Slime,Shulker,SkeletonHorse,ZombieHorse
  649.  
  650.   # Whether the town mob removal should remove THE_KILLER_BUNNY type rabbits.
  651.   town_mob_removal_killer_bunny: 'true'
  652.  
  653.   # Prevent the spawning of villager babies in towns.
  654.   town_prevent_villager_breeding: 'false'
  655.   # Disable creatures triggering stone pressure plates
  656.   disable_creature_pressureplate_stone: 'true'
  657.  
  658.   # Globally remove living entities in all worlds that have their flag set.
  659.   world_mob_removal_entities: Monster,Flying,Slime,Shulker,SkeletonHorse,ZombieHorse
  660.  
  661.   # Prevent the spawning of villager babies in the world.
  662.   world_prevent_villager_breeding: 'false'
  663.  
  664.   # When set to true, mobs who've been named with a nametag will not be removed by the mob removal task.
  665.   mob_removal_skips_named_mobs: 'false'
  666.  
  667.   # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  668.   # Lower values will check all entities more often at the risk of heavier burden and resource use.
  669.   # NEVER set below 1.
  670.   mob_removal_speed: 5s
  671.  
  672.   # permitted entities https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/package-summary.html
  673.   # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  674.   # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  675.  
  676.   # Protect living entities within a town's boundaries from being killed by players.
  677.   mob_types: Animals,WaterMob,NPC,Snowman,ArmorStand
  678.  
  679.   # permitted Potion Types https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionType.html
  680.   # ABSORPTION, BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, HARM, HEAL, HEALTH_BOOST, HUNGER,
  681.   # INCREASE_DAMAGE, INVISIBILITY, JUMP, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW , SLOW_DIGGING,
  682.   # SPEED, WATER_BREATHING, WEAKNESS, WITHER.
  683.  
  684.   # When preventing PVP prevent the use of these potions.
  685.   potion_types: BLINDNESS,CONFUSION,HARM,HUNGER,POISON,SLOW,SLOW_DIGGING,WEAKNESS,WITHER
  686.  
  687.  
  688.   ############################################################
  689.   # +------------------------------------------------------+ #
  690.   # |                Wilderness settings                   | #
  691.   # +------------------------------------------------------+ #
  692.   ############################################################
  693.  
  694.   # These Settings defaults only. They are copied to each worlds data files upon first detection
  695.   # To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
  696.  
  697. unclaimed:
  698.   unclaimed_zone_build: 'true'
  699.   unclaimed_zone_destroy: 'true'
  700.   unclaimed_zone_item_use: 'true'
  701.   unclaimed_zone_ignore: SAPLING,GOLD_ORE,IRON_ORE,COAL_ORE,LOG,LEAVES,LAPIS_ORE,LONG_GRASS,YELLOW_FLOWER,RED_ROSE,BROWN_MUSHROOM,RED_MUSHROOM,TORCH,DIAMOND_ORE,LADDER,RAILS,REDSTONE_ORE,GLOWING_REDSTONE_ORE,CACTUS,CLAY,SUGAR_CANE_BLOCK,PUMPKIN,GLOWSTONE,LOG_2,VINE,NETHER_WARTS,COCOA
  702.   unclaimed_zone_switch: 'true'
  703.  
  704.  
  705.   ############################################################
  706.   # +------------------------------------------------------+ #
  707.   # |                 Town Notifications                   | #
  708.   # +------------------------------------------------------+ #
  709.   ############################################################
  710.  
  711.   # This is the format for the notifications sent as players move between plots.
  712.   # Empty a particular format for it to be ignored.
  713.  
  714.   # Example:
  715.   # [notification.format]
  716.   # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  717.   # ... [notification.plot.format]
  718.   # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  719.   # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  720.  
  721. notification:
  722.   format: '&6 ~ %s'
  723.   splitter: '&7 - '
  724.   area_wilderness: '&2%s'
  725.   area_wilderness_pvp: '%s'
  726.   area_town: '&6%s'
  727.   area_town_pvp: '%s'
  728.   owner: '&a%s'
  729.   no_owner: '&a%s'
  730.   plot:
  731.     splitter: ' '
  732.     format: '%s'
  733.     homeblock: '&b[Home]'
  734.     outpostblock: '&b[Outpost]'
  735.     forsale: '&e[For Sale: %s]'
  736.     type: '&6[%s]'
  737.   # When set to true, town's names are the long form (townprefix)(name)(townpostfix) configured in the town_level section.
  738.   # When false, it is only the town name.
  739.   town_names_are_verbose: 'true'
  740.   # If set to true MC's Title and Subtitle feature will be used when crossing into a town.
  741.   # Could be seen as intrusive/distracting, so false by default.
  742.   using_titles: 'true'
  743.  
  744.   # Requires the above using_titles to be set to true.
  745.   # Title and Subtitle shown when entering a town or the wilderness. By default 1st line is blank, the 2nd line shows {townname} or {wilderness}.
  746.   # You may use colour codes &f, &c and so on.
  747.   titles:
  748.    # Entering Town Upper Title Line
  749.     town_title: ''
  750.     # Entering Town Lower Subtitle line.
  751.     town_subtitle: '&b{townname}'
  752.     # Entering Wilderness Upper Title Line
  753.     wilderness_title: ''
  754.     # Entering Wilderness Lower Subtitle line.
  755.     wilderness_subtitle: '&2{wilderness}'
  756.   # If the notification.owner option should show name or {title} name.
  757.   # Titles are the ones granted by nation kings.
  758.   owner_shows_nation_title: 'false'
  759.  
  760.  
  761.  
  762.   ############################################################
  763.   # +------------------------------------------------------+ #
  764.   # |             Default Town/Plot flags                  | #
  765.   # +------------------------------------------------------+ #
  766.   ############################################################
  767.  
  768.  
  769. default_perm_flags:
  770.   # Default permission flags for residents plots within a town
  771.   #
  772.   # Can allies/friends/outsiders perform certain actions in the town
  773.   #
  774.   # build - place blocks and other items
  775.   # destroy - break blocks and other items
  776.   # itemuse - use items such as furnaces (as defined in item_use_ids)
  777.   # switch - trigger or activate switches (as defined in switch_ids)
  778.   resident:
  779.     friend:
  780.       build: 'true'
  781.       destroy: 'true'
  782.       item_use: 'true'
  783.       switch: 'true'
  784.     town:
  785.       build: 'false'
  786.       destroy: 'false'
  787.       item_use: 'false'
  788.       switch: 'false'
  789.     ally:
  790.       build: 'false'
  791.       destroy: 'false'
  792.       item_use: 'false'
  793.       switch: 'false'
  794.     outsider:
  795.       build: 'false'
  796.       destroy: 'false'
  797.       item_use: 'false'
  798.       switch: 'false'
  799.  
  800.   # Default permission flags for towns
  801.   # These are copied into the town data file at creation
  802.   #
  803.   # Can allies/outsiders/residents perform certain actions in the town
  804.   #
  805.   # build - place blocks and other items
  806.   # destroy - break blocks and other items
  807.   # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  808.   # switch - trigger or activate switches (as defined in switch_ids)
  809.   town:
  810.     default:
  811.       pvp: 'false'
  812.       fire: 'false'
  813.       explosion: 'false'
  814.       mobs: 'false'
  815.     resident:
  816.       build: 'false'
  817.       destroy: 'false'
  818.       item_use: 'true'
  819.       switch: 'true'
  820.     nation:
  821.       build: 'false'
  822.       destroy: 'false'
  823.       item_use: 'false'
  824.       switch: 'false'
  825.     ally:
  826.       build: 'false'
  827.       destroy: 'false'
  828.       item_use: 'false'
  829.       switch: 'false'
  830.     outsider:
  831.       build: 'false'
  832.       destroy: 'false'
  833.       item_use: 'false'
  834.       switch: 'false'
  835.  
  836.  
  837.   ############################################################
  838.   # +------------------------------------------------------+ #
  839.   # |                 Towny Invite System                  | #
  840.   # +------------------------------------------------------+ #
  841.   ############################################################
  842.  
  843. invite_system:
  844.  # Command used to accept towny invites)
  845.   #e.g Player join town invite.
  846.   accept_command: accept
  847.   # Command used to deny towny invites
  848.   #e.g Player join town invite.
  849.   deny_command: deny
  850.   # Command used to confirm some towny actions/tasks)
  851.   #e.g Purging database or removing a large amount of townblocks
  852.   confirm_command: confirm
  853.   # Command used to cancel some towny actions/tasks
  854.   #e.g Purging database or removing a large amount of townblocks
  855.   cancel_command: cancel
  856.   # When set for more than 0m, the amount of time (in minutes) which must have passed between
  857.   # a player's first log in and when they can be invited to a town.
  858.   cooldowntime: 1m
  859.   # You can increase these limits but it is not recommended. Invites/requests are not saved between server reloads/stops.
  860.   maximum_invites_sent:
  861.    # How many invites a town can send out to players, to join the town.
  862.     town_toplayer: '35'
  863.     # How many invites a nation can send out to towns, to join the nation.
  864.     nation_totown: '25'
  865.     # How many requests a nation can send out to other nations, to ally with the nation.
  866.     # Only used when war.disallow_one_way_alliance is set to true.
  867.     nation_tonation: '25'
  868.   # You can increase these limits but it is not recommended. Invites/requests are not saved between server reloads/stops.
  869.   maximum_invites_received:
  870.    # How many invites can one player have from towns.
  871.     player: '10'
  872.     # How many invites can one town have from nations.
  873.     town: '10'
  874.     # How many requests can one nation have from other nations for an alliance.
  875.     nation: '10'
  876.   # When set above 0, the maximum distance a player can be from a town's spawn in order to receive an invite.
  877.   # Use this setting to require players to be near or inside a town before they can be invited.
  878.   maximum_distance_from_town_spawn: '0'
  879.  
  880.  
  881.   ############################################################
  882.   # +------------------------------------------------------+ #
  883.   # |                  Resident settings                   | #
  884.   # +------------------------------------------------------+ #
  885.   ############################################################
  886.  
  887. resident_settings:
  888.  # player is flagged as inactive after 1 hour (default)
  889.   inactive_after_time: 1h
  890.   # if enabled old residents will be deleted, losing their town, townblocks, friends
  891.   # after Two months (default) of not logging in
  892.   delete_old_residents:
  893.     enable: 'true'
  894.     deleted_after_time: 150d
  895.     delete_economy_account: 'false'
  896.     # When true only residents who have no town will be deleted.
  897.     delete_only_townless: 'false'
  898.   # The name of the town a resident will automatically join when he first registers.
  899.   default_town_name: ''
  900.   # If true, players can only use beds in plots they personally own.
  901.   deny_bed_use: 'false'
  902.   # If true, players who join the server for the first time will cause the msg_registration message in the language files to be shown server-wide.
  903.   is_showing_welcome_message: 'true'
  904.  
  905.  
  906.   ############################################################
  907.   # +------------------------------------------------------+ #
  908.   # |                  Economy settings                    | #
  909.   # +------------------------------------------------------+ #
  910.   ############################################################
  911.  
  912. economy:
  913.  # By default it is set to true.
  914.   # Rarely set to false. Set to false if you get concurrent modification errors on timers for daily tax collections.
  915.   use_async: 'true'
  916.   # Prefix to apply to all town economy accounts.
  917.   town_prefix: town-
  918.   # Prefix to apply to all nation economy accounts.
  919.   nation_prefix: nation-
  920.   # The cost of renaming a town.
  921.   town_rename_cost: '0'
  922.   # The cost of renaming a nation.
  923.   nation_rename_cost: '0'
  924.  
  925.   spawn_travel:
  926.    # Cost to use /town spawn
  927.     price_town_spawn_travel: '0.0'
  928.     # Cost to use '/town spawn [town]' to another town in your nation.
  929.     price_town_nation_spawn_travel: '5.0'
  930.     # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  931.     price_town_ally_spawn_travel: '10.0'
  932.     # Cost to use /town spawn [town]
  933.     # This is paid to the town you goto.
  934.     price_town_public_spawn_travel: '10.0'
  935.     # When set to true, any cost paid by a player to use any variant of '/town spawn' will be paid to the town bank.
  936.     # When false the amount will be paid to the server account whose name is set in the closed economy setting below..
  937.     town_spawn_cost_paid_to_town: 'true'
  938.  
  939.   # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  940.   price_nation_neutrality: '100.0'
  941.  
  942.   new_expand:
  943.    # How much it costs to start a nation.
  944.     price_new_nation: '100000.0'
  945.     # How much it costs to start a town.
  946.     price_new_town: '7000.0'
  947.     # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  948.     price_outpost: '25000.0'
  949.     # The price for a town to expand one townblock.
  950.     price_claim_townblock: '25.0'
  951.     # How much every additionally claimed townblock increases in cost. Set to 1 to deactivate this. 1.3 means +30% to every bonus claim block cost.
  952.     price_claim_townblock_increase: '1.001'
  953.     # The amount refunded to a town when they unclaim a townblock.
  954.     # Warning: do not set this higher than the cost to claim a townblock.
  955.     # It is advised that you do not set this to the same price as claiming either, otherwise towns will get around using outposts to claim far away.
  956.     price_claim_townblock_refund: '0.0'
  957.     # How much it costs a player to buy extra blocks.
  958.     price_purchased_bonus_townblock: '100.0'
  959.     # How much every extra bonus block costs more. Set to 1 to deactivate this. 1.2 means +20% to every bonus claim block cost.
  960.     price_purchased_bonus_townblock_increase: '1.01'
  961.  
  962.   death:
  963.    # Either fixed or percentage.
  964.     # For percentage 1.0 would be 100%. 0.01 would be 1%.
  965.     price_death_type: fixed
  966.     # A maximum amount paid out by a resident from their personal holdings for percentage deaths.
  967.     # Set to 0 to have no cap.
  968.     percentage_cap: '0.0'
  969.     # If True, only charge death prices for pvp kills. Not monsters/environmental deaths.
  970.     price_death_pvp_only: 'false'
  971.  
  972.     price_death: '1.0'
  973.  
  974.     price_death_town: '0.0'
  975.  
  976.     price_death_nation: '0.0'
  977.  
  978.   banks:
  979.    # Maximum amount of money allowed in town bank
  980.     # Use 0 for no limit
  981.     town_bank_cap: '0.0'
  982.     # Set to true to allow withdrawals from town banks
  983.     town_allow_withdrawals: 'true'
  984.     # Maximum amount of money allowed in nation bank
  985.     # Use 0 for no limit
  986.     nation_bank_cap: '0.0'
  987.     # Set to true to allow withdrawals from nation banks
  988.     nation_allow_withdrawals: 'true'
  989.     # When set to true, players can only use their town withdraw/deposit commands while inside of their own town.
  990.     # Likewise, nation banks can only be withdrawn/deposited to while in the capital city.
  991.     disallow_bank_actions_outside_town: 'false'
  992.   closed_economy:
  993.    # The name of the account that all money that normally disappears goes into.
  994.     server_account: towny-server
  995.     # Turn on/off whether all transactions that normally don't have a second party are to be done with a certain account.
  996.     # Eg: The money taken during Daily Taxes is just removed. With this on, the amount taken would be funneled into an account.
  997.     #     This also applies when a player collects money, like when the player is refunded money when a delayed teleport fails.
  998.     enabled: 'false'
  999.  
  1000.   daily_taxes:
  1001.    # Enables taxes to be collected daily by town/nation
  1002.     # If a town can't pay it's tax then it is kicked from the nation.
  1003.     # if a resident can't pay his plot tax he loses his plot.
  1004.     # if a resident can't pay his town tax then he is kicked from the town.
  1005.     # if a town or nation fails to pay it's upkeep it is deleted.
  1006.     enabled: 'true'
  1007.     # Maximum tax amount allowed when using flat taxes
  1008.     max_tax_amount: '100.0'
  1009.     # maximum tax percentage allowed when taxing by percentages
  1010.     max_tax_percent: '10'
  1011.     # The server's daily charge on each nation. If a nation fails to pay this upkeep
  1012.     # all of it's member town are kicked and the Nation is removed.
  1013.     price_nation_upkeep: '25.0'
  1014.     # Uses total number of towns in the nation to determine upkeep instead of nation level (Number of Residents)
  1015.     # calculated by (number of towns in nation X price_nation_upkeep).
  1016.     nation_pertown_upkeep: 'true'
  1017.     # If set to true, the per-town-upkeep system will be modified by the Nation Levels' upkeep modifiers.
  1018.     nation_pertown_upkeep_affected_by_nation_level_modifier: 'true'
  1019.     # The server's daily charge on each town. If a town fails to pay this upkeep
  1020.     # all of it's residents are kicked and the town is removed.
  1021.     price_town_upkeep: '1.0'
  1022.     # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  1023.     # calculated by (number of claimed plots X price_town_upkeep).
  1024.     town_plotbased_upkeep: 'true'
  1025.     # If set to true, the plot-based-upkeep system will be modified by the Town Levels' upkeep modifiers.
  1026.     town_plotbased_upkeep_affected_by_town_level_modifier: 'true'
  1027.     # If set to any amount over zero, if a town's plot-based upkeep totals less than this value, the town will pay the minimum instead.
  1028.     town_plotbased_upkeep_minimum_amount: '0.0'
  1029.     # The server's daily charge on a town which has claimed more townblocks than it is allowed.
  1030.     price_town_overclaimed_upkeep_penalty: '1'
  1031.     # Uses total number of plots that the town is overclaimed by, to determine the price_town_overclaimed_upkeep_penalty cost.
  1032.     # If set to true the penalty is calculated (# of plots overclaimed X price_town_overclaimed_upkeep_penalty).
  1033.     price_town_overclaimed_upkeep_penalty_plotbased: 'true'
  1034.     # If enabled and you set a negative upkeep for the town
  1035.     # any funds the town gains via upkeep at a new day
  1036.     # will be shared out between the plot owners.
  1037.     use_plot_payments: 'false'
  1038.  
  1039.   plot_type_costs:
  1040.    # Cost to use /plot set shop to change a normal plot to a shop plot.
  1041.     set_commercial: '0.0'
  1042.     # Cost to use /plot set arena to change a normal plot to a arena plot.
  1043.     set_arena: '0.0'
  1044.     # Cost to use /plot set embassy to change a normal plot to a embassy plot.
  1045.     set_embassy: '0.0'
  1046.     # Cost to use /plot set wilds to change a normal plot to a wilds plot.
  1047.     set_wilds: '0.0'
  1048.     # Cost to use /plot set inn to change a normal plot to a inn plot.
  1049.     set_inn: '0.0'
  1050.     # Cost to use /plot set jail to change a normal plot to a jail plot.
  1051.     set_jail: '0.0'
  1052.     # Cost to use /plot set farm to change a normal plot to a farm plot.
  1053.     set_farm: '0.0'
  1054.     # Cost to use /plot set bank to change a normal plot to a bank plot.
  1055.     set_bank: '0.0'
  1056.  
  1057.  
  1058.   ############################################################
  1059.   # +------------------------------------------------------+ #
  1060.   # |                 Jail Plot settings                   | #
  1061.   # +------------------------------------------------------+ #
  1062.   ############################################################
  1063.  
  1064. jail:
  1065.  #If true attacking players who die on enemy-town land will be placed into the defending town's jail if it exists.
  1066.   #Requires town_respawn to be true in order to work.
  1067.   is_jailing_attacking_enemies: 'false'
  1068.   #If true attacking players who are considered an outlaw, that are killed inside town land will be placed into the defending town's jail if it exists.
  1069.   #Requires town_respawn to be true in order to work.
  1070.   is_jailing_attacking_outlaws: 'false'
  1071.   #If true jailed players can use Ender Pearls but are still barred from using other methods of teleporting.
  1072.   jail_allows_ender_pearls: 'false'
  1073.   #If false jailed players can use /town leave, and escape a jail.
  1074.   jail_denies_town_leave: 'false'
  1075.  
  1076.   bail:
  1077.    #If true players can pay a bail amount to be unjailed.
  1078.     is_allowing_bail: 'true'
  1079.     #Amount that bail costs for normal residents/nomads.
  1080.     bail_amount: '10'
  1081.     #Amount that bail costs for Town mayors.
  1082.     bail_amount_mayor: '10'
  1083.     #Amount that bail costs for Nation kings.
  1084.     bail_amount_king: '10'
  1085.   # Commands which a jailed player cannot use.
  1086.   blacklisted_commands: home,spawn,teleport,tp,tpa,tphere,tpahere,back,dback,ptp,jump,kill,warp,suicide
  1087.  
  1088.  
  1089.   ############################################################
  1090.   # +------------------------------------------------------+ #
  1091.   # |                 Bank Plot settings                   | #
  1092.   # +------------------------------------------------------+ #
  1093.   ############################################################
  1094.   # Bank plots may be used by other economy plugins using the Towny API.
  1095.  
  1096. bank:
  1097.  # If true players will only be able to use /t deposit, /t withdraw, /n deposit & /n withdraw while inside bank plots belonging to the town or nation capital respectively.
  1098.   # Home plots will also allow deposit and withdraw commands.
  1099.   is_banking_limited_to_bank_plots: 'false'
  1100.  
  1101.  
  1102.   ############################################################
  1103.   # +------------------------------------------------------+ #
  1104.   # |                     War settings                     | #
  1105.   # +------------------------------------------------------+ #
  1106.   ############################################################
  1107.  
  1108. war:
  1109.  #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  1110.   nation_can_be_neutral: 'true'
  1111.   #By setting this to true, nations will receive a prompt for alliances and alliances will show on both nations.
  1112.   disallow_one_way_alliance: 'true'
  1113.  
  1114.  
  1115.   ############################################################
  1116.   # +------------------------------------------------------+ #
  1117.   # |         Economy Transfers During War settings        | #
  1118.   # +------------------------------------------------------+ #
  1119.   ############################################################
  1120.  
  1121.   economy:
  1122.     enemy:
  1123.      # Amount charged to place a warflag (payed to server).
  1124.       place_flag: '10'
  1125.       # Amount payed from the flagbearer to the defender after defending the area.
  1126.       defended_attack: '10'
  1127.     # Defending town pays attaking flagbearer. If a negative (attacker pays defending town),
  1128.     # and the attacker can't pay, the attack is canceled.
  1129.     townblock_won: '10'
  1130.     # Same as townblock_won but for the special case of winning the homeblock.
  1131.     homeblock_won: '100'
  1132.  
  1133.  
  1134.   ############################################################
  1135.   # +------------------------------------------------------+ #
  1136.   # |                 War Event settings                   | #
  1137.   # +------------------------------------------------------+ #
  1138.   ############################################################
  1139.  
  1140.   # This is started with /townyadmnin toggle war
  1141.  
  1142.   # In peace time War spoils are accumulated from towns and nations being
  1143.   # deleted with any money left in the bank.
  1144.   #
  1145.   # These funds are increased during a war event upon a player death.
  1146.   # An additional bonus to the war chest is set in base_spoils.
  1147.   #
  1148.   # During the event a town losing a townblock pays the wartime_town_block_loss_price to the attacking town.
  1149.   # The war is won when the only nations left in the battle are allies, or only a single nation.
  1150.   #
  1151.   # The winning nations share half of the war spoils.
  1152.   # The remaining half is paid to the town which took the most town blocks, and lost the least.
  1153.  
  1154.   event:
  1155.     warning_delay: '30'
  1156.     #If false all towns not in nations can be attacked during a war event.
  1157.     towns_are_neutral: 'true'
  1158.     enemy:
  1159.      # If true, enemy's can only attack the edge plots of a town in war.
  1160.       only_attack_borders: 'true'
  1161.     plots:
  1162.      # If true, nation members and allies can regen health on plots during war.
  1163.       healable: 'true'
  1164.       # If true, fireworks will be launched at plots being attacked or healed in war every war tick.
  1165.       firework_on_attacked: 'true'
  1166.  
  1167.     # If true and the monarch/king dies the nation is removed from the war.
  1168.     remove_on_monarch_death: 'false'
  1169.     # If enabled players will be able to break/place any blocks in enemy plots during a war.
  1170.     # This setting SHOULD NOT BE USED unless you want the most chaotic war possible.
  1171.     # The editable_materials list in the Warzone Block Permission section should be used instead.
  1172.     allow_block_griefing: 'false'
  1173.  
  1174.     # A townblock takes damage every 5 seconds that an enemy is stood in it.
  1175.     block_hp:
  1176.       town_block_hp: '60'
  1177.       home_block_hp: '120'
  1178.  
  1179.     eco:
  1180.      # This amount is new money injected into the economy with a war event.
  1181.       base_spoils: '100.0'
  1182.       # This amount is taken from the losing town for each plot lost.
  1183.       wartime_town_block_loss_price: '100.0'
  1184.       # This amount is taken from the player if they die during the event
  1185.       price_death_wartime: '200.0'
  1186.     # If set to true when a town drops an enemy townblock's HP to 0, the attacking town gains a bonus townblock,
  1187.     # and the losing town gains a negative (-1) bonus townblock.
  1188.     costs_townblocks: 'false'
  1189.     # If set to true when a town drops an enemy townblock's HP to 0, the attacking town takes full control of the townblock.
  1190.     # One available (bonus) claim is given to the victorious town, one available (bonus) claim is removed from the losing town.
  1191.     # Will not have any effect if war.event.winner_takes_ownership_of_town is set to true.
  1192.     winner_takes_ownership_of_townblocks: 'false'
  1193.     # If set to true when a town knocks another town out of the war, the losing town will join the winning town's nation.
  1194.     # The losing town will enter a conquered state and be unable to leave the nation until the conquered time has passed.
  1195.     winner_takes_ownership_of_town: 'false'
  1196.     # Number of Towny new days until a conquered town loses its conquered status.
  1197.     conquer_time: '7'
  1198.  
  1199.     points:
  1200.       points_townblock: '1'
  1201.       points_town: '10'
  1202.       points_nation: '100'
  1203.       points_kill: '1'
  1204.  
  1205.     # The minimum height at which a player must stand to count as an attacker.
  1206.     min_height: '60'
  1207.  
  1208.   ############################################################
  1209.   # +------------------------------------------------------+ #
  1210.   # |                   Flag War Settings                  | #
  1211.   # |                                                      | #
  1212.   # |               [Separate from Event War]              | #
  1213.   # |           --------------------------------           | #
  1214.   # |        DEPRECATED: Minimally Supported Through       | #
  1215.   # |             3rd Party Contributions Only             | #
  1216.   # +------------------------------------------------------+ #
  1217.   ############################################################
  1218.  
  1219.   enemy:
  1220.    # If false, players won't be able to place war flags, effectively disabling warzones.
  1221.     allow_attacks: 'false'
  1222.     # If true, enemy's can only attack the edge plots of a town with war flags.
  1223.     only_attack_borders: 'true'
  1224.     # This many people must be online in target town in order to place a war flag in their domain.
  1225.     min_players_online_in_town: '2'
  1226.     # This many people must be online in target nation in order to place a war flag in their domain.
  1227.     min_players_online_in_nation: '3'
  1228.     max_active_flags_per_player: '1'
  1229.     flag:
  1230.      # This setting modifies the time between a war flag's Material shift. Accepts `s`(seconds) and `m`(minutes).
  1231.       # Currently, you would multiply this times 10 to get the total time a flag should be in play.
  1232.       # (It can also be set to `h` and `d` - but ain't nobody got time fo' that.)
  1233.       waiting_time: 1m
  1234.       # This is the block a player must place to trigger the attack event.
  1235.       base_block: fence
  1236.       # This is the block a player must place to trigger the attack event.
  1237.       light_block: torch
  1238.     beacon:
  1239.      # Must be smaller than half the size of town_block_size.
  1240.       radius: '3'
  1241.       # The range the beacon will be drawn in. It's flexibility is in case the flag is close to the height limit.
  1242.       # If a flag is too close to the height limit (lower than the minimum), it will not be drawn.
  1243.       height_above_flag:
  1244.         min: '3'
  1245.         max: '64'
  1246.       draw: 'true'
  1247.       wireframe_block: glowstone
  1248.     # While true, prevent players from performing certain actions while their town
  1249.     # has an active enemy war flag placed.
  1250.     prevent_interaction_while_flagged: 'true'
  1251.     # While true, prevent players from performing certain actions while a town in their nation
  1252.     # has an active enemy war flag placed.
  1253.     prevent_nation_interaction_while_flagged: 'true'
  1254.     # This is how much time that must pass after a town in a nation has been flagged
  1255.     # before certain actions can be performed, measured in milliseconds.
  1256.     time_to_wait_after_flagged: '600000'
  1257.     # If set to true, when a war flag finishes it's countdown successfully, the attacking town takes full control of the townblock.
  1258.     # Setting this to 'False' will result only in monetary exchanges.
  1259.     flag_takes_ownership_of_townblocks: 'true'
  1260.   ############################################################
  1261.   # +------------------------------------------------------+ #
  1262.   # |              Warzone Block Permissions               | #
  1263.   # |                                                      | #
  1264.   # |              Used in Flag & Event Wars               | #
  1265.   # +------------------------------------------------------+ #
  1266.   ############################################################
  1267.  
  1268.   warzone:
  1269.    # List of materials that can be modified in a warzone.
  1270.     # '*' = Allow all materials.
  1271.     # Prepend a '-' in front of a material to remove it. Used in conjunction with when you use '*'.
  1272.     # Eg: '*,-chest,-furnace'
  1273.     editable_materials: tnt,fence,ladder,wood_door,iron_door,fire
  1274.     item_use: 'true'
  1275.     switch: 'true'
  1276.     # Add '-fire' to editable materials for complete protection when setting is false. This prevents fire to be created and spread.
  1277.     fire: 'true'
  1278.     explosions: 'true'
  1279.     explosions_break_blocks: 'true'
  1280.     # Only under affect when explosions_break_blocks is true.
  1281.     explosions_regen_blocks: 'true'
  1282.     # A list of blocks that will not be exploded, mostly because they won't regenerate properly.
  1283.     # These blocks will also protect the block below them, so that blocks like doors do not dupe themselves.
  1284.     # Only under affect when explosions_break_blocks is true.
  1285.     explosions_ignore_list: WOODEN_DOOR,ACACIA_DOOR,DARK_OAK_DOOR,JUNGLE_DOOR,BIRCH_DOOR,SPRUCE_DOOR,IRON_DOOR,CHEST,TRAPPED_CHEST,FURNACE,BURNING_FURNACE,DROPPER,DISPENSER,HOPPER,ENDER_CHEST,WHITE_SHULKER_BOX,ORANGE_SHULKER_BOX,MAGENTA_SHULKER_BOX,LIGHT_BLUE_SHULKER_BOX,YELLOW_SHULKER_BOX,LIME_SHULKER_BOX,PINK_SHULKER_BOX,GRAY_SHULKER_BOX,SILVER_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX,NOTE_BLOCK,LEVER,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,JUKEBOX,DIODE_BLOCK_OFF,DIODE_BLOCK_ON,FENCE_GATE,GOLD_PLATE,IRON_PLATE,REDSTONE_COMPARATOR_OFF,REDSTONE_COMPARATOR_ON,BEACON
  1286.  
  1287. version:
  1288.  # This is the current version of Towny.  Please do not edit.
  1289.   version: 0.95.2.1
  1290.   # This is for showing the changelog on updates.  Please do not edit.
  1291.   last_run_version: 0.95.2.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement