Don't like ads? PRO users don't see any ads ;-)
Guest

Towny config

By: a guest on May 5th, 2012  |  syntax: None  |  size: 32.50 KB  |  hits: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #
  2. # The language file you wish to use
  3.  
  4. version:
  5.   # This is the current version of Towny.  Please do not edit.
  6.   version: 0.80.0.0
  7.   # This is for showing the changelog on updates.  Please do not edit.
  8.   last_run_version: 0.80.0.0
  9.   # Minimum required version of CraftBukkit.  Please do not edit.
  10.   bukkit_version: '2126'
  11.   # If enabled we will not check the CraftBukkit version at startup.
  12.   bypass_version_check: 'false'
  13.  
  14. # The language file you wish to use
  15. language: english.yml
  16.  
  17. ############################################################
  18. # +------------------------------------------------------+ #
  19. # |                   Permission nodes                   | #
  20. # +------------------------------------------------------+ #
  21. ############################################################
  22.  
  23. #  Possible permission nodes
  24. #
  25. #    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.
  26. #    towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
  27. #    towny.top : User can access the command towny top
  28. #    towny.town.* : User has access to all town permission nodes.
  29. #        towny.town.new :User is able to create a town
  30. #        towny.town.delete :User is able to delete their town
  31. #        towny.town.claim : User is able to expand his town with /town claim
  32. #        towny.town.plot : User is able to use the /plot commands
  33. #        towny.town.resident : User is able to join towns upon invite.
  34. #    towny.town.toggle.*: User can access all town toggle commands (if a mayor or assistant).
  35. #        towny.town.toggle.pvp
  36. #        towny.town.toggle.public
  37. #        towny.town.toggle.explosions
  38. #        towny.town.toggle.fire
  39. #        towny.town.toggle.mobs
  40. #    towny.nation.* : User has access to all town permission nodes.
  41. #        towny.nation.new :User is able to create a nation
  42. #        towny.nation.delete :User is able to delete their nation (if king)
  43. #        towny.nation.rename :User is able to rename their nation (if king/assistant)
  44. #        towny.nation.grant-titles :User is able to grant titles/surnames to the nation residents (if King)
  45. #    towny.wild.*: User is able to build/destroy in wild regardless.
  46. #        towny.wild.build
  47. #        towny.wild.destroy
  48. #        towny.wild.switch
  49. #        towny.wild.item_use
  50. #    towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
  51. #        towny.wild.build.[block id]
  52. #        towny.wild.destroy.[block id]
  53. #        towny.wild.switch.[block id]
  54. #        towny.wild.item_use.[block id]
  55. #
  56. #    towny.claimed.* : User can build/destroy/switch/item_use in all towns.
  57. #        towny.claimed.build : User can build in all towns.
  58. #        towny.claimed.destroy : User can destroy in all towns.
  59. #        towny.claimed.switch : User can switch in all towns.
  60. #        towny.claimed.item_use : User can use use items in all towns.
  61. #    towny.claimed.alltown.* : User is able to edit specified/all block types in all towns.
  62. #        towny.claimed.alltown.build.[block id]
  63. #        towny.claimed.alltown.destroy.[block id]
  64. #        towny.claimed.alltown.switch.[block id] : User can switch specified/all block types in all towns.
  65. #        towny.claimed.alltown.item_use.[block id]
  66. #    towny.claimed.owntown.* : User is able to edit specified/all block types in their own town.
  67. #        towny.claimed.owntown.build.[block id]
  68. #        towny.claimed.owntown.destroy.[block id] : (handy to allow clearing of snow '78')
  69. #        towny.claimed.owntown.switch.[block id]
  70. #        towny.claimed.owntown.item_use.[block id]
  71. #
  72. #    towny.town.spawn.*: Grants all Spawn travel nodes
  73. #        towny.town.spawn.town : Ability to spawn to your own town.
  74. #        towny.town.spawn.nation : Ability to spawn to other towns in your nation.
  75. #        towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
  76. #        towny.town.spawn.public : Ability to spawn to unaffilated public towns.
  77. #
  78. # these will be moved to permissions nodes at a later date
  79. permissions:
  80.   town_creation_admin_only: 'false'
  81.   nation_creation_admin_only: 'false'
  82.  
  83. ############################################################
  84. # +------------------------------------------------------+ #
  85. # |                Town and Nation levels                | #
  86. # +------------------------------------------------------+ #
  87. ############################################################
  88.  
  89. levels:
  90.  
  91.   # default Town levels.
  92.   town_level:
  93.   - upkeepModifier: 1.0
  94.     namePostfix: ' Ruins'
  95.     mayorPrefix: 'Spirit '
  96.     mayorPostfix: ''
  97.     townBlockLimit: 1
  98.     namePrefix: ''
  99.     numResidents: 0
  100.   - upkeepModifier: 1.0
  101.     namePostfix: ' (Settlement)'
  102.     mayorPrefix: 'Hermit '
  103.     mayorPostfix: ''
  104.     townBlockLimit: 16
  105.     namePrefix: ''
  106.     numResidents: 1
  107.   - upkeepModifier: 1.0
  108.     namePostfix: ' (Hamlet)'
  109.     mayorPrefix: 'Chief '
  110.     mayorPostfix: ''
  111.     townBlockLimit: 32
  112.     namePrefix: ''
  113.     numResidents: 2
  114.   - upkeepModifier: 1.0
  115.     namePostfix: ' (Village)'
  116.     mayorPrefix: 'Baron Von '
  117.     mayorPostfix: ''
  118.     townBlockLimit: 96
  119.     namePrefix: ''
  120.     numResidents: 6
  121.   - upkeepModifier: 1.0
  122.     namePostfix: ' (Town)'
  123.     mayorPrefix: 'Viscount '
  124.     mayorPostfix: ''
  125.     townBlockLimit: 160
  126.     namePrefix: ''
  127.     numResidents: 10
  128.   - upkeepModifier: 1.0
  129.     namePostfix: ' (Large Town)'
  130.     mayorPrefix: 'Count Von '
  131.     mayorPostfix: ''
  132.     townBlockLimit: 224
  133.     namePrefix: ''
  134.     numResidents: 14
  135.   - upkeepModifier: 1.0
  136.     namePostfix: ' (City)'
  137.     mayorPrefix: 'Earl '
  138.     mayorPostfix: ''
  139.     townBlockLimit: 320
  140.     namePrefix: ''
  141.     numResidents: 20
  142.   - upkeepModifier: 1.0
  143.     namePostfix: ' (Large City)'
  144.     mayorPrefix: 'Duke '
  145.     mayorPostfix: ''
  146.     townBlockLimit: 384
  147.     namePrefix: ''
  148.     numResidents: 24
  149.   - upkeepModifier: 1.0
  150.     namePostfix: ' (Metropolis)'
  151.     mayorPrefix: 'Lord '
  152.     mayorPostfix: ''
  153.     townBlockLimit: 448
  154.     namePrefix: ''
  155.     numResidents: 28
  156.  
  157.   # default Nation levels.
  158.   nation_level:
  159.   - capitalPostfix: ''
  160.     upkeepModifier: 1.0
  161.     namePostfix: ' (Nation)'
  162.     kingPrefix: 'Leader '
  163.     townBlockLimitBonus: 10
  164.     namePrefix: 'Land of '
  165.     numResidents: 0
  166.     capitalPrefix: ''
  167.     kingPostfix: ''
  168.   - capitalPostfix: ''
  169.     upkeepModifier: 1.0
  170.     namePostfix: ' (Nation)'
  171.     kingPrefix: 'Count '
  172.     townBlockLimitBonus: 20
  173.     namePrefix: 'Federation of '
  174.     numResidents: 10
  175.     capitalPrefix: ''
  176.     kingPostfix: ''
  177.   - capitalPostfix: ''
  178.     upkeepModifier: 1.0
  179.     namePostfix: ' (Nation)'
  180.     kingPrefix: 'Duke '
  181.     townBlockLimitBonus: 40
  182.     namePrefix: 'Dominion of '
  183.     numResidents: 20
  184.     capitalPrefix: ''
  185.     kingPostfix: ''
  186.   - capitalPostfix: ''
  187.     upkeepModifier: 1.0
  188.     namePostfix: ' (Nation)'
  189.     kingPrefix: 'King '
  190.     townBlockLimitBonus: 60
  191.     namePrefix: 'Kingdom of '
  192.     numResidents: 30
  193.     capitalPrefix: ''
  194.     kingPostfix: ''
  195.   - capitalPostfix: ''
  196.     upkeepModifier: 1.0
  197.     namePostfix: ' Empire'
  198.     kingPrefix: 'Emperor '
  199.     townBlockLimitBonus: 100
  200.     namePrefix: 'The '
  201.     numResidents: 40
  202.     capitalPrefix: ''
  203.     kingPostfix: ''
  204.   - capitalPostfix: ''
  205.     upkeepModifier: 1.0
  206.     namePostfix: ' Realm'
  207.     kingPrefix: 'God Emperor '
  208.     townBlockLimitBonus: 140
  209.     namePrefix: 'The '
  210.     numResidents: 60
  211.     capitalPrefix: ''
  212.     kingPostfix: ''
  213.  
  214. ############################################################
  215. # +------------------------------------------------------+ #
  216. # |               Town Claim/new defaults                | #
  217. # +------------------------------------------------------+ #
  218. ############################################################
  219.  
  220. town:
  221.   # Default public status of the town (used for /town spawn)
  222.   default_public: 'true'
  223.   # Default Open status of the town (are new towns open and joinable by anyone at creation?)
  224.   default_open: 'false'
  225.   # Limits the maximum amount of bonus blocks a town can buy.
  226.   max_purchased_blocks: '0'
  227.   # maximum number of plots any single resident can own
  228.   max_plots_per_resident: '100'
  229.   # Maximum number of towns allowed on the server.
  230.   town_limit: '3000'
  231.  
  232.   # Minimum number of plots any towns home plot must be from the next town.
  233.   # This will prevent someone founding a town right on your doorstep
  234.   min_distance_from_town_homeblock: '5'
  235.  
  236.   # Maximum distance between homblocks.
  237.   # This will force players to build close together.
  238.   max_distance_between_homeblocks: '0'
  239.  
  240.   # The maximum townblocks available to a town is (numResidents * ratio).
  241.   # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  242.   town_block_ratio: '8'
  243.   # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  244.   # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  245.   # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  246.   # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  247.   town_block_size: '16'
  248.  
  249.  
  250. ############################################################
  251. # +------------------------------------------------------+ #
  252. # |             Default new world settings               | #
  253. # +------------------------------------------------------+ #
  254. ############################################################
  255.  
  256. # These flags are only used at the initial setp of a new world.
  257.  
  258. # Once Towny is running each world can be altered from within game
  259. # using '/townyworld toggle'
  260.  
  261. new_world_settings:
  262.  
  263.   pvp:
  264.     # Set if PVP is enabled in this world
  265.     world_pvp: 'true'
  266.     # force_pvp_on is a global flag and overrides any towns flag setting
  267.     force_pvp_on: 'false'
  268.  
  269.   mobs:
  270.     # world_monsters_on is a global flag setting per world.
  271.     world_monsters_on: 'true'
  272.     # force_town_monsters_on is a global flag and overrides any towns flag setting
  273.     force_town_monsters_on: 'false'
  274.  
  275.   explosions:
  276.     # Allow explosions in this world
  277.     world_explosions_enabled: 'true'
  278.     # force_explosions_on is a global flag and overrides any towns flag setting
  279.     force_explosions_on: 'false'
  280.  
  281.   fire:
  282.     # Allow fire to be lit and spread in this world.
  283.     world_firespread_enabled: 'true'
  284.     # force_fire_on is a global flag and overrides any towns flag setting
  285.     force_fire_on: 'false'
  286.  
  287.   # Prevent Endermen from picking up and placing blocks.
  288.   enderman_protect: 'true'
  289.   # Disable players trampling crops
  290.   disable_player_crop_trampling: 'true'
  291.   # Disable creatures trampling crops
  292.   disable_creature_crop_trampling: 'true'
  293.  
  294.   # World management settings to deal with un/claiming plots
  295.   plot_management:
  296.  
  297.     block_delete:
  298.       enabled: 'true'
  299.       # These items will be deleted upon a plot being unclaimed
  300.       unclaim_delete: 26,50,55,64,68,70,71,72,75,76,93,94
  301.  
  302.     mayor_plotblock_delete:
  303.       enabled: 'true'
  304.       # These items will be deleted upon a mayor using /plot clear
  305.       # To disable deleting replace the current entries with NONE.
  306.       mayor_plot_delete: WALL_SIGN,SIGN_POST
  307.  
  308.     revert_on_unclaim:
  309.       # *** WARNING***
  310.       # If this is enabled any town plots which become unclaimed will
  311.       # slowly be reverted to a snapshot taken before the plot was claimed.
  312.       #
  313.       # Regeneration will only work if the plot was
  314.       # claimed under version 0.76.2, or
  315.       # later with this feature enabled
  316.       #
  317.       # If you allow players to break/build in the wild the snapshot will
  318.       # include any changes made before the plot was claimed.
  319.       enabled: 'true'
  320.       speed: 1s
  321.       # These block types will NOT be regenerated
  322.       block_ignore: 14,21,22,41,42,48,50,52,56,57,63,68,89
  323.  
  324.     wild_revert_on_mob_explosion:
  325.       # Enabling this will slowly regenerate holes created in the
  326.       # wilderness by monsters exploding.
  327.       enabled: 'true'
  328.       entities: Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,TNTPrimed
  329.       delay: 20s
  330.  
  331.  
  332. ############################################################
  333. # +------------------------------------------------------+ #
  334. # |                Global town settings                  | #
  335. # +------------------------------------------------------+ #
  336. ############################################################
  337.  
  338. global_town_settings:
  339.   # can residents/Allies harm other residents when in an area with pvp enabled? Other than an Arena plot.
  340.   friendly_fire: 'true'
  341.   # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  342.   health_regen:
  343.     speed: 3s
  344.     enable: 'true'
  345.   # Allow towns to claim outposts (a townblock not connected to town).
  346.   allow_outposts: 'true'
  347.   # Allow the use of /town spawn
  348.   allow_town_spawn: 'true'
  349.   # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  350.   allow_town_spawn_travel: 'true'
  351.   # Allow regular residents to use /town spawn [town] to other towns in your nation.
  352.   allow_town_spawn_travel_nation: 'true'
  353.   # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
  354.   allow_town_spawn_travel_ally: 'true'
  355.   # If non zero it delays any spawn request by x seconds.
  356.   teleport_warmup_time: '0'
  357.   # Respawn the player at his town spawn point when he/she dies
  358.   town_respawn: 'false'
  359.   # Town respawn only happens when the player dies in the same world as the town's spawn point.
  360.   town_respawn_same_world_only: 'false'
  361.   # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  362.   # Allowed options: unclaimed,enemy,neutral
  363.   prevent_town_spawn_in: enemy
  364.   # Enables the [~Home] message.
  365.   # If false it will make it harder for enemies to find the home block during a war
  366.   show_town_notifications: 'true'
  367.  
  368.  
  369. ############################################################
  370. # +------------------------------------------------------+ #
  371. # |                 Plugin interfacing                   | #
  372. # +------------------------------------------------------+ #
  373. ############################################################
  374.  
  375. plugin:
  376.  
  377.   # Valid load and save types are: flatfile, mysql, sqlite, h2.
  378.   database:
  379.     database_load: flatfile
  380.     database_save: flatfile
  381.  
  382.     # SQL database connection details (IF set to use SQL).
  383.     sql:
  384.       hostname: localhost
  385.       port: '3306'
  386.       dbname: towny
  387.       table_prefix: towny_
  388.       username: root
  389.       password: ''
  390.  
  391.     # Flatfile backup settings.
  392.     daily_backups: 'true'
  393.     backups_are_deleted_after: 90d
  394.  
  395.     # Valid entries are: zip, none.
  396.     flatfile_backup: zip
  397.  
  398.   interfacing:
  399.  
  400.     # Enable using_essentials if you are using cooldowns in essentials for teleports.
  401.     using_essentials: 'false'
  402.  
  403.     # This will attempt to use Register (if present)
  404.     # Then it will attempt to access iConomy 5.01 directly
  405.     # Enable if you have either iConomy 5.01, or Register.jar to
  406.     # support: iConomy5, iConomy6, EssentialsEco, BOSEconomy.
  407.     # https://github.com/iConomy/Register/tree/master/dist
  408.     using_economy: 'true'
  409.  
  410.     # Enable using_questioner if you are using questioner to send/receive invites to towns/nations.
  411.     # See http://code.google.com/a/eclipselabs.org/p/towny/wiki/Questioner for more info.
  412.     using_questioner:
  413.       enable: 'true'
  414.       # The command to accept invitations.
  415.       accept: accept
  416.       # The command to refuse invitations.
  417.       deny: deny
  418.  
  419.     # True to attempt to use GroupManager, PEX, bPermissions, Permissions2/3 or BukkitPerms
  420.     # False to disable permission checks and rely on Towny settings.
  421.     using_permissions: 'true'
  422.  
  423.   day_timer:
  424.     # The number of hours in each "day".
  425.     # You can configure for 10 hour days. Default is 24 hours.
  426.     day_interval: 1d
  427.     # The time each "day", when taxes will be collected.
  428.     # MUST be less than day_interval. Default is 12h (midday).
  429.     new_day_time: 12h
  430.  
  431.   # Lots of messages to tell you what's going on in the server with time taken for events.
  432.   debug_mode: 'false'
  433.  
  434.   # Spams the player named in dev_name with all messages related to towny.
  435.   dev_mode:
  436.     enable: 'false'
  437.     dev_name: ElgarL
  438.  
  439.   # Record all messages to the towny.log
  440.   logging: 'true'
  441.   # If true this will cause the log to be wiped at every startup.
  442.   reset_log_on_boot: 'true'
  443.  
  444.  
  445. ############################################################
  446. # +------------------------------------------------------+ #
  447. # |               Filters colour and chat                | #
  448. # +------------------------------------------------------+ #
  449. ############################################################
  450.  
  451. filters_colour_chat:
  452.   # This is the name given to any NPC assigned mayor.
  453.   npc_prefix: NPC
  454.   # Regex fields used in validating inputs.
  455.   regex:
  456.     name_filter_regex: '[ /]'
  457.     name_check_regex: ^[a-zA-Z0-9._\[\]-]*$
  458.     name_remove_regex: '[^a-zA-Z0-9._\[\]-]'
  459.  
  460.   modify_chat:
  461.     # Maximum length of Town and Nation names.
  462.     max_name_length: '20'
  463.     # Maximum length of titles and surnames.
  464.     max_title_length: '10'
  465.  
  466.  
  467. ############################################################
  468. # +------------------------------------------------------+ #
  469. # |             block/item/mob protection                | #
  470. # +------------------------------------------------------+ #
  471. ############################################################
  472.  
  473. protection:
  474.  
  475.   # Items that can be blocked within towns via town/plot flags
  476.   # 259 - flint and steel
  477.   # 325 - bucket
  478.   # 326 - water bucket
  479.   # 327 - lava bucket
  480.   # 351 - bone/bonemeal
  481.   # 385 - fire charge
  482.   item_use_ids: 259,325,326,327,351,385
  483.  
  484.   # Items which can be blocked or enabled via town/plot flags
  485.   # 25 - noteblock
  486.   # 54 - chest
  487.   # 61 - furnace
  488.   # 62 - lit furnace
  489.   # 64 - wooden door
  490.   # 69 - lever
  491.   # 70 - stone pressure plate
  492.   # 71 - iron door
  493.   # 72 - wooden pressure plate
  494.   # 77 - stone button
  495.   # 96 - trap door
  496.   # 84 - jukebox
  497.   # 93/94 - redstone repeater
  498.   switch_ids: 23,25,54,61,62,64,69,70,71,72,77,96,84,93,94,107
  499.  
  500.   # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  501.   # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  502.   # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  503.  
  504.   # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  505.   town_mob_removal_entities: Monster,WaterMob,Flying,Slime
  506.  
  507.   # Globally remove living entities in all worlds that have their flag set.
  508.   world_mob_removal_entities: WaterMob,Flying,Slime
  509.  
  510.   # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  511.   # Lower values will check all entities more often at the risk of heavier burden and resource use.
  512.   # NEVER set below 1.
  513.   mob_removal_speed: 5s
  514.  
  515.   # Prevent fly and double block jump cheats.
  516.   cheat_protection: 'true'
  517.  
  518.   # The amount of time it takes for a protected block to regenerate.  Use zero for no delay.
  519.   regen_delay: 0s
  520.  
  521.  
  522. ############################################################
  523. # +------------------------------------------------------+ #
  524. # |                Wilderness settings                   | #
  525. # +------------------------------------------------------+ #
  526. ############################################################
  527.  
  528. # These Settings defaults only. They are copied to each worlds data files upon first detection
  529. # To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
  530.  
  531. unclaimed:
  532.   unclaimed_zone_build: 'false'
  533.   unclaimed_zone_destroy: 'false'
  534.   unclaimed_zone_item_use: 'false'
  535.   unclaimed_zone_ignore: 5,50
  536.   unclaimed_zone_switch: 'false'
  537.  
  538.  
  539. ############################################################
  540. # +------------------------------------------------------+ #
  541. # |                 Town Notifications                   | #
  542. # +------------------------------------------------------+ #
  543. ############################################################
  544.  
  545. # This is the format for the notifications sent as players move between plots.
  546. # Empty a particular format for it to be ignored.
  547.  
  548. # Example:
  549. # [notification.format]
  550. # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  551. # ... [notification.plot.format]
  552. # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  553. # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  554.  
  555. notification:
  556.   format: '&6 ~ %s'
  557.   splitter: '&7 - '
  558.   area_wilderness: '&2%s'
  559.   area_town: '&6%s'
  560.   owner: '&a%s'
  561.   no_owner: '&a%s'
  562.   plot:
  563.     splitter: ' '
  564.     format: '%s'
  565.     homeblock: '&b[Home]'
  566.     outpostblock: '&b[Outpost]'
  567.     forsale: '&e[For Sale: %s]'
  568.     type: '&6[%s]'
  569.  
  570.  
  571. ############################################################
  572. # +------------------------------------------------------+ #
  573. # |             Default Town/Plot flags                  | #
  574. # +------------------------------------------------------+ #
  575. ############################################################
  576.  
  577.  
  578. default_perm_flags:
  579.  
  580.   # Default permission flags for residents plots within a town
  581.   #
  582.   # Can allies/friends/outsiders perform certain actions in the town
  583.   #
  584.   # build - place blocks and other items
  585.   # destroy - break blocks and other items
  586.   # itemuse - use items such as furnaces (as defined in item_use_ids)
  587.   # switch - trigger or activate switches (as defined in switch_ids)
  588.   resident:
  589.     friend:
  590.       build: 'true'
  591.       destroy: 'true'
  592.       item_use: 'true'
  593.       switch: 'true'
  594.     ally:
  595.       build: 'false'
  596.       destroy: 'false'
  597.       item_use: 'false'
  598.       switch: 'false'
  599.     outsider:
  600.       build: 'false'
  601.       destroy: 'false'
  602.       item_use: 'false'
  603.       switch: 'false'
  604.  
  605.   # Default permission flags for towns
  606.   # These are copied into the town data file at creation
  607.   #
  608.   # Can allies/outsiders/residents perform certain actions in the town
  609.   #
  610.   # build - place blocks and other items
  611.   # destroy - break blocks and other items
  612.   # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  613.   # switch - trigger or activate switches (as defined in switch_ids)
  614.   town:
  615.     default:
  616.       pvp: 'true'
  617.       fire: 'false'
  618.       explosion: 'false'
  619.       mobs: 'false'
  620.     resident:
  621.       build: 'true'
  622.       destroy: 'true'
  623.       item_use: 'true'
  624.       switch: 'true'
  625.     ally:
  626.       build: 'false'
  627.       destroy: 'false'
  628.       item_use: 'false'
  629.       switch: 'false'
  630.     outsider:
  631.       build: 'false'
  632.       destroy: 'false'
  633.       item_use: 'false'
  634.       switch: 'false'
  635.  
  636.  
  637. ############################################################
  638. # +------------------------------------------------------+ #
  639. # |                  Resident settings                   | #
  640. # +------------------------------------------------------+ #
  641. ############################################################
  642.  
  643. resident_settings:
  644.   # player is flagged as inactive after 1 hour (default)
  645.   inactive_after_time: 1h
  646.   # if enabled old residents will be kicked and deleted from a town
  647.   # after Two months (default) of not logging in
  648.   delete_old_residents:
  649.     enable: 'false'
  650.     deleted_after_time: 60d
  651.     delete_economy_account: 'true'
  652.   # The name of the town a resident will automatically join when he first registers.
  653.   default_town_name: ''
  654.  
  655.  
  656. ############################################################
  657. # +------------------------------------------------------+ #
  658. # |                  Economy settings                    | #
  659. # +------------------------------------------------------+ #
  660. ############################################################
  661.  
  662. economy:
  663.  
  664.   spawn_travel:
  665.     # Cost to use /town spawn
  666.     price_town_spawn_travel: '0.0'
  667.     # Cost to use '/town spawn [town]' to another town in your nation.
  668.     price_town_nation_spawn_travel: '5.0'
  669.     # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  670.     price_town_ally_spawn_travel: '10.0'
  671.     # Cost to use /town spawn [town]
  672.     # This is paid to the town you goto.
  673.     price_town_public_spawn_travel: '10.0'
  674.  
  675.   # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  676.   price_nation_neutrality: '100.0'
  677.  
  678.   new_expand:
  679.     # How much it costs to start a nation.
  680.     price_new_nation: '1000.0'
  681.     # How much it costs to start a town.
  682.     price_new_town: '250.0'
  683.     # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  684.     price_outpost: '500.0'
  685.     # The price for a town to expand one townblock.
  686.     price_claim_townblock: '25.0'
  687.     # How much it costs a player to buy extra blocks.
  688.     price_purchased_bonus_townblock: '25.0'
  689.  
  690.   price_death: '1.0'
  691.  
  692.   banks:
  693.     # Maximum amount of money allowed in town bank
  694.     # Use 0 for no limit
  695.     town_bank_cap: '0.0'
  696.     # Set to true to allow withdrawls from town banks
  697.     town_allow_withdrawls: 'true'
  698.     # Maximum amount of money allowed in nation bank
  699.     # Use 0 for no limit
  700.     nation_bank_cap: '0.0'
  701.     # Set to true to allow withdrawls from nation banks
  702.     nation_allow_withdrawls: 'true'
  703.  
  704.   daily_taxes:
  705.     # Enables taxes to be collected daily by town/nation
  706.     # If a town can't pay it's tax then it is kicked from the nation.
  707.     # if a resident can't pay his plot tax he loses his plot.
  708.     # if a resident can't pay his town tax then he is kicked from the town.
  709.     # if a town or nation fails to pay it's upkeep it is deleted.
  710.     enabled: 'true'
  711.     # Maximum tax amount allowed when using flat taxes
  712.     max_tax_amount: '1000.0'
  713.     # maximum tax percentage allowed when taxing by percentages
  714.     max_tax_percent: '25'
  715.     # The server's daily charge on each nation. If a nation fails to pay this upkeep
  716.     # all of it's member town are kicked and the Nation is removed.
  717.     price_nation_upkeep: '100.0'
  718.     # The server's daily charge on each town. If a town fails to pay this upkeep
  719.     # all of it's residents are kicked and the town is removed.
  720.     price_town_upkeep: '10.0'
  721.     # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  722.     # calculated by (number of claimed plots X price_town_upkeep).
  723.     town_plotbased_upkeep: 'false'
  724.     # If enabled and you set a negative upkeep for the town
  725.     # any funds the town gains via upkeep at a new day
  726.     # will be shared out between the plot owners.
  727.     use_plot_payments: 'false'
  728.  
  729.  
  730. ############################################################
  731. # +------------------------------------------------------+ #
  732. # |                     War settings                     | #
  733. # +------------------------------------------------------+ #
  734. ############################################################
  735.  
  736. war:
  737.   #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  738.   nation_can_be_neutral: 'true'
  739.  
  740.  
  741.   ############################################################
  742.   # +------------------------------------------------------+ #
  743.   # |         Economy Transfers During War settings        | #
  744.   # +------------------------------------------------------+ #
  745.   ############################################################
  746.  
  747.   economy:
  748.     enemy:
  749.       # Amount charged to place a warflag (payed to server).
  750.       place_flag: '10'
  751.       # Amount payed from the flagbearer to the defender after defending the area.
  752.       defended_attack: '10'
  753.     # Defending town pays attaking flagbearer. If a negative (attacker pays defending town),
  754.     # and the attacker can't pay, the attack is canceled.
  755.     townblock_won: '10'
  756.     # Same as townblock_won but for the special case of winning the homeblock.
  757.     homeblock_won: '100'
  758.  
  759.  
  760.   ############################################################
  761.   # +------------------------------------------------------+ #
  762.   # |                 War Event settings                   | #
  763.   # +------------------------------------------------------+ #
  764.   ############################################################
  765.  
  766.   # This is started with /townyadmnin toggle war
  767.  
  768.   # In peace time War spoils are accumulated from towns and nations being
  769.   # deleted with any money left in the bank.
  770.   #
  771.   # These funds are increased during a war event upon a player death.
  772.   # An additional bonus to the war chest is set in base_spoils.
  773.   #
  774.   # During the event a town losing a townblock pays the wartime_town_block_loss_price to the attacking town.
  775.   # The war is won when the only nations left in the battle are allies, or only a single nation.
  776.   #
  777.   # The winning nations share half of the war spoils.
  778.   # The remaining half is paid to the town which took the most town blocks, and lost the least.
  779.  
  780.   event:
  781.     warning_delay: '30'
  782.     #If false all towns not in nations can be attacked during a war event.
  783.     towns_are_neutral: 'true'
  784.  
  785.     # If true and the monarch/king dies the nation is removed from the war.
  786.     remove_on_monarch_death: 'false'
  787.     # If enabled players will be able to break/place blocks in enemy plots during a war.
  788.     allow_block_griefing: 'true'
  789.  
  790.     # A townblock takes damage every 5 seconds that an enemy is stood in it.
  791.     block_hp:
  792.       town_block_hp: '60'
  793.       home_block_hp: '120'
  794.  
  795.     eco:
  796.       # This amount is new money injected into the economy with a war event.
  797.       base_spoils: '100.0'
  798.       # This amount is taken from the losing town for each plot lost.
  799.       wartime_town_block_loss_price: '100.0'
  800.       # This amount is taken from the player if they die during the event
  801.       price_death_wartime: '200.0'
  802.  
  803.     points:
  804.       points_townblock: '1'
  805.       points_town: '10'
  806.       points_nation: '100'
  807.       points_kill: '1'
  808.  
  809.     # The minimum height at which a player must stand to count as an attacker.
  810.     min_height: '60'
  811.  
  812.   ############################################################
  813.   # +------------------------------------------------------+ #
  814.   # |                   Flag war settings                  | #
  815.   # +------------------------------------------------------+ #
  816.   ############################################################
  817.  
  818.   enemy:
  819.     # If false, players won't be able to place war flags, effectively disabling warzones.
  820.     allow_attacks: 'false'
  821.     # This many people must be online in target town in order to place a war flag in their domain.
  822.     min_players_online_in_town: '2'
  823.     # This many people must be online in target nation in order to place a war flag in their domain.
  824.     min_players_online_in_nation: '3'
  825.     max_active_flags_per_player: '1'
  826.     flag:
  827.       waiting_time: 1m
  828.       # This is the block a player must place to trigger the attack event.
  829.       base_block: fence
  830.       # This is the block a player must place to trigger the attack event.
  831.       light_block: torch
  832.     beacon:
  833.       # Must be smaller than half the size of town_block_size.
  834.       radius: '3'
  835.       # The range the beacon will be drawn in. It's flexibility is in case the flag is close to the height limit.
  836.       # If a flag is too close to the height limit (lower than the minimum), it will not be drawn.
  837.       height_above_flag:
  838.         min: '3'
  839.         max: '64'
  840.       draw: 'true'
  841.       wireframe_block: glowstone
  842.   ############################################################
  843.   # +------------------------------------------------------+ #
  844.   # |              Warzone Block Permissions               | #
  845.   # +------------------------------------------------------+ #
  846.   ############################################################
  847.  
  848.   warzone:
  849.     # List of materaials that can be modified in a warzone.
  850.     # '*' = Allow all materials.
  851.     # Prepend a '-' in front of a material to remove it. Used in conjunction with when you use '*'.
  852.     # Eg: '*,-chest,-furnace'
  853.     editable_materials: tnt,fence,ladder,wood_door,iron_door,fire
  854.     item_use: 'true'
  855.     switch: 'true'
  856.     # Add '-fire' to editable materials for complete protection when setting is false. This prevents fire to be created and spread.
  857.     fire: 'true'
  858.     explosions: 'true'
  859.     explosions_break_blocks: 'true'
  860.     # TODO: Blocks will not regen as of yet. Stay tuned for later changes.
  861.     # Only under affect when explosions_break_blocks is true.
  862.     explosions_regen_blocks: 'true'