SHARE
TWEET

Towny_config

a guest Feb 4th, 2014 33 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.84.0.9
  7.   # This is for showing the changelog on updates.  Please do not edit.
  8.   last_run_version: 0.84.0.9
  9.   # Minimum required version of CraftBukkit.  Please do not edit.
  10.   bukkit_version: '2838'
  11.  
  12. # The language file you wish to use
  13. language: english.yml
  14.  
  15. ############################################################
  16. # +------------------------------------------------------+ #
  17. # |                   Permission nodes                   | #
  18. # +------------------------------------------------------+ #
  19. ############################################################
  20.  
  21. #  Possible permission nodes
  22. #
  23. #    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.
  24. #    towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
  25. #    towny.top : User can access the command towny top
  26. #    towny.town.* : User has access to all town permission nodes.
  27. #        towny.town.new :User is able to create a town
  28. #        towny.town.delete :User is able to delete their town
  29. #        towny.town.claim : User is able to expand his town with /town claim
  30. #        towny.town.plot : User is able to use the /plot commands
  31. #        towny.town.resident : User is able to join towns upon invite.
  32. #    towny.town.toggle.*: User can access all town toggle commands (if a mayor or assistant).
  33. #        towny.town.toggle.pvp
  34. #        towny.town.toggle.public
  35. #        towny.town.toggle.explosions
  36. #        towny.town.toggle.fire
  37. #        towny.town.toggle.mobs
  38. #    towny.nation.* : User has access to all town permission nodes.
  39. #        towny.nation.new :User is able to create a nation
  40. #        towny.nation.delete :User is able to delete their nation (if king)
  41. #        towny.nation.rename :User is able to rename their nation (if king/assistant)
  42. #        towny.nation.grant-titles :User is able to grant titles/surnames to the nation residents (if King)
  43. #    towny.wild.*: User is able to build/destroy in wild regardless.
  44. #        towny.wild.build
  45. #        towny.wild.destroy
  46. #        towny.wild.switch
  47. #        towny.wild.item_use
  48. #    towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
  49. #        towny.wild.build.[block id]
  50. #        towny.wild.destroy.[block id]
  51. #        towny.wild.switch.[block id]
  52. #        towny.wild.item_use.[block id]
  53. #
  54. #    towny.claimed.* : User can build/destroy/switch/item_use in all towns.
  55. #        towny.claimed.build : User can build in all towns.
  56. #        towny.claimed.destroy : User can destroy in all towns.
  57. #        towny.claimed.switch : User can switch in all towns.
  58. #        towny.claimed.item_use : User can use use items in all towns.
  59. #    towny.claimed.alltown.* : User is able to edit specified/all block types in all towns.
  60. #        towny.claimed.alltown.build.[block id]
  61. #        towny.claimed.alltown.destroy.[block id]
  62. #        towny.claimed.alltown.switch.[block id] : User can switch specified/all block types in all towns.
  63. #        towny.claimed.alltown.item_use.[block id]
  64. #    towny.claimed.owntown.* : User is able to edit specified/all block types in their own town.
  65. #        towny.claimed.owntown.build.[block id]
  66. #        towny.claimed.owntown.destroy.[block id] : (handy to allow clearing of snow '78')
  67. #        towny.claimed.owntown.switch.[block id]
  68. #        towny.claimed.owntown.item_use.[block id]
  69. #
  70. #    towny.town.spawn.*: Grants all Spawn travel nodes
  71. #        towny.town.spawn.town : Ability to spawn to your own town.
  72. #        towny.town.spawn.nation : Ability to spawn to other towns in your nation.
  73. #        towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
  74. #        towny.town.spawn.public : Ability to spawn to unaffilated public towns.
  75. #
  76. # these will be moved to permissions nodes at a later date
  77. permissions:
  78.   town_creation_admin_only: 'false'
  79.   nation_creation_admin_only: 'false'
  80.  
  81. ############################################################
  82. # +------------------------------------------------------+ #
  83. # |                Town and Nation levels                | #
  84. # +------------------------------------------------------+ #
  85. ############################################################
  86.  
  87. levels:
  88.   # default Town levels.
  89.   town_level:
  90.   - upkeepModifier: 1.0
  91.     namePostfix: ' Ruins'
  92.     mayorPrefix: 'Spirit '
  93.     mayorPostfix: ''
  94.     townBlockLimit: 1
  95.     namePrefix: ''
  96.     numResidents: 0
  97.   - upkeepModifier: 1.0
  98.     namePostfix: ' (Settlement)'
  99.     mayorPrefix: 'Hermit '
  100.     mayorPostfix: ''
  101.     townBlockLimit: 15
  102.     namePrefix: ''
  103.     numResidents: 8
  104.   - upkeepModifier: 1.0
  105.     namePostfix: ' (Hamlet)'
  106.     mayorPrefix: 'Chief '
  107.     mayorPostfix: ''
  108.     townBlockLimit: 25
  109.     namePrefix: ''
  110.     numResidents: 15
  111.   - upkeepModifier: 1.0
  112.     namePostfix: ' (Village)'
  113.     mayorPrefix: 'Baron Von '
  114.     mayorPostfix: ''
  115.     townBlockLimit: 60
  116.     namePrefix: ''
  117.     numResidents: 40
  118.   - upkeepModifier: 1.0
  119.     namePostfix: ' (Town)'
  120.     mayorPrefix: 'Viscount '
  121.     mayorPostfix: ''
  122.     townBlockLimit: 160
  123.     namePrefix: ''
  124.     numResidents: 10
  125.   - upkeepModifier: 1.0
  126.     namePostfix: ' (Large Town)'
  127.     mayorPrefix: 'Count Von '
  128.     mayorPostfix: ''
  129.     townBlockLimit: 224
  130.     namePrefix: ''
  131.     numResidents: 14
  132.   - upkeepModifier: 1.0
  133.     namePostfix: ' (City)'
  134.     mayorPrefix: 'Earl '
  135.     mayorPostfix: ''
  136.     townBlockLimit: 320
  137.     namePrefix: ''
  138.     numResidents: 20
  139.   - upkeepModifier: 1.0
  140.     namePostfix: ' (Large City)'
  141.     mayorPrefix: 'Duke '
  142.     mayorPostfix: ''
  143.     townBlockLimit: 384
  144.     namePrefix: ''
  145.     numResidents: 24
  146.   - upkeepModifier: 1.0
  147.     namePostfix: ' (Metropolis)'
  148.     mayorPrefix: 'Lord '
  149.     mayorPostfix: ''
  150.     townBlockLimit: 448
  151.     namePrefix: ''
  152.     numResidents: 28
  153.  
  154.   # default Nation levels.
  155.   nation_level:
  156.   - capitalPostfix: ''
  157.     upkeepModifier: 1.0
  158.     namePostfix: ' (Nation)'
  159.     kingPrefix: 'Leader '
  160.     townBlockLimitBonus: 10
  161.     namePrefix: 'Land of '
  162.     numResidents: 0
  163.     capitalPrefix: ''
  164.     kingPostfix: ''
  165.   - capitalPostfix: ''
  166.     upkeepModifier: 1.0
  167.     namePostfix: ' (Nation)'
  168.     kingPrefix: 'Count '
  169.     townBlockLimitBonus: 20
  170.     namePrefix: 'Federation of '
  171.     numResidents: 10
  172.     capitalPrefix: ''
  173.     kingPostfix: ''
  174.   - capitalPostfix: ''
  175.     upkeepModifier: 1.0
  176.     namePostfix: ' (Nation)'
  177.     kingPrefix: 'Duke '
  178.     townBlockLimitBonus: 40
  179.     namePrefix: 'Dominion of '
  180.     numResidents: 20
  181.     capitalPrefix: ''
  182.     kingPostfix: ''
  183.   - capitalPostfix: ''
  184.     upkeepModifier: 1.0
  185.     namePostfix: ' (Nation)'
  186.     kingPrefix: 'King '
  187.     townBlockLimitBonus: 60
  188.     namePrefix: 'Kingdom of '
  189.     numResidents: 30
  190.     capitalPrefix: ''
  191.     kingPostfix: ''
  192.   - capitalPostfix: ''
  193.     upkeepModifier: 1.0
  194.     namePostfix: ' Empire'
  195.     kingPrefix: 'Emperor '
  196.     townBlockLimitBonus: 100
  197.     namePrefix: 'The '
  198.     numResidents: 40
  199.     capitalPrefix: ''
  200.     kingPostfix: ''
  201.   - capitalPostfix: ''
  202.     upkeepModifier: 1.0
  203.     namePostfix: ' Realm'
  204.     kingPrefix: 'God Emperor '
  205.     townBlockLimitBonus: 140
  206.     namePrefix: 'The '
  207.     numResidents: 60
  208.     capitalPrefix: ''
  209.     kingPostfix: ''
  210.  
  211. ############################################################
  212. # +------------------------------------------------------+ #
  213. # |               Town Claim/new defaults                | #
  214. # +------------------------------------------------------+ #
  215. ############################################################
  216.  
  217. town:
  218.  # Default public status of the town (used for /town spawn)
  219.   default_public: 'true'
  220.   # Default Open status of the town (are new towns open and joinable by anyone at creation?)
  221.   default_open: 'false'
  222.   # Limits the maximum amount of bonus blocks a town can buy.
  223.   max_purchased_blocks: '0'
  224.   # maximum number of plots any single resident can own
  225.   max_plots_per_resident: '1'
  226.   # Maximum number of towns allowed on the server.
  227.   town_limit: '3000'
  228.  
  229.   # Minimum number of plots any towns home plot must be from the next town.
  230.   # This will prevent someone founding a town right on your doorstep
  231.   min_distance_from_town_homeblock: '5'
  232.  
  233.   # Maximum distance between homblocks.
  234.   # This will force players to build close together.
  235.   max_distance_between_homeblocks: '0'
  236.  
  237.   # The maximum townblocks available to a town is (numResidents * ratio).
  238.   # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  239.   town_block_ratio: '8'
  240.   # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  241.   # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  242.   # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  243.   # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  244.   town_block_size: '16'
  245.  
  246.  
  247. ############################################################
  248. # +------------------------------------------------------+ #
  249. # |             Default new world settings               | #
  250. # +------------------------------------------------------+ #
  251. ############################################################
  252.  
  253. # These flags are only used at the initial setp of a new world.
  254.  
  255. # Once Towny is running each world can be altered from within game
  256. # using '/townyworld toggle'
  257.  
  258. new_world_settings:
  259.  # Default for new worlds to have towny enabled.
  260.   using_towny: 'true'
  261.  
  262.   pvp:
  263.    # Set if PVP is enabled in this world
  264.     world_pvp: 'true'
  265.     # force_pvp_on is a global flag and overrides any towns flag setting
  266.     force_pvp_on: 'false'
  267.  
  268.   mobs:
  269.    # world_monsters_on is a global flag setting per world.
  270.     world_monsters_on: 'true'
  271.     # force_town_monsters_on is a global flag and overrides any towns flag setting
  272.     force_town_monsters_on: 'false'
  273.  
  274.   explosions:
  275.    # Allow explosions in this world
  276.     world_explosions_enabled: 'true'
  277.     # force_explosions_on is a global flag and overrides any towns flag setting
  278.     force_explosions_on: 'false'
  279.  
  280.   fire:
  281.    # Allow fire to be lit and spread in this world.
  282.     world_firespread_enabled: 'true'
  283.     # force_fire_on is a global flag and overrides any towns flag setting
  284.     force_fire_on: 'false'
  285.  
  286.   # Prevent Endermen from picking up and placing blocks.
  287.   enderman_protect: 'true'
  288.   # Disable players trampling crops
  289.   disable_player_crop_trampling: 'true'
  290.   # Disable creatures trampling crops
  291.   disable_creature_crop_trampling: 'true'
  292.  
  293.   # World management settings to deal with un/claiming plots
  294.   plot_management:
  295.     block_delete:
  296.       enabled: 'true'
  297.       # These items will be deleted upon a plot being unclaimed
  298.       unclaim_delete: 26,50,55,63,64,68,70,71,72,75,76,93,94
  299.  
  300.     mayor_plotblock_delete:
  301.       enabled: 'true'
  302.       # These items will be deleted upon a mayor using /plot clear
  303.       # To disable deleting replace the current entries with NONE.
  304.       mayor_plot_delete: WALL_SIGN,SIGN_POST
  305.  
  306.     revert_on_unclaim:
  307.      # *** WARNING***
  308.       # If this is enabled any town plots which become unclaimed will
  309.       # slowly be reverted to a snapshot taken before the plot was claimed.
  310.       #
  311.       # Regeneration will only work if the plot was
  312.       # claimed under version 0.76.2, or
  313.       # later with this feature enabled
  314.       #
  315.       # If you allow players to break/build in the wild the snapshot will
  316.       # include any changes made before the plot was claimed.
  317.       enabled: 'true'
  318.       speed: 1s
  319.       # These block types will NOT be regenerated
  320.       block_ignore: 14,21,22,41,42,48,50,52,56,57,63,68,89
  321.  
  322.     wild_revert_on_mob_explosion:
  323.      # Enabling this will slowly regenerate holes created in the
  324.       # wilderness by monsters exploding.
  325.       enabled: 'true'
  326.       entities: Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,PrimedTNT,MinecartTNT
  327.       delay: 20s
  328.  
  329.  
  330. ############################################################
  331. # +------------------------------------------------------+ #
  332. # |                Global town settings                  | #
  333. # +------------------------------------------------------+ #
  334. ############################################################
  335.  
  336. global_town_settings:
  337.  # can residents/Allies harm other residents when in an area with pvp enabled? Other than an Arena plot.
  338.   friendly_fire: 'true'
  339.   # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  340.   health_regen:
  341.     speed: 3s
  342.     enable: 'true'
  343.   # Allow towns to claim outposts (a townblock not connected to town).
  344.   allow_outposts: 'true'
  345.   # Allow the use of /town spawn
  346.   allow_town_spawn: 'true'
  347.   # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  348.   allow_town_spawn_travel: 'true'
  349.   # Allow regular residents to use /town spawn [town] to other towns in your nation.
  350.   allow_town_spawn_travel_nation: 'true'
  351.   # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
  352.   allow_town_spawn_travel_ally: 'true'
  353.   # If non zero it delays any spawn request by x seconds.
  354.   teleport_warmup_time: '0'
  355.   # Respawn the player at his town spawn point when he/she dies
  356.   town_respawn: 'false'
  357.   # Town respawn only happens when the player dies in the same world as the town's spawn point.
  358.   town_respawn_same_world_only: 'false'
  359.   # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  360.   # Allowed options: unclaimed,enemy,neutral
  361.   prevent_town_spawn_in: enemy
  362.   # Enables the [~Home] message.
  363.   # If false it will make it harder for enemies to find the home block during a war
  364.   show_town_notifications: 'true'
  365.  
  366.  
  367. ############################################################
  368. # +------------------------------------------------------+ #
  369. # |                 Plugin interfacing                   | #
  370. # +------------------------------------------------------+ #
  371. ############################################################
  372.  
  373. plugin:
  374.   # Valid load and save types are: flatfile, mysql, sqlite, h2.
  375.   database:
  376.     database_load: flatfile
  377.     database_save: flatfile
  378.  
  379.     # SQL database connection details (IF set to use SQL).
  380.     sql:
  381.       hostname: localhost
  382.       port: '3306'
  383.       dbname: towny
  384.       table_prefix: towny_
  385.       username: root
  386.       password: ''
  387.  
  388.     # Flatfile backup settings.
  389.     daily_backups: 'true'
  390.     backups_are_deleted_after: 90d
  391.  
  392.     # Valid entries are: zip, none.
  393.     flatfile_backup: zip
  394.  
  395.   interfacing:
  396.     tekkit:
  397.      # Add any fake players for client/server mods (aka Tekkit) here
  398.       fake_residents: '[IndustrialCraft],[BuildCraft],[Redpower],[Forestry],[Turtle]'
  399.  
  400.     # Enable using_essentials if you are using cooldowns in essentials for teleports.
  401.     using_essentials: 'true'
  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: 'true'
  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.   # Items that can be blocked within towns via town/plot flags
  475.   # 259 - flint and steel
  476.   # 325 - bucket
  477.   # 326 - water bucket
  478.   # 327 - lava bucket
  479.   # 351 - bone/bonemeal
  480.   # 359 - shears
  481.   # 368 - ender pearl
  482.   # 374 - glass bottle
  483.   # 385 - fire charge
  484.   item_use_ids: 259,325,326,327,328,342,351,359,368,374,385
  485.  
  486.   # Items which can be blocked or enabled via town/plot flags
  487.   # 25 - noteblock
  488.   # 54 - chest ...etc
  489.   switch_ids: 23,25,54,61,62,64,69,70,71,72,77,96,84,93,94,107,146,147,148,149,150,138,154,158,328,342,343,407,408
  490.  
  491.   # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  492.   # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  493.   # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  494.  
  495.   # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  496.   town_mob_removal_entities: Monster,WaterMob,Flying,Slime
  497.  
  498.   # Prevent the spawning of villager babies in towns.
  499.   town_prevent_villager_breeding: 'false'
  500.   # Disable creatures triggering stone pressure plates
  501.   disable_creature_pressureplate_stone: 'true'
  502.  
  503.   # Globally remove living entities in all worlds that have their flag set.
  504.   world_mob_removal_entities: Monster,WaterMob,Flying,Slime
  505.  
  506.   # Prevent the spawning of villager babies in the world.
  507.   world_prevent_villager_breeding: 'false'
  508.  
  509.   # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  510.   # Lower values will check all entities more often at the risk of heavier burden and resource use.
  511.   # NEVER set below 1.
  512.   mob_removal_speed: 5s
  513.  
  514.   # Prevent fly and double block jump cheats.
  515.   cheat_protection: 'true'
  516.  
  517.   # The amount of time it takes for a protected block to regenerate.  Use zero for no delay.
  518.   regen_delay: 0s
  519.  
  520.  
  521. ############################################################
  522. # +------------------------------------------------------+ #
  523. # |                Wilderness settings                   | #
  524. # +------------------------------------------------------+ #
  525. ############################################################
  526.  
  527. # These Settings defaults only. They are copied to each worlds data files upon first detection
  528. # To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
  529.  
  530. unclaimed:
  531.   unclaimed_zone_build: 'false'
  532.   unclaimed_zone_destroy: 'false'
  533.   unclaimed_zone_item_use: 'false'
  534.   unclaimed_zone_ignore: 6,14,15,16,17,18,21,31,37,38,39,40,50,56,65,66,73,74,81,82,83,86,89
  535.   unclaimed_zone_switch: 'false'
  536.  
  537.  
  538. ############################################################
  539. # +------------------------------------------------------+ #
  540. # |                 Town Notifications                   | #
  541. # +------------------------------------------------------+ #
  542. ############################################################
  543.  
  544. # This is the format for the notifications sent as players move between plots.
  545. # Empty a particular format for it to be ignored.
  546.  
  547. # Example:
  548. # [notification.format]
  549. # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  550. # ... [notification.plot.format]
  551. # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  552. # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  553.  
  554. notification:
  555.   format: '&6 ~ %s'
  556.   splitter: '&7 - '
  557.   area_wilderness: '&2%s'
  558.   area_wilderness_pvp: '%s'
  559.   area_town: '&6%s'
  560.   area_town_pvp: '%s'
  561.   owner: '&a%s'
  562.   no_owner: '&a%s'
  563.   plot:
  564.     splitter: ' '
  565.     format: '%s'
  566.     homeblock: '&b[Home]'
  567.     outpostblock: '&b[Outpost]'
  568.     forsale: '&e[For Sale: %s]'
  569.     type: '&6[%s]'
  570.  
  571.  
  572. ############################################################
  573. # +------------------------------------------------------+ #
  574. # |             Default Town/Plot flags                  | #
  575. # +------------------------------------------------------+ #
  576. ############################################################
  577.  
  578.  
  579. default_perm_flags:
  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.   spawn_travel:
  664.    # Cost to use /town spawn
  665.     price_town_spawn_travel: '0.0'
  666.     # Cost to use '/town spawn [town]' to another town in your nation.
  667.     price_town_nation_spawn_travel: '5.0'
  668.     # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  669.     price_town_ally_spawn_travel: '10.0'
  670.     # Cost to use /town spawn [town]
  671.     # This is paid to the town you goto.
  672.     price_town_public_spawn_travel: '10.0'
  673.  
  674.   # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  675.   price_nation_neutrality: '100.0'
  676.  
  677.   new_expand:
  678.    # How much it costs to start a nation.
  679.     price_new_nation: '1000.0'
  680.     # How much it costs to start a town.
  681.     price_new_town: '150.0'
  682.     # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  683.     price_outpost: '500.0'
  684.     # The price for a town to expand one townblock.
  685.     price_claim_townblock: '25.0'
  686.     # How much it costs a player to buy extra blocks.
  687.     price_purchased_bonus_townblock: '25.0'
  688.     # How much every extra bonus block costs more. Set to 1 to deactivate this. 1.2 means +20% to every bonus claim block cost.
  689.     price_purchased_bonus_townblock_increase: '1.0'
  690.  
  691.   price_death: '1.0'
  692.  
  693.   banks:
  694.    # Maximum amount of money allowed in town bank
  695.     # Use 0 for no limit
  696.     town_bank_cap: '0.0'
  697.     # Set to true to allow withdrawls from town banks
  698.     town_allow_withdrawls: 'true'
  699.     # Maximum amount of money allowed in nation bank
  700.     # Use 0 for no limit
  701.     nation_bank_cap: '0.0'
  702.     # Set to true to allow withdrawls from nation banks
  703.     nation_allow_withdrawls: 'true'
  704.   closed_economy:
  705.    # The name of the account that all money that normally disappears goes into.
  706.     server_account: towny-server
  707.     # Turn on/off whether all transactions that normally don't have a second party are to be done with a certain account.
  708.     # Eg: The money taken during Daily Taxes is just removed. With this on, the amount taken would be funneled into an account.
  709.     #     This also applies when a player collects money, like when the player is refunded money when a delayed teleport fails.
  710.     enabled: 'false'
  711.  
  712.   daily_taxes:
  713.    # Enables taxes to be collected daily by town/nation
  714.     # If a town can't pay it's tax then it is kicked from the nation.
  715.     # if a resident can't pay his plot tax he loses his plot.
  716.     # if a resident can't pay his town tax then he is kicked from the town.
  717.     # if a town or nation fails to pay it's upkeep it is deleted.
  718.     enabled: 'true'
  719.     # Maximum tax amount allowed when using flat taxes
  720.     max_tax_amount: '1000.0'
  721.     # maximum tax percentage allowed when taxing by percentages
  722.     max_tax_percent: '25'
  723.     # The server's daily charge on each nation. If a nation fails to pay this upkeep
  724.     # all of it's member town are kicked and the Nation is removed.
  725.     price_nation_upkeep: '100.0'
  726.     # The server's daily charge on each town. If a town fails to pay this upkeep
  727.     # all of it's residents are kicked and the town is removed.
  728.     price_town_upkeep: '3.0'
  729.     # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  730.     # calculated by (number of claimed plots X price_town_upkeep).
  731.     town_plotbased_upkeep: 'false'
  732.     # If enabled and you set a negative upkeep for the town
  733.     # any funds the town gains via upkeep at a new day
  734.     # will be shared out between the plot owners.
  735.     use_plot_payments: 'false'
  736.  
  737.  
  738. ############################################################
  739. # +------------------------------------------------------+ #
  740. # |                     War settings                     | #
  741. # +------------------------------------------------------+ #
  742. ############################################################
  743.  
  744. war:
  745.  #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  746.   nation_can_be_neutral: 'true'
  747.  
  748.  
  749.   ############################################################
  750.   # +------------------------------------------------------+ #
  751.   # |         Economy Transfers During War settings        | #
  752.   # +------------------------------------------------------+ #
  753.   ############################################################
  754.  
  755.   economy:
  756.     enemy:
  757.      # Amount charged to place a warflag (payed to server).
  758.       place_flag: '10'
  759.       # Amount payed from the flagbearer to the defender after defending the area.
  760.       defended_attack: '10'
  761.     # Defending town pays attaking flagbearer. If a negative (attacker pays defending town),
  762.     # and the attacker can't pay, the attack is canceled.
  763.     townblock_won: '10'
  764.     # Same as townblock_won but for the special case of winning the homeblock.
  765.     homeblock_won: '100'
  766.  
  767.  
  768.   ############################################################
  769.   # +------------------------------------------------------+ #
  770.   # |                 War Event settings                   | #
  771.   # +------------------------------------------------------+ #
  772.   ############################################################
  773.  
  774.   # This is started with /townyadmnin toggle war
  775.  
  776.   # In peace time War spoils are accumulated from towns and nations being
  777.   # deleted with any money left in the bank.
  778.   #
  779.   # These funds are increased during a war event upon a player death.
  780.   # An additional bonus to the war chest is set in base_spoils.
  781.   #
  782.   # During the event a town losing a townblock pays the wartime_town_block_loss_price to the attacking town.
  783.   # The war is won when the only nations left in the battle are allies, or only a single nation.
  784.   #
  785.   # The winning nations share half of the war spoils.
  786.   # The remaining half is paid to the town which took the most town blocks, and lost the least.
  787.  
  788.   event:
  789.     warning_delay: '30'
  790.     #If false all towns not in nations can be attacked during a war event.
  791.     towns_are_neutral: 'true'
  792.  
  793.     # If true and the monarch/king dies the nation is removed from the war.
  794.     remove_on_monarch_death: 'false'
  795.     # If enabled players will be able to break/place blocks in enemy plots during a war.
  796.     allow_block_griefing: 'true'
  797.  
  798.     # A townblock takes damage every 5 seconds that an enemy is stood in it.
  799.     block_hp:
  800.       town_block_hp: '60'
  801.       home_block_hp: '120'
  802.  
  803.     eco:
  804.      # This amount is new money injected into the economy with a war event.
  805.       base_spoils: '100.0'
  806.       # This amount is taken from the losing town for each plot lost.
  807.       wartime_town_block_loss_price: '100.0'
  808.       # This amount is taken from the player if they die during the event
  809.       price_death_wartime: '200.0'
  810.  
  811.     points:
  812.       points_townblock: '1'
  813.       points_town: '10'
  814.       points_nation: '100'
  815.       points_kill: '1'
  816.  
  817.     # The minimum height at which a player must stand to count as an attacker.
  818.     min_height: '60'
  819.  
  820.   ############################################################
  821.   # +------------------------------------------------------+ #
  822.   # |                   Flag war settings                  | #
  823.   # +------------------------------------------------------+ #
  824.   ############################################################
  825.  
  826.   enemy:
  827.    # If false, players won't be able to place war flags, effectively disabling warzones.
  828.     allow_attacks: 'false'
  829.     # If true, enemy's can only attack the edge plots of a town with war flags.
  830.     only_attack_borders: 'true'
  831.     # This many people must be online in target town in order to place a war flag in their domain.
  832.     min_players_online_in_town: '2'
  833.     # This many people must be online in target nation in order to place a war flag in their domain.
  834.     min_players_online_in_nation: '3'
  835.     max_active_flags_per_player: '1'
  836.     flag:
  837.       waiting_time: 1m
  838.       # This is the block a player must place to trigger the attack event.
  839.       base_block: fence
  840.       # This is the block a player must place to trigger the attack event.
  841.       light_block: torch
  842.     beacon:
  843.      # Must be smaller than half the size of town_block_size.
  844.       radius: '3'
  845.       # The range the beacon will be drawn in. It's flexibility is in case the flag is close to the height limit.
  846.       # If a flag is too close to the height limit (lower than the minimum), it will not be drawn.
  847.       height_above_flag:
  848.         min: '3'
  849.         max: '64'
  850.       draw: 'true'
  851.       wireframe_block: glowstone
  852.   ############################################################
  853.   # +------------------------------------------------------+ #
  854.   # |              Warzone Block Permissions               | #
  855.   # +------------------------------------------------------+ #
  856.   ############################################################
  857.  
  858.   warzone:
  859.    # List of materaials that can be modified in a warzone.
  860.     # '*' = Allow all materials.
  861.     # Prepend a '-' in front of a material to remove it. Used in conjunction with when you use '*'.
  862.     # Eg: '*,-chest,-furnace'
  863.     editable_materials: tnt,fence,ladder,wood_door,iron_door,fire
  864.     item_use: 'true'
  865.     switch: 'true'
  866.     # Add '-fire' to editable materials for complete protection when setting is false. This prevents fire to be created and spread.
  867.     fire: 'true'
  868.     explosions: 'true'
  869.     explosions_break_blocks: 'true'
  870.     # TODO: Blocks will not regen as of yet. Stay tuned for later changes.
  871.     # Only under affect when explosions_break_blocks is true.
  872.     explosions_regen_blocks: 'true'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top