Advertisement
Guest User

towny config

a guest
Oct 6th, 2011
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 26.29 KB | None | 0 0
  1.  
  2.  
  3. ############################################################
  4. # +------------------------------------------------------+ #
  5. # |             block/item/mob protection                | #
  6. # +------------------------------------------------------+ #
  7. ############################################################
  8.  
  9. protection:
  10.     # Prevent fly and double block jump cheats.
  11.     cheat_protection: 'true'
  12.  
  13.     # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  14.     # Lower values will check all entities more often at the risk of heavier burden and resource use.
  15.     # NEVER set below 1.
  16.     mob_removal_speed: 5s
  17.  
  18.     # Globally remove living entities in all worlds that have their flag set.
  19.     world_mob_removal_entities: WaterMob,Flying,Slime
  20.  
  21.     # Items that can be blocked within towns via town/plot flags
  22.     # 259 - flint and steel
  23.     # 325 - bucket
  24.     # 326 - water bucket
  25.     # 327 - lava bucket
  26.     # 351 - bone/bonemeal
  27.     item_use_ids: 259,325,326,327,351
  28.  
  29.     # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  30.     # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  31.     # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  32.  
  33.     # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  34.     town_mob_removal_entities: Monster,WaterMob,Flying,Slime
  35.  
  36.     # Items which can be blocked or enabled via town/plot flags
  37.     # 25 - noteblock
  38.     # 54 - chest
  39.     # 61 - furnace
  40.     # 62 - lit furnace
  41.     # 64 - wooden door
  42.     # 69 - lever
  43.     # 70 - stone pressure plate
  44.     # 71 - iron door
  45.     # 72 - wooden pressure plate
  46.     # 77 - stone button
  47.     # 96 - trap door
  48.     # 84 - jukebox
  49.     # 93/94 - redstone repeater
  50.     switch_ids: 25,54,61,62,64,69,70,71,72,77,96,84,93,94
  51.  
  52.     # The amount of time it takes for a protected block to regenerate.  Use zero for no delay.
  53.     regen_delay: 0s
  54.  
  55.  
  56. ############################################################
  57. # +------------------------------------------------------+ #
  58. # |             Default Town/Plot flags                  | #
  59. # +------------------------------------------------------+ #
  60. ############################################################
  61.  
  62.  
  63. default_perm_flags:
  64.     # Default permission flags for towns
  65.     # These are copied into the town data file at creation
  66.     #
  67.     # Can allies/outsiders/residents perform certain actions in the town
  68.     #
  69.     # build - place blocks and other items
  70.     # destroy - break blocks and other items
  71.     # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  72.     # switch - trigger or activate switches (as defined in switch_ids)
  73.     town:
  74.         ally:
  75.             destroy: 'false'
  76.             item_use: 'false'
  77.             switch: 'false'
  78.             build: 'false'
  79.         outsider:
  80.             destroy: 'false'
  81.             item_use: 'false'
  82.             switch: 'false'
  83.             build: 'false'
  84.         resident:
  85.             destroy: 'true'
  86.             item_use: 'true'
  87.             switch: 'true'
  88.             build: 'true'
  89.  
  90.     # Default permission flags for residents plots within a town
  91.     #
  92.     # Can allies/friends/outsiders perform certain actions in the town
  93.     #
  94.     # build - place blocks and other items
  95.     # destroy - break blocks and other items
  96.     # itemuse - use items such as furnaces (as defined in item_use_ids)
  97.     # switch - trigger or activate switches (as defined in switch_ids)
  98.     resident:
  99.         ally:
  100.             destroy: 'false'
  101.             item_use: 'false'
  102.             switch: 'false'
  103.             build: 'false'
  104.         outsider:
  105.             destroy: 'false'
  106.             item_use: 'false'
  107.             switch: 'false'
  108.             build: 'false'
  109.         friend:
  110.             destroy: 'true'
  111.             item_use: 'true'
  112.             switch: 'true'
  113.             build: 'true'
  114.  
  115.  
  116. ############################################################
  117. # +------------------------------------------------------+ #
  118. # |                  Economy settings                    | #
  119. # +------------------------------------------------------+ #
  120. ############################################################
  121.  
  122. economy:
  123.     daily_taxes:
  124.        # Enables taxes to be collected daily by town/nation
  125.         # If a town can't pay it's tax then it is kicked from the nation.
  126.         # if a resident can't pay his plot tax he loses his plot.
  127.         # if a resident can't pay his town tax then he is kicked from the town.
  128.         # if a town or nation fails to pay it's upkeep it is deleted.
  129.         enabled: 'false'
  130.         # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  131.         town_plotbased_upkeep: 'false'
  132.         # Maximum tax amount allowed when using flat taxes
  133.         max_tax_amount: '0'
  134.         # maximum tax percentage allowed when taxing by percentages
  135.         max_tax_percent: '0'
  136.         # The server's daily charge on each town. If a town fails to pay this upkeep
  137.         # all of it's residents are kicked and the town is removed.
  138.         price_town_upkeep: '0'
  139.         # The server's daily charge on each nation. If a nation fails to pay this upkeep
  140.         # all of it's member town are kicked and the Nation is removed.
  141.         price_nation_upkeep: '0'
  142.  
  143.     spawn_travel:
  144.        # Cost to use /town spawn [town]
  145.         # This is paid to the town you goto.
  146.         price_town_public_spawn_travel: '0'
  147.         # Cost to use '/town spawn [town]' to another town in your nation.
  148.         price_town_nation_spawn_travel: '0'
  149.         # Cost to use /town spawn
  150.         price_town_spawn_travel: '0.0'
  151.         # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  152.         price_town_ally_spawn_travel: '0'
  153.  
  154.     price_death_wartime: '0'
  155.  
  156.     new_expand:
  157.        # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  158.         price_outpost: '0'
  159.         # How much it costs to start a town.
  160.         price_new_town: '0'
  161.         # The price for a town to expand one townblock.
  162.         price_claim_townblock: '0'
  163.         # How much it costs a player to buy extra blocks.
  164.         price_purchased_bonus_townblock: '0'
  165.         # How much it costs to start a nation.
  166.         price_new_nation: '0'
  167.  
  168.     price_death: '0'
  169.  
  170.     banks:
  171.        # Maximum amount of money allowed in town bank
  172.         # Use 0 for no limit
  173.         town_bank_cap: '0.0'
  174.         # Set to true to allow withdrawls from nation banks
  175.         nation_allow_withdrawls: 'true'
  176.         # Maximum amount of money allowed in nation bank
  177.         # Use 0 for no limit
  178.         nation_bank_cap: '0.0'
  179.         # Set to true to allow withdrawls from town banks
  180.         town_allow_withdrawls: 'true'
  181.  
  182.     # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  183.     price_nation_neutrality: '0'
  184.  
  185.  
  186. ############################################################
  187. # +------------------------------------------------------+ #
  188. # |             Default new world settings               | #
  189. # +------------------------------------------------------+ #
  190. ############################################################
  191.  
  192. # These flags are only used at the initial setp of a new world.
  193.  
  194. # Once Towny is running each world can be altered from within game
  195. # using '/townyworld toggle'
  196.  
  197. new_world_settings:
  198.    # force_pvp_on is a global flag and overrides any towns flag setting
  199.     force_pvp_on: 'false'
  200.     # force_fire_on is a global flag and overrides any towns flag setting
  201.     force_fire_on: 'false'
  202.  
  203.     # World management settings to deal with un/claiming plots
  204.     plot_management:
  205.         wild_revert_on_mob_explosion:
  206.            # Enabling this will slowly regenerate holes created in the
  207.             # wilderness by monsters exploding.
  208.             enabled: 'true'
  209.             delay: 5s
  210.  
  211.         block_delete:
  212.             enabled: 'true'
  213.             # These items will be deleted upon a plot being unclaimed
  214.             unclaim_delete: 26,50,55,63,64,68,70,71,72,75,76,93,94
  215.  
  216.         revert_on_unclaim:
  217.            # *** WARNING***
  218.             # If this is enabled any town plots which become unclaimed will
  219.             # slowly be reverted to a snapshot taken before the plot was claimed.
  220.             #
  221.             # Regeneration will only work if the plot was
  222.             # claimed under version 0.76.2, or
  223.             # later with this feature enabled
  224.             #
  225.             # If you allow players to break/build in the wild the snapshot will
  226.             # include any changes made before the plot was claimed.
  227.             enabled: 'true'
  228.             speed: 1s
  229.             # These block types will NOT be regenerated
  230.             block_ignore: 21,50,52,56,63,68,89
  231.  
  232.         mayor_plotblock_delete:
  233.             enabled: 'true'
  234.             # These items will be deleted upon a mayor using /plot clear
  235.             mayor_plot_delete: WALL_SIGN,SIGN_POST
  236.  
  237.     # force_town_monsters_on is a global flag and overrides any towns flag setting
  238.     force_town_monsters_on: 'false'
  239.     # Disable creatures trampling crops
  240.     disable_creature_crop_trampling: 'true'
  241.     # force_explosions_on is a global flag and overrides any towns flag setting
  242.     force_explosions_on: 'false'
  243.     # Disable players trampling crops
  244.     disable_player_crop_trampling: 'true'
  245.     # world_monsters_on is a global flag setting per world.
  246.     world_monsters_on: 'true'
  247.  
  248.  
  249. ############################################################
  250. # +------------------------------------------------------+ #
  251. # |                Global town settings                  | #
  252. # +------------------------------------------------------+ #
  253. ############################################################
  254.  
  255. global_town_settings:
  256.    # Allow regular residents to use /town spawn [town] to other towns in your nation.
  257.     allow_town_spawn_travel_nation: 'true'
  258.     # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
  259.     allow_town_spawn_travel_ally: 'true'
  260.  
  261.     # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  262.     # Allowed options: unclaimed,enemy,neutral
  263.     prevent_town_spawn_in: enemy
  264.     # Allow the use of /town spawn
  265.     allow_town_spawn: 'true'
  266.  
  267.     # Respawn the player at his town spawn point when he/she dies
  268.     town_respawn: 'false'
  269.     # can residents/Allies harm other residents when in a town with pvp enabled?
  270.     friendly_fire: 'true'
  271.     # If non zero it delays any spawn request by x seconds.
  272.     teleport_warmup_time: '0'
  273.     # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  274.     health_regen:
  275.         speed: 3s
  276.         enable: 'true'
  277.     # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  278.     allow_town_spawn_travel: 'true'
  279.     # Allow towns to claim outposts (a townblock not connected to town).
  280.     allow_outposts: 'true'
  281.     # Enables the [~Home] message.
  282.     # If false it will make it harder for enemies to find the home block during a war
  283.     show_town_notifications: 'true'
  284.  
  285.  
  286. ############################################################
  287. # +------------------------------------------------------+ #
  288. # |                     War settings                     | #
  289. # +------------------------------------------------------+ #
  290. ############################################################
  291.  
  292. war:
  293.    ############################################################
  294.     # +------------------------------------------------------+ #
  295.     # |            Warring Nation Enemies settings           | #
  296.     # +------------------------------------------------------+ #
  297.     ############################################################
  298.  
  299.     enemy:
  300.        #This many people must be online in target town in order to place a war flag in their domain.
  301.         min_players_online_in_town: '2'
  302.         flag:
  303.            #This is the block a player must place to trigger the attack event.
  304.             base_block: fence
  305.             waiting_time: 1m
  306.             #This is the block a player must place to trigger the attack event.
  307.             light_block: torch
  308.         #This many people must be online in target nation in order to place a war flag in their domain.
  309.         min_players_online_in_nation: '3'
  310.         #If false, players won't be able to place war flags, effectively disabling warzones.
  311.         allow_attacks: 'false'
  312.         beacon:
  313.             draw: 'true'
  314.             wireframe_block: glowstone
  315.             #Must be smaller than half the size of town_block_size.
  316.             radius: '3'
  317.         max_active_flags_per_player: '1'
  318.     #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  319.     nation_can_be_neutral: 'true'
  320.  
  321.  
  322.     ############################################################
  323.     # +------------------------------------------------------+ #
  324.     # |                 War Event settings                   | #
  325.     # +------------------------------------------------------+ #
  326.     ############################################################
  327.  
  328.     event:
  329.         home_block_hp: '120'
  330.         warning_delay: '30'
  331.         points_townblock: '1'
  332.         points_kill: '1'
  333.         points_nation: '100'
  334.         remove_on_monarch_death: 'false'
  335.         town_block_hp: '60'
  336.         min_height: '60'
  337.         base_spoils: '100'
  338.         points_town: '10'
  339.     wartime_town_block_loss_price: '100'
  340.  
  341.  
  342. ############################################################
  343. # +------------------------------------------------------+ #
  344. # |                 Plugin interfacing                   | #
  345. # +------------------------------------------------------+ #
  346. ############################################################
  347.  
  348. plugin:
  349.     day_timer:
  350.        # The number of hours in each "day".
  351.         # You can configure for 10 hour days. Default is 24 hours.
  352.         day_interval: 1d
  353.         # The time each "day", when taxes will be collected.
  354.         # MUST be less than day_interval. Default is 12h (midday).
  355.         new_day_time: 12h
  356.  
  357.     interfacing:
  358.        # Enable using_essentials if you are using cooldowns in essentials for teleports.
  359.         using_essentials: 'false'
  360.         # True to use Permissions 2.7x, 3.1x or GroupManager Bridge
  361.         # False to use Bukkits built in permissions/Groupmanager.
  362.         using_permissions: 'false'
  363.         # Enable if you have the Register plugin to manage your Economy plugin.
  364.         # Register supports: iConomy5, iConomy6, EssentialsEco, BOSEconomy.
  365.         # https://github.com/iConomy/Register/tree/master/dist
  366.         using_register: 'false'
  367.         # Enable using_questioner if you are using questioner to send/receive invites to towns/nations.
  368.         # See http://code.google.com/a/eclipselabs.org/p/towny/wiki/Questioner for more info.
  369.         using_questioner: 'true'
  370.         # Enable to retain iConomy 5 legacy support (overridden by the using_register setting).
  371.         using_iconomy: 'false'
  372.  
  373.     # Record all messages to the towny.log
  374.     logging: 'true'
  375.     # Lots of messages to tell you what's going on in the server with time taken for events.
  376.     debug_mode: 'true'
  377.     # If true this will cause the log to be wiped at every startup.
  378.     reset_log_on_boot: 'true'
  379.  
  380.     database:
  381.         database_save: flatfile
  382.         flatfile_backup: zip
  383.         backups_are_deteleted_after: 90d
  384.         database_load: flatfile
  385.         daily_backups: 'true'
  386.  
  387.     # Spams the player named in dev_name with all messages related to towny.
  388.     dev_mode:
  389.         dev_name: ElgarL
  390.         enable: 'false'
  391.  
  392. version:
  393.    # Minium required version of CraftBukkit.  Please do not edit.
  394.     bukkit_version: '1185'
  395.     # This is for showing the changelog on updates.  Please do not edit.
  396.     last_run_version: 0.76.2.0
  397.     # This is the current version of Towny.  Please do not edit.
  398.     version: 0.76.2.0
  399.  
  400. ############################################################
  401. # +------------------------------------------------------+ #
  402. # |                Town and Nation levels                | #
  403. # +------------------------------------------------------+ #
  404. ############################################################
  405.  
  406. levels:
  407.     # default Nation levels.
  408.     nation_level:
  409.     -   capitalPostfix: ''
  410.         upkeepModifier: 1.0
  411.         namePostfix: ' (Nation)'
  412.         kingPrefix: 'Leader '
  413.         namePrefix: 'Land of '
  414.         numResidents: 0
  415.         capitalPrefix: ''
  416.         kingPostfix: ''
  417.     -   capitalPostfix: ''
  418.         upkeepModifier: 1.0
  419.         namePostfix: ' (Nation)'
  420.         kingPrefix: 'Count '
  421.         namePrefix: 'Federation of '
  422.         numResidents: 10
  423.         capitalPrefix: ''
  424.         kingPostfix: ''
  425.     -   capitalPostfix: ''
  426.         upkeepModifier: 1.0
  427.         namePostfix: ' (Nation)'
  428.         kingPrefix: 'Duke '
  429.         namePrefix: 'Dominion of '
  430.         numResidents: 20
  431.         capitalPrefix: ''
  432.         kingPostfix: ''
  433.     -   capitalPostfix: ''
  434.         upkeepModifier: 1.0
  435.         namePostfix: ' (Nation)'
  436.         kingPrefix: 'King '
  437.         namePrefix: 'Kingdom of '
  438.         numResidents: 30
  439.         capitalPrefix: ''
  440.         kingPostfix: ''
  441.     -   capitalPostfix: ''
  442.         upkeepModifier: 1.0
  443.         namePostfix: ' Empire'
  444.         kingPrefix: 'Emperor '
  445.         namePrefix: 'The '
  446.         numResidents: 40
  447.         capitalPrefix: ''
  448.         kingPostfix: ''
  449.     -   capitalPostfix: ''
  450.         upkeepModifier: 1.0
  451.         namePostfix: ' Realm'
  452.         kingPrefix: 'God Emperor '
  453.         namePrefix: 'The '
  454.         numResidents: 60
  455.         capitalPrefix: ''
  456.         kingPostfix: ''
  457.  
  458.     # default Town levels.
  459.     town_level:
  460.     -   upkeepModifier: 1.0
  461.         namePostfix: ' Ruins'
  462.         mayorPrefix: 'Spirit '
  463.         mayorPostfix: ''
  464.         townBlockLimit: 1
  465.         namePrefix: ''
  466.         numResidents: 0
  467.     -   upkeepModifier: 1.0
  468.         namePostfix: ' (Settlement)'
  469.         mayorPrefix: 'Hermit '
  470.         mayorPostfix: ''
  471.         townBlockLimit: 16
  472.         namePrefix: ''
  473.         numResidents: 1
  474.     -   upkeepModifier: 1.0
  475.         namePostfix: ' (Hamlet)'
  476.         mayorPrefix: 'Chief '
  477.         mayorPostfix: ''
  478.         townBlockLimit: 32
  479.         namePrefix: ''
  480.         numResidents: 2
  481.     -   upkeepModifier: 1.0
  482.         namePostfix: ' (Village)'
  483.         mayorPrefix: 'Baron Von '
  484.         mayorPostfix: ''
  485.         townBlockLimit: 96
  486.         namePrefix: ''
  487.         numResidents: 6
  488.     -   upkeepModifier: 1.0
  489.         namePostfix: ' (Town)'
  490.         mayorPrefix: 'Viscount '
  491.         mayorPostfix: ''
  492.         townBlockLimit: 160
  493.         namePrefix: ''
  494.         numResidents: 10
  495.     -   upkeepModifier: 1.0
  496.         namePostfix: ' (Large Town)'
  497.         mayorPrefix: 'Count Von '
  498.         mayorPostfix: ''
  499.         townBlockLimit: 224
  500.         namePrefix: ''
  501.         numResidents: 14
  502.     -   upkeepModifier: 1.0
  503.         namePostfix: ' (City)'
  504.         mayorPrefix: 'Earl '
  505.         mayorPostfix: ''
  506.         townBlockLimit: 320
  507.         namePrefix: ''
  508.         numResidents: 20
  509.     -   upkeepModifier: 1.0
  510.         namePostfix: ' (Large City)'
  511.         mayorPrefix: 'Duke '
  512.         mayorPostfix: ''
  513.         townBlockLimit: 384
  514.         namePrefix: ''
  515.         numResidents: 24
  516.     -   upkeepModifier: 1.0
  517.         namePostfix: ' (Metropolis)'
  518.         mayorPrefix: 'Lord '
  519.         mayorPostfix: ''
  520.         townBlockLimit: 448
  521.         namePrefix: ''
  522.         numResidents: 28
  523.  
  524.  
  525. ############################################################
  526. # +------------------------------------------------------+ #
  527. # |                  Resident settings                   | #
  528. # +------------------------------------------------------+ #
  529. ############################################################
  530.  
  531. resident_settings:
  532.    # player is flagged as inactive after 1 hour (default)
  533.     inactive_after_time: 1h
  534.     # The name of the town a resident will automatically join when he first registers.
  535.     default_town_name: ''
  536.     # if enabled old residents will be kicked and deleted from a town
  537.     # after Two months (default) of not logging in
  538.     delete_old_residents:
  539.         enable: 'false'
  540.         deleted_after_time: 60d
  541.  
  542.  
  543. ############################################################
  544. # +------------------------------------------------------+ #
  545. # |                Wilderness settings                   | #
  546. # +------------------------------------------------------+ #
  547. ############################################################
  548.  
  549. unclaimed:
  550.     unclaimed_zone_switch: 'false'
  551.     unclaimed_zone_ignore: 'false'
  552.     unclaimed_zone_item_use: 'false'
  553.     unclaimed_zone_build: 'false'
  554.     unclaimed_zone_destroy: 'false'
  555.  
  556. ############################################################
  557. # +------------------------------------------------------+ #
  558. # |                   Permission nodes                   | #
  559. # +------------------------------------------------------+ #
  560. ############################################################
  561.  
  562. #  Possible permission nodes
  563. #
  564. #    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.
  565. #    towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
  566. #    towny.town.new :User is able to create a town
  567. #    towny.town.delete :User is able to delete their town
  568. #    towny.town.claim : User is able to expand his town with /town claim
  569. #    towny.town.plot : User is able to use the /plot commands
  570. #    towny.town.resident : User is able to join towns upon invite.
  571. #    towny.town.toggle.*: User can access all town toggle commands (if a mayor or assistant).
  572. #        towny.town.toggle.pvp
  573. #        towny.town.toggle.public
  574. #        towny.town.toggle.explosions
  575. #        towny.town.toggle.fire
  576. #        towny.town.toggle.mobs
  577. #    towny.nation.new :User is able to create a nation
  578. #    towny.nation.delete :User is able to delete their nation
  579. #    towny.wild.*: User is able to build/destroy in wild regardless.
  580. #        towny.wild.build
  581. #        towny.wild.destroy
  582. #        towny.wild.switch
  583. #        towny.wild.item_use
  584. #    towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
  585. #    towny.town.spawn.*: Grants all Spawn travel nodes
  586. #        towny.town.spawn.town : Ability to spawn to your own town.
  587. #        towny.town.spawn.nation : Ability to spawn to other towns in your nation.
  588. #        towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
  589. #        towny.town.spawn.public : Ability to spawn to unaffilated public towns.
  590. #
  591. # these will be moved to permissions nodes at a later date
  592. permissions:
  593.     town_creation_admin_only: 'false'
  594.     nation_creation_admin_only: 'false'
  595.  
  596. # The language file you wish to use
  597. language: english.yml
  598.  
  599. ############################################################
  600. # +------------------------------------------------------+ #
  601. # |               Town Claim/new defaults                | #
  602. # +------------------------------------------------------+ #
  603. ############################################################
  604.  
  605. town:
  606.    # Limits the maximum amount of bonus blocks a town can buy.
  607.     max_purchased_blocks: '0'
  608.     # maximum number of plots any single resident can own
  609.     max_plots_per_resident: '100'
  610.  
  611.     # Minimum number of plots any towns home plot must be from the next town.
  612.     # This will prevent someone founding a town right on your doorstep
  613.     min_distance_from_town_homeblock: '5'
  614.     # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  615.     # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  616.     # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  617.     # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  618.     town_block_size: '16'
  619.     # Maximum number of towns allowed on the server.
  620.     town_limit: '3000'
  621.  
  622.     # The maximum townblocks available to a town is (numResidents * ratio).
  623.     # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  624.     town_block_ratio: '16'
  625.  
  626.     # Maximum distance between homblocks.
  627.     # This will force players to build close together.
  628.     max_distance_between_homeblocks: '0'
  629.  
  630.  
  631. ############################################################
  632. # +------------------------------------------------------+ #
  633. # |               Filters colour and chat                | #
  634. # +------------------------------------------------------+ #
  635. ############################################################
  636.  
  637. filters_colour_chat:
  638.     # Text colouring
  639.     # --------------
  640.     # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
  641.     # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
  642.     # DarkPurple = &9, LightGreen = &a, LightBlue = &b
  643.     # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
  644.  
  645.     # Chat colours
  646.     colour:
  647.         mayor: '&b'
  648.         king: '&6'
  649.     # This is the name given to any NPC assigned mayor.
  650.     npc_prefix: NPC
  651.     # Regex fields used in validating inputs.
  652.     regex:
  653.         name_remove_regex: '[^a-zA-Z0-9._-]'
  654.         name_check_regex: ^[a-zA-Z0-9._-]*$
  655.         name_filter_regex: '[ /]'
  656.  
  657.     # The format below will specify the changes made to the player name when chatting.
  658.     # keys are
  659.     # {nation} - Displays nation name if a member of a nation.
  660.     # {town} - Displays town name if a member of a town.
  661.     # {permprefix} - Permission group prefix
  662.     # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels
  663.     # {playername} - default player name
  664.     # {modplayername} - modified player name (use if Towny is over writing some other plugins changes).
  665.     # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
  666.     # {permsuffix} - Permission group suffix.
  667.     modify_chat:
  668.         enable: 'true'
  669.         max_title_length: '10'
  670.         format: '{permprefix}{playername}{permsuffix}'
  671.  
  672.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement