Advertisement
Guest User

Towny

a guest
Jan 6th, 2018
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 47.29 KB | None | 0 0
  1.  
  2.  
  3. version:
  4.     # This is the current version of Towny.  Please do not edit.
  5.  
  6.   version: 0.92.0.0
  7.  
  8.     # This is for showing the changelog on updates.  Please do not edit.
  9.  
  10.   last_run_version: 0.92.0.0
  11.  
  12.     # Minimum required version of CraftBukkit.  Please do not edit.
  13.  
  14.   bukkit_version: '2918'
  15.  
  16.  
  17.  
  18.   # The language file you wish to use
  19.  
  20. language: english.yml
  21.  
  22.  
  23.  
  24.   ############################################################
  25.  
  26.   # +------------------------------------------------------+ #
  27.  
  28.   # |                   Permission nodes                   | #
  29.  
  30.   # +------------------------------------------------------+ #
  31.  
  32.   ############################################################
  33.  
  34.  
  35.  
  36.   #  Possible permission nodes
  37.  
  38.   #
  39.  
  40.   #    towny.admin: User is able to use /townyadmin, as well as the ability to build/destroy anywhere. User is also able to make towns or nations when set to admin only.
  41.  
  42.   #    towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
  43.  
  44.   #    towny.top : User can access the command towny top
  45.  
  46.   #    towny.town.* : User has access to all town permission nodes.
  47.  
  48.   #        towny.town.new :User is able to create a town
  49.  
  50.   #        towny.town.delete :User is able to delete their town
  51.  
  52.   #        towny.town.claim : User is able to expand his town with /town claim
  53.  
  54.   #        towny.town.plot : User is able to use the /plot commands
  55.  
  56.   #        towny.town.resident : User is able to join towns upon invite.
  57.  
  58.   #    towny.town.toggle.*: User can access all town toggle commands (if a mayor or assistant).
  59.  
  60.   #        towny.town.toggle.pvp
  61.  
  62.   #        towny.town.toggle.public
  63.  
  64.   #        towny.town.toggle.explosions
  65.  
  66.   #        towny.town.toggle.fire
  67.  
  68.   #        towny.town.toggle.mobs
  69.  
  70.   #    towny.nation.* : User has access to all town permission nodes.
  71.  
  72.   #        towny.nation.new :User is able to create a nation
  73.  
  74.   #        towny.nation.delete :User is able to delete their nation (if king)
  75.  
  76.   #        towny.nation.rename :User is able to rename their nation (if king/assistant)
  77.  
  78.   #        towny.nation.grant-titles :User is able to grant titles/surnames to the nation residents (if King)
  79.  
  80.   #    towny.wild.*: User is able to build/destroy in wild regardless.
  81.  
  82.   #        towny.wild.build
  83.  
  84.   #        towny.wild.destroy
  85.  
  86.   #        towny.wild.switch
  87.  
  88.   #        towny.wild.item_use
  89.  
  90.   #    towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
  91.  
  92.   #        towny.wild.build.[block id]
  93.  
  94.   #        towny.wild.destroy.[block id]
  95.  
  96.   #        towny.wild.switch.[block id]
  97.  
  98.   #        towny.wild.item_use.[block id]
  99.  
  100.   #
  101.  
  102.   #    towny.claimed.* : User can build/destroy/switch/item_use in all towns.
  103.  
  104.   #        towny.claimed.build : User can build in all towns.
  105.  
  106.   #        towny.claimed.destroy : User can destroy in all towns.
  107.  
  108.   #        towny.claimed.switch : User can switch in all towns.
  109.  
  110.   #        towny.claimed.item_use : User can use use items in all towns.
  111.  
  112.   #    towny.claimed.alltown.* : User is able to edit specified/all block types in all towns.
  113.  
  114.   #        towny.claimed.alltown.build.[block id]
  115.  
  116.   #        towny.claimed.alltown.destroy.[block id]
  117.  
  118.   #        towny.claimed.alltown.switch.[block id] : User can switch specified/all block types in all towns.
  119.  
  120.   #        towny.claimed.alltown.item_use.[block id]
  121.  
  122.   #    towny.claimed.owntown.* : User is able to edit specified/all block types in their own town (ALL plots, including resident owned).
  123.  
  124.   #        towny.claimed.owntown.build.[block id]
  125.  
  126.   #        towny.claimed.owntown.destroy.[block id] : (handy to allow clearing of snow '78')
  127.  
  128.   #        towny.claimed.owntown.switch.[block id]
  129.  
  130.   #        towny.claimed.owntown.item_use.[block id]
  131.  
  132.   #    towny.claimed.townowned.* : User is able to edit specified/all block types in their towns owned plots (Town only, not resident owned).
  133.  
  134.   #        towny.claimed.townowned.build.[block id]
  135.  
  136.   #        towny.claimed.townowned.destroy.[block id] : (handy to allow clearing of snow '78' on town owned roads/plots)
  137.  
  138.   #        towny.claimed.townowned.switch.[block id]
  139.  
  140.   #        towny.claimed.townowned.item_use.[block id]
  141.  
  142.   #
  143.  
  144.   #    towny.town.spawn.*: Grants all Spawn travel nodes
  145.  
  146.   #        towny.town.spawn.town : Ability to spawn to your own town.
  147.  
  148.   #        towny.town.spawn.nation : Ability to spawn to other towns in your nation.
  149.  
  150.   #        towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
  151.  
  152.   #        towny.town.spawn.public : Ability to spawn to unaffilated public towns.
  153.  
  154.   #
  155.  
  156.   # these will be moved to permissions nodes at a later date
  157.  
  158. permissions: ''
  159.  
  160.  
  161.  
  162.   ############################################################
  163.  
  164.   # +------------------------------------------------------+ #
  165.  
  166.   # |                Town and Nation levels                | #
  167.  
  168.   # +------------------------------------------------------+ #
  169.  
  170.   ############################################################
  171.  
  172.  
  173.  
  174. levels:
  175.  
  176.  
  177.   # default Town levels.
  178.  
  179.   town_level:
  180.   - numResidents: 0
  181.  
  182.     namePostfix: ' Ruins'
  183.  
  184.     mayorPrefix: 'Spirit '
  185.  
  186.     namePrefix: ''
  187.  
  188.     mayorPostfix: ''
  189.  
  190.     townBlockLimit: 1
  191.  
  192.     upkeepModifier: 1.0
  193.  
  194.   - numResidents: 1
  195.  
  196.     namePostfix: ' (Settlement)'
  197.  
  198.     mayorPrefix: 'Hermit '
  199.  
  200.     namePrefix: ''
  201.  
  202.     mayorPostfix: ''
  203.  
  204.     townBlockLimit: 16
  205.  
  206.     upkeepModifier: 1.0
  207.  
  208.   - numResidents: 2
  209.  
  210.     namePostfix: ' (Hamlet)'
  211.  
  212.     mayorPrefix: 'Chief '
  213.  
  214.     namePrefix: ''
  215.  
  216.     mayorPostfix: ''
  217.  
  218.     townBlockLimit: 32
  219.  
  220.     upkeepModifier: 1.0
  221.  
  222.   - numResidents: 6
  223.  
  224.     namePostfix: ' (Village)'
  225.  
  226.     mayorPrefix: 'Baron Von '
  227.  
  228.     namePrefix: ''
  229.  
  230.     mayorPostfix: ''
  231.  
  232.     townBlockLimit: 96
  233.  
  234.     upkeepModifier: 1.0
  235.  
  236.   - numResidents: 10
  237.  
  238.     namePostfix: ' (Town)'
  239.  
  240.     mayorPrefix: 'Viscount '
  241.  
  242.     namePrefix: ''
  243.  
  244.     mayorPostfix: ''
  245.  
  246.     townBlockLimit: 160
  247.  
  248.     upkeepModifier: 1.0
  249.  
  250.   - numResidents: 14
  251.  
  252.     namePostfix: ' (Large Town)'
  253.  
  254.     mayorPrefix: 'Count Von '
  255.  
  256.     namePrefix: ''
  257.  
  258.     mayorPostfix: ''
  259.  
  260.     townBlockLimit: 224
  261.  
  262.     upkeepModifier: 1.0
  263.  
  264.   - numResidents: 20
  265.  
  266.     namePostfix: ' (City)'
  267.  
  268.     mayorPrefix: 'Earl '
  269.  
  270.     namePrefix: ''
  271.  
  272.     mayorPostfix: ''
  273.  
  274.     townBlockLimit: 320
  275.  
  276.     upkeepModifier: 1.0
  277.  
  278.   - numResidents: 24
  279.  
  280.     namePostfix: ' (Large City)'
  281.  
  282.     mayorPrefix: 'Duke '
  283.  
  284.     namePrefix: ''
  285.  
  286.     mayorPostfix: ''
  287.  
  288.     townBlockLimit: 384
  289.  
  290.     upkeepModifier: 1.0
  291.  
  292.   - numResidents: 28
  293.  
  294.     namePostfix: ' (Metropolis)'
  295.  
  296.     mayorPrefix: 'Lord '
  297.  
  298.     namePrefix: ''
  299.  
  300.     mayorPostfix: ''
  301.  
  302.     townBlockLimit: 448
  303.  
  304.     upkeepModifier: 1.0
  305.  
  306.  
  307.  
  308.   # default Nation levels.
  309.  
  310.   nation_level:
  311.   - kingPostfix: ''
  312.  
  313.     numResidents: 0
  314.  
  315.     namePostfix: ' (Nation)'
  316.  
  317.     townBlockLimitBonus: 10
  318.  
  319.     namePrefix: 'Land of '
  320.  
  321.     capitalPostfix: ''
  322.  
  323.     upkeepModifier: 1.0
  324.  
  325.     kingPrefix: 'Leader '
  326.  
  327.     capitalPrefix: ''
  328.  
  329.     nationTownUpkeepModifier: 1.0
  330.  
  331.   - kingPostfix: ''
  332.  
  333.     numResidents: 10
  334.  
  335.     namePostfix: ' (Nation)'
  336.  
  337.     townBlockLimitBonus: 20
  338.  
  339.     namePrefix: 'Federation of '
  340.  
  341.     capitalPostfix: ''
  342.  
  343.     upkeepModifier: 1.0
  344.  
  345.     kingPrefix: 'Count '
  346.  
  347.     capitalPrefix: ''
  348.  
  349.     nationTownUpkeepModifier: 1.0
  350.  
  351.   - kingPostfix: ''
  352.  
  353.     numResidents: 20
  354.  
  355.     namePostfix: ' (Nation)'
  356.  
  357.     townBlockLimitBonus: 40
  358.  
  359.     namePrefix: 'Dominion of '
  360.  
  361.     capitalPostfix: ''
  362.  
  363.     upkeepModifier: 1.0
  364.  
  365.     kingPrefix: 'Duke '
  366.  
  367.     capitalPrefix: ''
  368.  
  369.     nationTownUpkeepModifier: 1.0
  370.  
  371.   - kingPostfix: ''
  372.  
  373.     numResidents: 30
  374.  
  375.     namePostfix: ' (Nation)'
  376.  
  377.     townBlockLimitBonus: 60
  378.  
  379.     namePrefix: 'Kingdom of '
  380.  
  381.     capitalPostfix: ''
  382.  
  383.     upkeepModifier: 1.0
  384.  
  385.     kingPrefix: 'King '
  386.  
  387.     capitalPrefix: ''
  388.  
  389.     nationTownUpkeepModifier: 1.0
  390.  
  391.   - kingPostfix: ''
  392.  
  393.     numResidents: 40
  394.  
  395.     namePostfix: ' Empire'
  396.  
  397.     townBlockLimitBonus: 100
  398.  
  399.     namePrefix: 'The '
  400.  
  401.     capitalPostfix: ''
  402.  
  403.     upkeepModifier: 1.0
  404.  
  405.     kingPrefix: 'Emperor '
  406.  
  407.     capitalPrefix: ''
  408.  
  409.     nationTownUpkeepModifier: 1.0
  410.  
  411.   - kingPostfix: ''
  412.  
  413.     numResidents: 60
  414.  
  415.     namePostfix: ' Realm'
  416.  
  417.     townBlockLimitBonus: 140
  418.  
  419.     namePrefix: 'The '
  420.  
  421.     capitalPostfix: ''
  422.  
  423.     upkeepModifier: 1.0
  424.  
  425.     kingPrefix: 'God Emperor '
  426.  
  427.     capitalPrefix: ''
  428.  
  429.     nationTownUpkeepModifier: 1.0
  430.  
  431.  
  432.  
  433.   ############################################################
  434.  
  435.   # +------------------------------------------------------+ #
  436.  
  437.   # |               Town Claim/new defaults                | #
  438.  
  439.   # +------------------------------------------------------+ #
  440.  
  441.   ############################################################
  442.  
  443.  
  444.  
  445. town:
  446.   # Default public status of the town (used for /town spawn)
  447.  
  448.   default_public: 'false'
  449.  
  450.   # Default Open status of the town (are new towns open and joinable by anyone at creation?)
  451.  
  452.   default_open: 'false'
  453.  
  454.   # Default tax settings for new towns.
  455.  
  456.   default_taxes:
  457.     # Default amount of tax of a new town. This must be lower than the economy.daily_taxes.max_tax_percent setting.
  458.  
  459.     tax: '0.0'
  460.  
  461.     # Default amount of shop tax of a new town.
  462.  
  463.     shop_tax: '0.0'
  464.  
  465.     # Default amount of embassy tax of a new town.
  466.  
  467.     embassy_tax: '0.0'
  468.  
  469.     # Default amount for town's plottax costs.
  470.  
  471.     plot_tax: '0.0'
  472.  
  473.     # Default status of new town's taxpercentage. True means that the default_tax is treated as a percentage instead of a fixed amount.
  474.  
  475.     taxpercentage: 'false'
  476.  
  477.     # A required minimum tax amount for the default_tax, will not change any towns which already have a tax set.
  478.  
  479.     # Do not forget to set the default_tax to more than 0 or new towns will still begin with a tax of zero.
  480.  
  481.     minimumtax: '0.0'
  482.  
  483.   # Limits the maximum amount of bonus blocks a town can buy.
  484.  
  485.   max_purchased_blocks: '0'
  486.  
  487.   # maximum number of plots any single resident can own
  488.  
  489.   max_plots_per_resident: '100'
  490.  
  491.   # maximum number used in /town claim/unclaim # commands.
  492.  
  493.   # set to 0 to disable limiting of claim radius value check.
  494.  
  495.   # keep in mind that the default value of 4 is a radius,
  496.  
  497.   # and it will allow claiming 9x9 (80 plots) at once.
  498.  
  499.   max_claim_radius_value: '4'
  500.  
  501.   # Maximum number of towns allowed on the server.
  502.  
  503.   town_limit: '3000'
  504.  
  505.  
  506.  
  507.   # Minimum number of plots any towns plot must be from the next town's own plots.
  508.  
  509.   # This will prevent town encasement to a certain degree.
  510.  
  511.   min_plot_distance_from_town_plot: '10'
  512.  
  513.  
  514.  
  515.   # Minimum number of plots any towns home plot must be from the next town.
  516.  
  517.   # This will prevent someone founding a town right on your doorstep
  518.  
  519.   min_distance_from_town_homeblock: '10'
  520.  
  521.  
  522.  
  523.   # Maximum distance between homblocks.
  524.  
  525.   # This will force players to build close together.
  526.  
  527.   max_distance_between_homeblocks: '0'
  528.  
  529.  
  530.  
  531.   # The maximum townblocks available to a town is (numResidents * ratio).
  532.  
  533.   # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  534.  
  535.   town_block_ratio: '8'
  536.  
  537.   # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  538.  
  539.   # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  540.  
  541.   # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  542.  
  543.   # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  544.  
  545.   town_block_size: '32'
  546.  
  547.  
  548.  
  549.  
  550.  
  551.   ############################################################
  552.  
  553.   # +------------------------------------------------------+ #
  554.  
  555.   # |             Default new world settings               | #
  556.  
  557.   # +------------------------------------------------------+ #
  558.  
  559.   ############################################################
  560.  
  561.  
  562.  
  563.   # These flags are only used at the initial setup of a new world.
  564.  
  565.  
  566.  
  567.   # Once Towny is running each world can be altered from within game
  568.  
  569.   # using '/townyworld toggle'
  570.  
  571.  
  572.  
  573. new_world_settings:
  574.   # Default for new worlds to have towny enabled.
  575.  
  576.   using_towny: 'true'
  577.  
  578.  
  579.  
  580.   pvp:
  581.     # Set if PVP is enabled in this world
  582.  
  583.     world_pvp: 'true'
  584.  
  585.     # force_pvp_on is a global flag and overrides any towns flag setting
  586.  
  587.     force_pvp_on: 'true'
  588.  
  589.  
  590.  
  591.   mobs:
  592.     # world_monsters_on is a global flag setting per world.
  593.  
  594.     world_monsters_on: 'true'
  595.  
  596.     # force_town_monsters_on is a global flag and overrides any towns flag setting
  597.  
  598.     force_town_monsters_on: 'true'
  599.  
  600.  
  601.  
  602.   explosions:
  603.     # Allow explosions in this world
  604.  
  605.     world_explosions_enabled: 'true'
  606.  
  607.     # force_explosions_on is a global flag and overrides any towns flag setting
  608.  
  609.     force_explosions_on: 'false'
  610.  
  611.  
  612.  
  613.   fire:
  614.     # Allow fire to be lit and spread in this world.
  615.  
  616.     world_firespread_enabled: 'true'
  617.  
  618.     # force_fire_on is a global flag and overrides any towns flag setting
  619.  
  620.     force_fire_on: 'true'
  621.  
  622.  
  623.  
  624.   # Prevent Endermen from picking up and placing blocks.
  625.  
  626.   enderman_protect: 'false'
  627.  
  628.   # Disable players trampling crops
  629.  
  630.   disable_player_crop_trampling: 'true'
  631.  
  632.   # Disable creatures trampling crops
  633.  
  634.   disable_creature_crop_trampling: 'true'
  635.  
  636.  
  637.  
  638.   # World management settings to deal with un/claiming plots
  639.  
  640.   plot_management:
  641.  
  642.  
  643.     block_delete:
  644.       enabled: 'true'
  645.  
  646.       # These items will be deleted upon a plot being unclaimed
  647.  
  648.       unclaim_delete: BED_BLOCK,TORCH,REDSTONE_WIRE,SIGN_POST,WOODEN_DOOR,WALL_SIGN,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,REDSTONE_TORCH_OFF,REDSTONE_TORCH_ON,DIODE_BLOCK_OFF,DIODE_BLOCK_ON
  649.  
  650.  
  651.  
  652.     mayor_plotblock_delete:
  653.       enabled: 'true'
  654.  
  655.       # These items will be deleted upon a mayor using /plot clear
  656.  
  657.       # To disable deleting replace the current entries with NONE.
  658.  
  659.       mayor_plot_delete: WALL_SIGN,SIGN_POST
  660.  
  661.  
  662.  
  663.     revert_on_unclaim:
  664.       # *** WARNING***
  665.  
  666.       # If this is enabled any town plots which become unclaimed will
  667.  
  668.       # slowly be reverted to a snapshot taken before the plot was claimed.
  669.  
  670.       #
  671.  
  672.       # Regeneration will only work if the plot was
  673.  
  674.       # claimed under version 0.76.2, or
  675.  
  676.       # later with this feature enabled
  677.  
  678.       # Unlike the rest of this config section, the speed setting is not
  679.  
  680.       # set per-world. What you set for speed will be used in all worlds.
  681.  
  682.       #
  683.  
  684.       # If you allow players to break/build in the wild the snapshot will
  685.  
  686.       # include any changes made before the plot was claimed.
  687.  
  688.       enabled: 'false'
  689.  
  690.       speed: 1s
  691.  
  692.       # These block types will NOT be regenerated
  693.  
  694.       block_ignore: GOLD_ORE,LAPIS_ORE,LAPIS_BLOCK,GOLD_BLOCK,IRON_BLOCK,MOSSY_COBBLESTONE,TORCH,MOB_SPAWNER,DIAMOND_ORE,DIAMOND_BLOCK,SIGN_POST,WALL_SIGN,GLOWSTONE
  695.  
  696.  
  697.  
  698.     wild_revert_on_mob_explosion:
  699.       # Enabling this will slowly regenerate holes created in the
  700.  
  701.       # wilderness by monsters exploding.
  702.  
  703.       enabled: 'false'
  704.  
  705.       entities: Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,LargeFireball,TNTPrimed,ExplosiveMinecart
  706.  
  707.       delay: 20s
  708.  
  709.  
  710.  
  711.  
  712.  
  713.   ############################################################
  714.  
  715.   # +------------------------------------------------------+ #
  716.  
  717.   # |                Global town settings                  | #
  718.  
  719.   # +------------------------------------------------------+ #
  720.  
  721.   ############################################################
  722.  
  723.  
  724.  
  725. global_town_settings:
  726.   # can residents/Allies harm other residents when in an area with pvp enabled? Other than an Arena plot.
  727.  
  728.   friendly_fire: 'true'
  729.  
  730.   # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  731.  
  732.   health_regen:
  733.     speed: 3s
  734.  
  735.     enable: 'false'
  736.  
  737.   # Allow towns to claim outposts (a townblock not connected to town).
  738.  
  739.   allow_outposts: 'true'
  740.  
  741.   # Allow the use of /town spawn
  742.  
  743.   allow_town_spawn: 'false'
  744.  
  745.   # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  746.  
  747.   allow_town_spawn_travel: 'false'
  748.  
  749.   # Allow regular residents to use /town spawn [town] to other towns in your nation.
  750.  
  751.   allow_town_spawn_travel_nation: 'false'
  752.  
  753.   # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
  754.  
  755.   allow_town_spawn_travel_ally: 'false'
  756.  
  757.   # If non zero it delays any spawn request by x seconds.
  758.  
  759.   teleport_warmup_time: '0'
  760.  
  761.   # Respawn the player at his town spawn point when he/she dies
  762.  
  763.   town_respawn: 'false'
  764.  
  765.   # Town respawn only happens when the player dies in the same world as the town's spawn point.
  766.  
  767.   town_respawn_same_world_only: 'false'
  768.  
  769.   # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  770.  
  771.   # Allowed options: unclaimed,enemy,neutral
  772.  
  773.   prevent_town_spawn_in: enemy
  774.  
  775.   # Enables the [~Home] message.
  776.  
  777.   # If false it will make it harder for enemies to find the home block during a war
  778.  
  779.   show_town_notifications: 'true'
  780.  
  781.   # The required number of residents in a town to join a nation
  782.  
  783.   # If the number is 0, towns will not require a certain amount of residents to join a nation
  784.  
  785.   required_number_residents_join_nation: '0'
  786.  
  787.   # The required number of residents in a town to create a nation
  788.  
  789.   # If the number is 0, towns will not require a certain amount of residents to create a nation
  790.  
  791.   required_number_residents_create_nation: '0'
  792.  
  793.   # 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.
  794.  
  795.   refund_disband_low_residents: 'true'
  796.  
  797.   # The maximum number of townblocks a town can be away from a nation capital,
  798.  
  799.   # Automatically precludes towns from one world joining a nation in another world.
  800.  
  801.   # If the number is 0, towns will not a proximity to a nation.
  802.  
  803.   nation_requires_proximity: '0.0'
  804.  
  805.   # List of blocks which can be modified on farm plots, as long as player is also allowed in the plot's '/plot perm' line.
  806.  
  807.   farm_plot_allow_blocks: LONG_GRASS,DOUBLE_PLANT,YELLOW_FLOWER,RED_ROSE,PUMPKIN_STEM,MELON_STEM,BEETROOT_BLOCK,CARROT,POTATO,CROPS,MELON_BLOCK,PUMPKIN,BEETROOT_BLOCK,CHORUS_PLANT,CHORUS_FLOWER
  808.  
  809.   # List of animals which can be kiled on farm plots by town residents.
  810.  
  811.   farm_animals: PIG,COW,CHICKEN,SHEEP,MOOSHROOM
  812.  
  813.   # The maximum number of residents that can be joined to a town. Setting to 0 disables this feature.
  814.  
  815.   max_residents_per_town: '0'
  816.  
  817.   # If Towny should show players the townboard when they login
  818.  
  819.   display_board_onlogin: 'true'
  820.  
  821.   # If set to true, Towny will prevent a town from toggling PVP while an outsider is within the town's boundaries.
  822.  
  823.   # 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.
  824.  
  825.   outsiders_prevent_pvp_toggle: 'false'
  826.  
  827.   # The amount of residents a town needs to claim an outpost,
  828.  
  829.   # Setting this value to 0, means a town can claim outposts no matter how many residents
  830.  
  831.   minimum_amount_of_residents_in_town_for_outpost: '0'
  832.  
  833.  
  834.  
  835.  
  836.  
  837.   ############################################################
  838.  
  839.   # +------------------------------------------------------+ #
  840.  
  841.   # |                 Plugin interfacing                   | #
  842.  
  843.   # +------------------------------------------------------+ #
  844.  
  845.   ############################################################
  846.  
  847.  
  848.  
  849. plugin:
  850.  
  851.  
  852.   # Valid load and save types are: flatfile, mysql, sqlite, h2.
  853.  
  854.   database:
  855.     database_load: flatfile
  856.  
  857.     database_save: flatfile
  858.  
  859.  
  860.  
  861.     # SQL database connection details (IF set to use SQL).
  862.  
  863.     sql:
  864.       hostname: localhost
  865.  
  866.       port: '3306'
  867.  
  868.       dbname: towny
  869.  
  870.       table_prefix: towny_
  871.  
  872.       username: root
  873.  
  874.       password: ''
  875.  
  876.       ssl: 'false'
  877.  
  878.  
  879.  
  880.     # Flatfile backup settings.
  881.  
  882.     daily_backups: 'true'
  883.  
  884.     backups_are_deleted_after: 90d
  885.  
  886.  
  887.  
  888.     # Valid entries are: zip, none.
  889.  
  890.     flatfile_backup: zip
  891.  
  892.  
  893.  
  894.   interfacing:
  895.  
  896.  
  897.     tekkit:
  898.       # Add any fake players for client/server mods (aka Tekkit) here
  899.  
  900.       fake_residents: '[IndustrialCraft],[BuildCraft],[Redpower],[Forestry],[Turtle]'
  901.  
  902.  
  903.  
  904.     # Enable using_essentials if you are using cooldowns in essentials for teleports.
  905.  
  906.     using_essentials: 'false'
  907.  
  908.  
  909.  
  910.     # This will attempt to use Register (if present)
  911.  
  912.     # Then it will attempt to access iConomy 5.01 directly
  913.  
  914.     # Enable if you have either iConomy 5.01, or Register.jar to
  915.  
  916.     # support: iConomy5, iConomy6, EssentialsEco, BOSEconomy.
  917.  
  918.     # https://github.com/iConomy/Register/tree/master/dist
  919.  
  920.     using_economy: 'true'
  921.  
  922.  
  923.  
  924.     # Enable using_questioner if you are using questioner to send/receive invites to towns/nations.
  925.  
  926.     # See http://code.google.com/a/eclipselabs.org/p/towny/wiki/Questioner for more info.
  927.  
  928.     using_questioner:
  929.       enable: 'true'
  930.  
  931.       # The command to accept invitations.
  932.  
  933.       accept: accept
  934.  
  935.       # The command to refuse invitations.
  936.  
  937.       deny: deny
  938.  
  939.       # When set for more than 0m, the amount of time (in minutes) which must have passed between
  940.  
  941.       # a player's first log in and when they can be invited to a town.
  942.  
  943.       cooldowntime: 0m
  944.  
  945.  
  946.  
  947.     # True to attempt to use GroupManager, PEX, bPermissions, Permissions2/3 or BukkitPerms
  948.  
  949.     # False to disable permission checks and rely on Towny settings.
  950.  
  951.     using_permissions: 'true'
  952.  
  953.  
  954.  
  955.   day_timer:
  956.     # The number of hours in each "day".
  957.  
  958.     # You can configure for 10 hour days. Default is 24 hours.
  959.  
  960.     day_interval: 1d
  961.  
  962.     # The time each "day", when taxes will be collected.
  963.  
  964.     # MUST be less than day_interval. Default is 12h (midday).
  965.  
  966.     new_day_time: 12h
  967.  
  968.  
  969.  
  970.   # Lots of messages to tell you what's going on in the server with time taken for events.
  971.  
  972.   debug_mode: 'false'
  973.  
  974.  
  975.  
  976.   # Info tool for server admins to use to query in game blocks and entities.
  977.  
  978.   info_tool: CLAY_BRICK
  979.  
  980.  
  981.  
  982.   # Spams the player named in dev_name with all messages related to towny.
  983.  
  984.   dev_mode:
  985.     enable: 'false'
  986.  
  987.     dev_name: ElgarL
  988.  
  989.  
  990.  
  991.   # Record all messages to the towny.log
  992.  
  993.   logging: 'true'
  994.  
  995.   # If true this will cause the log to be wiped at every startup.
  996.  
  997.   reset_log_on_boot: 'false'
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.   ############################################################
  1004.  
  1005.   # +------------------------------------------------------+ #
  1006.  
  1007.   # |               Filters colour and chat                | #
  1008.  
  1009.   # +------------------------------------------------------+ #
  1010.  
  1011.   ############################################################
  1012.  
  1013.  
  1014.  
  1015. filters_colour_chat:
  1016.   # This is the name given to any NPC assigned mayor.
  1017.  
  1018.   npc_prefix: NPC
  1019.  
  1020.   # Regex fields used in validating inputs.
  1021.  
  1022.   regex:
  1023.     name_filter_regex: '[ /]'
  1024.  
  1025.     name_check_regex: ^[a-zA-Z0-9._\[\]-]*$
  1026.  
  1027.     string_check_regex: ^[a-zA-Z0-9\s._\[\]-]*$
  1028.  
  1029.     name_remove_regex: '[^a-zA-Z0-9._\[\]-]'
  1030.  
  1031.  
  1032.  
  1033.   modify_chat:
  1034.     # Maximum length of Town and Nation names.
  1035.  
  1036.     max_name_length: '20'
  1037.  
  1038.     # Maximum length of titles and surnames.
  1039.  
  1040.     max_title_length: '10'
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.   ############################################################
  1047.  
  1048.   # +------------------------------------------------------+ #
  1049.  
  1050.   # |             block/item/mob protection                | #
  1051.  
  1052.   # +------------------------------------------------------+ #
  1053.  
  1054.   ############################################################
  1055.  
  1056.  
  1057.  
  1058. protection:
  1059.  
  1060.  
  1061.   # Items that can be blocked within towns via town/plot flags
  1062.  
  1063.   # 259 - flint and steel
  1064.  
  1065.   # 325 - bucket
  1066.  
  1067.   # 326 - water bucket
  1068.  
  1069.   # 327 - lava bucket
  1070.  
  1071.   # 351 - bone/bonemeal
  1072.  
  1073.   # 359 - shears
  1074.  
  1075.   # 368 - ender pearl
  1076.  
  1077.   # 374 - glass bottle
  1078.  
  1079.   # 385 - fire charge
  1080.  
  1081.   item_use_ids: FLINT_AND_STEEL,BUCKET,WATER_BUCKET,LAVA_BUCKET,MINECART,STORAGE_MINECART,INK_SACK,SHEARS,ENDER_PEARL,GLASS_BOTTLE,FIREBALL,ARMOR_STAND,SKULL_ITEM
  1082.  
  1083.  
  1084.  
  1085.   # Items which can be blocked or enabled via town/plot flags
  1086.  
  1087.   # 25 - noteblock
  1088.  
  1089.   # 54 - chest ...etc
  1090.  
  1091.   switch_ids: DISPENSER,NOTE_BLOCK,CHEST,FURNACE,BURNING_FURNACE,WOODEN_DOOR,ACACIA_DOOR,DARK_OAK_DOOR,JUNGLE_DOOR,BIRCH_DOOR,SPRUCE_DOOR,LEVER,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,STONE_BUTTON,WOODEN_BUTTON,TRAP_DOOR,JUKEBOX,DIODE_BLOCK_OFF,DIODE_BLOCK_ON,FENCE_GATE,SPRUCE_FENCE_GATE,BIRCH_FENCE_GATE,JUNGLE_FENCE_GATE,DARK_OAK_FENCE_GATE,ACACIA_FENCE_GATE,TRAPPED_CHEST,GOLD_PLATE,IRON_PLATE,REDSTONE_COMPARATOR_OFF,REDSTONE_COMPARATOR_ON,BEACON,HOPPER,DROPPER,MINECART,STORAGE_MINECART,POWERED_MINECART,CARROT_STICK,EXPLOSIVE_MINECART,HOPPER_MINECART,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
  1092.  
  1093.  
  1094.  
  1095.   # permitted entities https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/LivingEntity.html
  1096.  
  1097.   # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  1098.  
  1099.   # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie, Shulker
  1100.  
  1101.   # Husk, Stray, SkeletonHorse, ZombieHorse, Vex, Vindicator, Evoker, Endermite, PolarBear
  1102.  
  1103.  
  1104.  
  1105.   # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  1106.  
  1107.   town_mob_removal_entities: Monster,WaterMob,Flying,Slime,Shulker,SkeletonHorse,ZombieHorse
  1108.  
  1109.  
  1110.  
  1111.   # Prevent the spawning of villager babies in towns.
  1112.  
  1113.   town_prevent_villager_breeding: 'false'
  1114.  
  1115.   # Disable creatures triggering stone pressure plates
  1116.  
  1117.   disable_creature_pressureplate_stone: 'true'
  1118.  
  1119.  
  1120.  
  1121.   # Globally remove living entities in all worlds that have their flag set.
  1122.  
  1123.   world_mob_removal_entities: Monster,WaterMob,Flying,Slime
  1124.  
  1125.  
  1126.  
  1127.   # Prevent the spawning of villager babies in the world.
  1128.  
  1129.   world_prevent_villager_breeding: 'false'
  1130.  
  1131.  
  1132.  
  1133.   # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  1134.  
  1135.   # Lower values will check all entities more often at the risk of heavier burden and resource use.
  1136.  
  1137.   # NEVER set below 1.
  1138.  
  1139.   mob_removal_speed: 5s
  1140.  
  1141.  
  1142.  
  1143.   # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  1144.  
  1145.   # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  1146.  
  1147.   # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  1148.  
  1149.  
  1150.  
  1151.   # Protect living entities within a town's boundaries from being killed by players.
  1152.  
  1153.   mob_types: Animals,NPC,Snowman,ArmorStand
  1154.  
  1155.  
  1156.  
  1157.   # permitted Potion Types http://jd.bukkit.org/apidocs/org/bukkit/potion/PotionType.html
  1158.  
  1159.   # ABSORPTION, BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, HARM, HEAL, HEALTH_BOOST, HUNGER,
  1160.  
  1161.   # INCREASE_DAMAGE, INVISIBILITY, JUMP, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW , SLOW_DIGGING,
  1162.  
  1163.   # SPEED, WATER_BREATHING, WEAKNESS, WITHER.
  1164.  
  1165.  
  1166.  
  1167.   # When preventing PVP prevent the use of these potions.
  1168.  
  1169.   potion_types: BLINDNESS,CONFUSION,HARM,HUNGER,POISON,SLOW,SLOW_DIGGING,WEAKNESS,WITHER
  1170.  
  1171.  
  1172.  
  1173.   # Prevent fly and double block jump cheats.
  1174.  
  1175.   cheat_protection: 'true'
  1176.  
  1177.  
  1178.  
  1179.   # The amount of time it takes for a protected block to regenerate.  Use zero for no delay.
  1180.  
  1181.   regen_delay: 0s
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.   ############################################################
  1188.  
  1189.   # +------------------------------------------------------+ #
  1190.  
  1191.   # |                Wilderness settings                   | #
  1192.  
  1193.   # +------------------------------------------------------+ #
  1194.  
  1195.   ############################################################
  1196.  
  1197.  
  1198.  
  1199.   # These Settings defaults only. They are copied to each worlds data files upon first detection
  1200.  
  1201.   # To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
  1202.  
  1203.  
  1204.  
  1205. unclaimed:
  1206.   unclaimed_zone_build: 'true'
  1207.  
  1208.   unclaimed_zone_destroy: 'true'
  1209.  
  1210.   unclaimed_zone_item_use: 'true'
  1211.  
  1212.   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
  1213.  
  1214.   unclaimed_zone_switch: 'true'
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.   ############################################################
  1221.  
  1222.   # +------------------------------------------------------+ #
  1223.  
  1224.   # |                 Town Notifications                   | #
  1225.  
  1226.   # +------------------------------------------------------+ #
  1227.  
  1228.   ############################################################
  1229.  
  1230.  
  1231.  
  1232.   # This is the format for the notifications sent as players move between plots.
  1233.  
  1234.   # Empty a particular format for it to be ignored.
  1235.  
  1236.  
  1237.  
  1238.   # Example:
  1239.  
  1240.   # [notification.format]
  1241.  
  1242.   # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  1243.  
  1244.   # ... [notification.plot.format]
  1245.  
  1246.   # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  1247.  
  1248.   # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  1249.  
  1250.  
  1251.  
  1252. notification:
  1253.   format: '&6 ~ %s'
  1254.  
  1255.   splitter: '&7 - '
  1256.  
  1257.   area_wilderness: '&2%s'
  1258.  
  1259.   area_wilderness_pvp: '%s'
  1260.  
  1261.   area_town: '&6%s'
  1262.  
  1263.   area_town_pvp: '%s'
  1264.  
  1265.   owner: '&a%s'
  1266.  
  1267.   no_owner: '&a%s'
  1268.  
  1269.   plot:
  1270.     splitter: ' '
  1271.  
  1272.     format: '%s'
  1273.  
  1274.     homeblock: '&b[Home]'
  1275.  
  1276.     outpostblock: '&b[Outpost]'
  1277.  
  1278.     forsale: '&e[For Sale: %s]'
  1279.  
  1280.     type: '&6[%s]'
  1281.  
  1282.   # If set to true MC's Title and Subtitle feature will be used when crossing into a town.
  1283.  
  1284.   # Could be seen as intrusive/distracting, so false by default.
  1285.  
  1286.   using_titles: 'false'
  1287.  
  1288.   # If the notification.owner option should show name or {title} name.
  1289.  
  1290.   # Titles are the ones granted by nation kings.
  1291.  
  1292.   owner_shows_nation_title: 'false'
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.   ############################################################
  1301.  
  1302.   # +------------------------------------------------------+ #
  1303.  
  1304.   # |             Default Town/Plot flags                  | #
  1305.  
  1306.   # +------------------------------------------------------+ #
  1307.  
  1308.   ############################################################
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314. default_perm_flags:
  1315.  
  1316.  
  1317.   # Default permission flags for residents plots within a town
  1318.  
  1319.   #
  1320.  
  1321.   # Can allies/friends/outsiders perform certain actions in the town
  1322.  
  1323.   #
  1324.  
  1325.   # build - place blocks and other items
  1326.  
  1327.   # destroy - break blocks and other items
  1328.  
  1329.   # itemuse - use items such as furnaces (as defined in item_use_ids)
  1330.  
  1331.   # switch - trigger or activate switches (as defined in switch_ids)
  1332.  
  1333.   resident:
  1334.     friend:
  1335.       build: 'true'
  1336.  
  1337.       destroy: 'true'
  1338.  
  1339.       item_use: 'true'
  1340.  
  1341.       switch: 'true'
  1342.  
  1343.     ally:
  1344.       build: 'false'
  1345.  
  1346.       destroy: 'false'
  1347.  
  1348.       item_use: 'false'
  1349.  
  1350.       switch: 'false'
  1351.  
  1352.     outsider:
  1353.       build: 'false'
  1354.  
  1355.       destroy: 'false'
  1356.  
  1357.       item_use: 'false'
  1358.  
  1359.       switch: 'false'
  1360.  
  1361.  
  1362.  
  1363.   # Default permission flags for towns
  1364.  
  1365.   # These are copied into the town data file at creation
  1366.  
  1367.   #
  1368.  
  1369.   # Can allies/outsiders/residents perform certain actions in the town
  1370.  
  1371.   #
  1372.  
  1373.   # build - place blocks and other items
  1374.  
  1375.   # destroy - break blocks and other items
  1376.  
  1377.   # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  1378.  
  1379.   # switch - trigger or activate switches (as defined in switch_ids)
  1380.  
  1381.   town:
  1382.     default:
  1383.       pvp: 'true'
  1384.  
  1385.       fire: 'false'
  1386.  
  1387.       explosion: 'false'
  1388.  
  1389.       mobs: 'false'
  1390.  
  1391.     resident:
  1392.       build: 'true'
  1393.  
  1394.       destroy: 'true'
  1395.  
  1396.       item_use: 'true'
  1397.  
  1398.       switch: 'true'
  1399.  
  1400.     ally:
  1401.       build: 'false'
  1402.  
  1403.       destroy: 'false'
  1404.  
  1405.       item_use: 'false'
  1406.  
  1407.       switch: 'false'
  1408.  
  1409.     outsider:
  1410.       build: 'false'
  1411.  
  1412.       destroy: 'false'
  1413.  
  1414.       item_use: 'false'
  1415.  
  1416.       switch: 'false'
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.   ############################################################
  1423.  
  1424.   # +------------------------------------------------------+ #
  1425.  
  1426.   # |                  Resident settings                   | #
  1427.  
  1428.   # +------------------------------------------------------+ #
  1429.  
  1430.   ############################################################
  1431.  
  1432.  
  1433.  
  1434. resident_settings:
  1435.   # player is flagged as inactive after 1 hour (default)
  1436.  
  1437.   inactive_after_time: 1h
  1438.  
  1439.   # if enabled old residents will be kicked and deleted from a town
  1440.  
  1441.   # after Two months (default) of not logging in
  1442.  
  1443.   delete_old_residents:
  1444.     enable: 'false'
  1445.  
  1446.     deleted_after_time: 60d
  1447.  
  1448.     delete_economy_account: 'true'
  1449.  
  1450.   # The name of the town a resident will automatically join when he first registers.
  1451.  
  1452.   default_town_name: ''
  1453.  
  1454.   # If true, players can only use beds in plots they personally own.
  1455.  
  1456.   deny_bed_use: 'false'
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.   ############################################################
  1463.  
  1464.   # +------------------------------------------------------+ #
  1465.  
  1466.   # |                  Economy settings                    | #
  1467.  
  1468.   # +------------------------------------------------------+ #
  1469.  
  1470.   ############################################################
  1471.  
  1472.  
  1473.  
  1474. economy:
  1475.   # By default it is set to true.
  1476.  
  1477.   # Rarely set to false. Set to false if you get concurrent modification errors on timers for daily tax collections.
  1478.  
  1479.   use_async: 'true'
  1480.  
  1481.   # Prefix to apply to all town economy accounts.
  1482.  
  1483.   town_prefix: town-
  1484.  
  1485.   # Prefix to apply to all nation economy accounts.
  1486.  
  1487.   nation_prefix: nation-
  1488.  
  1489.  
  1490.  
  1491.   spawn_travel:
  1492.     # Cost to use /town spawn
  1493.  
  1494.     price_town_spawn_travel: '0.0'
  1495.  
  1496.     # Cost to use '/town spawn [town]' to another town in your nation.
  1497.  
  1498.     price_town_nation_spawn_travel: '5.0'
  1499.  
  1500.     # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  1501.  
  1502.     price_town_ally_spawn_travel: '10.0'
  1503.  
  1504.     # Cost to use /town spawn [town]
  1505.  
  1506.     # This is paid to the town you goto.
  1507.  
  1508.     price_town_public_spawn_travel: '10.0'
  1509.  
  1510.  
  1511.  
  1512.   # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  1513.  
  1514.   price_nation_neutrality: '100.0'
  1515.  
  1516.  
  1517.  
  1518.   new_expand:
  1519.     # How much it costs to start a nation.
  1520.  
  1521.     price_new_nation: '50.0'
  1522.  
  1523.     # How much it costs to start a town.
  1524.  
  1525.     price_new_town: '50'
  1526.  
  1527.     # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  1528.  
  1529.     price_outpost: '100.0'
  1530.  
  1531.     # The price for a town to expand one townblock.
  1532.  
  1533.     price_claim_townblock: '25.0'
  1534.  
  1535.     # How much it costs a player to buy extra blocks.
  1536.  
  1537.     price_purchased_bonus_townblock: '25.0'
  1538.  
  1539.     # How much every extra bonus block costs more. Set to 1 to deactivate this. 1.2 means +20% to every bonus claim block cost.
  1540.  
  1541.     price_purchased_bonus_townblock_increase: '1.0'
  1542.  
  1543.  
  1544.  
  1545.   death:
  1546.     # Either fixed or percentage.
  1547.  
  1548.     # For percentage 1.0 would be 100%. 0.01 would be 1%.
  1549.  
  1550.     price_death_type: fixed
  1551.  
  1552.     # A maximum amount paid out by a resident from their personal holdings for percentage deaths.
  1553.  
  1554.     # Set to 0 to have no cap.
  1555.  
  1556.     percentage_cap: '0.0'
  1557.  
  1558.     # If True, only charge death prices for pvp kills. Not monsters/environmental deaths.
  1559.  
  1560.     price_death_pvp_only: 'false'
  1561.  
  1562.  
  1563.  
  1564.     price_death: '0.0'
  1565.  
  1566.  
  1567.  
  1568.     price_death_town: '0.0'
  1569.  
  1570.  
  1571.  
  1572.     price_death_nation: '0.0'
  1573.  
  1574.  
  1575.  
  1576.   banks:
  1577.     # Maximum amount of money allowed in town bank
  1578.  
  1579.     # Use 0 for no limit
  1580.  
  1581.     town_bank_cap: '100'
  1582.  
  1583.     # Set to true to allow withdrawls from town banks
  1584.  
  1585.     town_allow_withdrawls: 'true'
  1586.  
  1587.     # Maximum amount of money allowed in nation bank
  1588.  
  1589.     # Use 0 for no limit
  1590.  
  1591.     nation_bank_cap: '200'
  1592.  
  1593.     # Set to true to allow withdrawls from nation banks
  1594.  
  1595.     nation_allow_withdrawls: 'true'
  1596.  
  1597.   closed_economy:
  1598.     # The name of the account that all money that normally disappears goes into.
  1599.  
  1600.     server_account: towny-server
  1601.  
  1602.     # Turn on/off whether all transactions that normally don't have a second party are to be done with a certain account.
  1603.  
  1604.     # Eg: The money taken during Daily Taxes is just removed. With this on, the amount taken would be funneled into an account.
  1605.  
  1606.     #     This also applies when a player collects money, like when the player is refunded money when a delayed teleport fails.
  1607.  
  1608.     enabled: 'false'
  1609.  
  1610.  
  1611.  
  1612.   daily_taxes:
  1613.     # Enables taxes to be collected daily by town/nation
  1614.  
  1615.     # If a town can't pay it's tax then it is kicked from the nation.
  1616.  
  1617.     # if a resident can't pay his plot tax he loses his plot.
  1618.  
  1619.     # if a resident can't pay his town tax then he is kicked from the town.
  1620.  
  1621.     # if a town or nation fails to pay it's upkeep it is deleted.
  1622.  
  1623.     enabled: 'false'
  1624.  
  1625.     # Maximum tax amount allowed when using flat taxes
  1626.  
  1627.     max_tax_amount: '1000.0'
  1628.  
  1629.     # maximum tax percentage allowed when taxing by percentages
  1630.  
  1631.     max_tax_percent: '25'
  1632.  
  1633.     # The server's daily charge on each nation. If a nation fails to pay this upkeep
  1634.  
  1635.     # all of it's member town are kicked and the Nation is removed.
  1636.  
  1637.     price_nation_upkeep: '0'
  1638.  
  1639.     # The server's daily charge on each town. If a town fails to pay this upkeep
  1640.  
  1641.     # all of it's residents are kicked and the town is removed.
  1642.  
  1643.     price_town_upkeep: '0'
  1644.  
  1645.     # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  1646.  
  1647.     # calculated by (number of claimed plots X price_town_upkeep).
  1648.  
  1649.     town_plotbased_upkeep: 'false'
  1650.  
  1651.     # If set to true, the plot-based-upkeep system will be modified by the Town Levels' upkeep modifiers.
  1652.  
  1653.     town_plotbased_upkeep_affected_by_town_level_modifier: 'false'
  1654.  
  1655.     # If enabled and you set a negative upkeep for the town
  1656.  
  1657.     # any funds the town gains via upkeep at a new day
  1658.  
  1659.     # will be shared out between the plot owners.
  1660.  
  1661.     use_plot_payments: 'false'
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.   ############################################################
  1668.  
  1669.   # +------------------------------------------------------+ #
  1670.  
  1671.   # |                 Jail Plot settings                   | #
  1672.  
  1673.   # +------------------------------------------------------+ #
  1674.  
  1675.   ############################################################
  1676.  
  1677.  
  1678.  
  1679. jail:
  1680.   #If true attacking players who die on enemy-town land will be placed into the defending town's jail if it exists.
  1681.  
  1682.   #Requires town_respawn to be true in order to work.
  1683.  
  1684.   is_jailing_attacking_enemies: 'false'
  1685.  
  1686.   #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.
  1687.  
  1688.   #Requires town_respawn to be true in order to work.
  1689.  
  1690.   is_jailing_attacking_outlaws: 'false'
  1691.  
  1692.   #If true jailed players can use Ender Pearls but are still barred from using other methods of teleporting.
  1693.  
  1694.   jail_allows_ender_pearls: 'false'
  1695.  
  1696.   #If false jailed players can use /town leave, and escape a jail.
  1697.  
  1698.   jail_denies_town_leave: 'false'
  1699.  
  1700.  
  1701.  
  1702.   bail:
  1703.     #If true players can pay a bail amount to be unjailed.
  1704.  
  1705.     is_allowing_bail: 'false'
  1706.  
  1707.     #Amount that bail costs.
  1708.  
  1709.     bail_amount: '10'
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.   ############################################################
  1716.  
  1717.   # +------------------------------------------------------+ #
  1718.  
  1719.   # |                     War settings                     | #
  1720.  
  1721.   # +------------------------------------------------------+ #
  1722.  
  1723.   ############################################################
  1724.  
  1725.  
  1726.  
  1727. war:
  1728.   #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  1729.  
  1730.   nation_can_be_neutral: 'false'
  1731.  
  1732.   #By setting this to true, nations will receive a questioner prompt for alliances and alliances will show on both nations.
  1733.  
  1734.   disallow_one_way_alliance: 'false'
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.   ############################################################
  1741.  
  1742.   # +------------------------------------------------------+ #
  1743.  
  1744.   # |         Economy Transfers During War settings        | #
  1745.  
  1746.   # +------------------------------------------------------+ #
  1747.  
  1748.   ############################################################
  1749.  
  1750.  
  1751.  
  1752.   economy:
  1753.     enemy:
  1754.       # Amount charged to place a warflag (payed to server).
  1755.  
  1756.       place_flag: '25'
  1757.  
  1758.       # Amount payed from the flagbearer to the defender after defending the area.
  1759.  
  1760.       defended_attack: '0'
  1761.  
  1762.     # Defending town pays attaking flagbearer. If a negative (attacker pays defending town),
  1763.  
  1764.     # and the attacker can't pay, the attack is canceled.
  1765.  
  1766.     townblock_won: '0'
  1767.  
  1768.     # Same as townblock_won but for the special case of winning the homeblock.
  1769.  
  1770.     homeblock_won: '0'
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.   ############################################################
  1777.  
  1778.   # +------------------------------------------------------+ #
  1779.  
  1780.   # |                 War Event settings                   | #
  1781.  
  1782.   # +------------------------------------------------------+ #
  1783.  
  1784.   ############################################################
  1785.  
  1786.  
  1787.  
  1788.   # This is started with /townyadmnin toggle war
  1789.  
  1790.  
  1791.  
  1792.   # In peace time War spoils are accumulated from towns and nations being
  1793.  
  1794.   # deleted with any money left in the bank.
  1795.  
  1796.   #
  1797.  
  1798.   # These funds are increased during a war event upon a player death.
  1799.  
  1800.   # An additional bonus to the war chest is set in base_spoils.
  1801.  
  1802.   #
  1803.  
  1804.   # During the event a town losing a townblock pays the wartime_town_block_loss_price to the attacking town.
  1805.  
  1806.   # The war is won when the only nations left in the battle are allies, or only a single nation.
  1807.  
  1808.   #
  1809.  
  1810.   # The winning nations share half of the war spoils.
  1811.  
  1812.   # The remaining half is paid to the town which took the most town blocks, and lost the least.
  1813.  
  1814.  
  1815.  
  1816.   event:
  1817.     warning_delay: '30'
  1818.  
  1819.     #If false all towns not in nations can be attacked during a war event.
  1820.  
  1821.     towns_are_neutral: 'true'
  1822.  
  1823.     enemy:
  1824.       # If true, enemy's can only attack the edge plots of a town in war.
  1825.  
  1826.       only_attack_borders: 'true'
  1827.  
  1828.     plots:
  1829.       # If true, nation members and allies can regen health on plots during war.
  1830.  
  1831.       healable: 'true'
  1832.  
  1833.       # If true, fireworks will be launched at plots being attacked or healed in war every war tick.
  1834.  
  1835.       firework_on_attacked: 'true'
  1836.  
  1837.  
  1838.  
  1839.     # If true and the monarch/king dies the nation is removed from the war.
  1840.  
  1841.     remove_on_monarch_death: 'false'
  1842.  
  1843.     # If enabled players will be able to break/place any blocks in enemy plots during a war.
  1844.  
  1845.     # This setting SHOULD NOT BE USED unless you want the most chaotic war possible.
  1846.  
  1847.     # The editable_materials list in the Warzone Block Permission section should be used instead.
  1848.  
  1849.     allow_block_griefing: 'false'
  1850.  
  1851.  
  1852.  
  1853.     # A townblock takes damage every 5 seconds that an enemy is stood in it.
  1854.  
  1855.     block_hp:
  1856.       town_block_hp: '60'
  1857.  
  1858.       home_block_hp: '120'
  1859.  
  1860.  
  1861.  
  1862.     eco:
  1863.       # This amount is new money injected into the economy with a war event.
  1864.  
  1865.       base_spoils: '100.0'
  1866.  
  1867.       # This amount is taken from the losing town for each plot lost.
  1868.  
  1869.       wartime_town_block_loss_price: '100.0'
  1870.  
  1871.       # This amount is taken from the player if they die during the event
  1872.  
  1873.       price_death_wartime: '200.0'
  1874.  
  1875.     # If set to true when a town drops an enemy townblock's HP to 0, the attacking town gains a bonus townblock,
  1876.  
  1877.     # and the losing town gains a negative (-1) bonus townblock.
  1878.  
  1879.     costs_townblocks: 'false'
  1880.  
  1881.  
  1882.  
  1883.     points:
  1884.       points_townblock: '1'
  1885.  
  1886.       points_town: '10'
  1887.  
  1888.       points_nation: '100'
  1889.  
  1890.       points_kill: '1'
  1891.  
  1892.  
  1893.  
  1894.     # The minimum height at which a player must stand to count as an attacker.
  1895.  
  1896.     min_height: '60'
  1897.  
  1898.  
  1899.  
  1900.   ############################################################
  1901.  
  1902.   # +------------------------------------------------------+ #
  1903.  
  1904.   # |                   Flag war settings                  | #
  1905.  
  1906.   # |                                                      | #
  1907.  
  1908.   # |               Separate from Event War                | #
  1909.  
  1910.   # |                 Unsupported / Buggy                  | #
  1911.  
  1912.   # +------------------------------------------------------+ #
  1913.  
  1914.   ############################################################
  1915.  
  1916.  
  1917.  
  1918.   enemy:
  1919.     # If false, players won't be able to place war flags, effectively disabling warzones.
  1920.  
  1921.     allow_attacks: 'true'
  1922.  
  1923.     # If true, enemy's can only attack the edge plots of a town with war flags.
  1924.  
  1925.     only_attack_borders: 'false'
  1926.  
  1927.     # This many people must be online in target town in order to place a war flag in their domain.
  1928.  
  1929.     min_players_online_in_town: '1'
  1930.  
  1931.     # This many people must be online in target nation in order to place a war flag in their domain.
  1932.  
  1933.     min_players_online_in_nation: '1'
  1934.  
  1935.     max_active_flags_per_player: '1'
  1936.  
  1937.     flag:
  1938.       waiting_time: 3m
  1939.  
  1940.       # This is the block a player must place to trigger the attack event.
  1941.  
  1942.       base_block: fence
  1943.  
  1944.       # This is the block a player must place to trigger the attack event.
  1945.  
  1946.       light_block: torch
  1947.  
  1948.     beacon:
  1949.       # Must be smaller than half the size of town_block_size.
  1950.  
  1951.       radius: '3'
  1952.  
  1953.       # The range the beacon will be drawn in. It's flexibility is in case the flag is close to the height limit.
  1954.  
  1955.       # If a flag is too close to the height limit (lower than the minimum), it will not be drawn.
  1956.  
  1957.       height_above_flag:
  1958.         min: '3'
  1959.  
  1960.         max: '64'
  1961.  
  1962.       draw: 'true'
  1963.  
  1964.       wireframe_block: glowstone
  1965.  
  1966.   ############################################################
  1967.  
  1968.   # +------------------------------------------------------+ #
  1969.  
  1970.   # |              Warzone Block Permissions               | #
  1971.  
  1972.   # |                                                      | #
  1973.  
  1974.   # |              Used in Flag & Event Wars               | #
  1975.  
  1976.   # +------------------------------------------------------+ #
  1977.  
  1978.   ############################################################
  1979.  
  1980.  
  1981.  
  1982.   warzone:
  1983.     # List of materaials that can be modified in a warzone.
  1984.  
  1985.     # '*' = Allow all materials.
  1986.  
  1987.     # Prepend a '-' in front of a material to remove it. Used in conjunction with when you use '*'.
  1988.  
  1989.     # Eg: '*,-chest,-furnace'
  1990.  
  1991.     editable_materials: tnt,fence,ladder,wood_door,iron_door,fire
  1992.  
  1993.     item_use: 'true'
  1994.  
  1995.     switch: 'true'
  1996.  
  1997.     # Add '-fire' to editable materials for complete protection when setting is false. This prevents fire to be created and spread.
  1998.  
  1999.     fire: 'true'
  2000.  
  2001.     explosions: 'true'
  2002.  
  2003.     explosions_break_blocks: 'true'
  2004.  
  2005.     # Only under affect when explosions_break_blocks is true.
  2006.  
  2007.     explosions_regen_blocks: 'true'
  2008.  
  2009.     # A list of blocks that will not be exploded, mostly because they won't regenerate properly.
  2010.  
  2011.     # These blocks will also protect the block below them, so that blocks like doors do not dupe themselves.
  2012.  
  2013.     # Only under affect when explosions_break_blocks is true.
  2014.  
  2015.     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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement