Advertisement
Guest User

config.yml

a guest
Oct 3rd, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.61 KB | None | 0 0
  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.0
  7. # This is for showing the changelog on updates. Please do not edit.
  8. last_run_version: 0.84.0.0
  9. # Minimum required version of CraftBukkit. Please do not edit.
  10. bukkit_version: '2771'
  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.  
  89. # default Town levels.
  90. town_level:
  91. - upkeepModifier: 1.0
  92. namePostfix: ' Ruins'
  93. mayorPrefix: 'Spirit '
  94. mayorPostfix: ''
  95. townBlockLimit: 1
  96. namePrefix: ''
  97. numResidents: 0
  98. - upkeepModifier: 1.0
  99. namePostfix: ' (Settlement)'
  100. mayorPrefix: 'Hermit '
  101. mayorPostfix: ''
  102. townBlockLimit: 16
  103. namePrefix: ''
  104. numResidents: 1
  105. - upkeepModifier: 2.0
  106. namePostfix: ' (Hamlet)'
  107. mayorPrefix: 'Chief '
  108. mayorPostfix: ''
  109. townBlockLimit: 32
  110. namePrefix: ''
  111. numResidents: 2
  112. - upkeepModifier: 6.0
  113. namePostfix: ' (Village)'
  114. mayorPrefix: 'Baron Von '
  115. mayorPostfix: ''
  116. townBlockLimit: 96
  117. namePrefix: ''
  118. numResidents: 6
  119. - upkeepModifier: 10.0
  120. namePostfix: ' (Town)'
  121. mayorPrefix: 'Viscount '
  122. mayorPostfix: ''
  123. townBlockLimit: 160
  124. namePrefix: ''
  125. numResidents: 10
  126. - upkeepModifier: 14.0
  127. namePostfix: ' (Large Town)'
  128. mayorPrefix: 'Count Von '
  129. mayorPostfix: ''
  130. townBlockLimit: 224
  131. namePrefix: ''
  132. numResidents: 14
  133. - upkeepModifier: 20.0
  134. namePostfix: ' (City)'
  135. mayorPrefix: 'Earl '
  136. mayorPostfix: ''
  137. townBlockLimit: 320
  138. namePrefix: ''
  139. numResidents: 20
  140. - upkeepModifier: 24.0
  141. namePostfix: ' (Large City)'
  142. mayorPrefix: 'Duke '
  143. mayorPostfix: ''
  144. townBlockLimit: 384
  145. namePrefix: ''
  146. numResidents: 24
  147. - upkeepModifier: 28.0
  148. namePostfix: ' (Metropolis)'
  149. mayorPrefix: 'Lord '
  150. mayorPostfix: ''
  151. townBlockLimit: 448
  152. namePrefix: ''
  153. numResidents: 28
  154.  
  155. # default Nation levels.
  156. nation_level:
  157. - capitalPostfix: ''
  158. upkeepModifier: 10.0
  159. namePostfix: ' (Nation)'
  160. kingPrefix: 'Leader '
  161. townBlockLimitBonus: 10
  162. namePrefix: 'Land of '
  163. numResidents: 20
  164. capitalPrefix: ''
  165. kingPostfix: ''
  166. - capitalPostfix: ''
  167. upkeepModifier: 15.0
  168. namePostfix: ' (Nation)'
  169. kingPrefix: 'Count '
  170. townBlockLimitBonus: 20
  171. namePrefix: 'Federation of '
  172. numResidents: 30
  173. capitalPrefix: ''
  174. kingPostfix: ''
  175. - capitalPostfix: ''
  176. upkeepModifier: 20.0
  177. namePostfix: ' (Nation)'
  178. kingPrefix: 'Duke '
  179. townBlockLimitBonus: 40
  180. namePrefix: 'Dominion of '
  181. numResidents: 40
  182. capitalPrefix: ''
  183. kingPostfix: ''
  184. - capitalPostfix: ''
  185. upkeepModifier: 25.0
  186. namePostfix: ' (Nation)'
  187. kingPrefix: 'King '
  188. townBlockLimitBonus: 60
  189. namePrefix: 'Kingdom of '
  190. numResidents: 50
  191. capitalPrefix: ''
  192. kingPostfix: ''
  193. - capitalPostfix: ''
  194. upkeepModifier: 30.0
  195. namePostfix: ' Empire'
  196. kingPrefix: 'Emperor '
  197. townBlockLimitBonus: 100
  198. namePrefix: 'The '
  199. numResidents: 60
  200. capitalPrefix: ''
  201. kingPostfix: ''
  202. - capitalPostfix: ''
  203. upkeepModifier: 35.0
  204. namePostfix: ' Realm'
  205. kingPrefix: 'God Emperor '
  206. townBlockLimitBonus: 140
  207. namePrefix: 'The '
  208. numResidents: 70
  209. capitalPrefix: ''
  210. kingPostfix: ''
  211.  
  212. ############################################################
  213. # +------------------------------------------------------+ #
  214. # | Town Claim/new defaults | #
  215. # +------------------------------------------------------+ #
  216. ############################################################
  217.  
  218. town:
  219. # Default public status of the town (used for /town spawn)
  220. default_public: 'true'
  221. # Default Open status of the town (are new towns open and joinable by anyone at creation?)
  222. default_open: 'false'
  223. # Limits the maximum amount of bonus blocks a town can buy.
  224. max_purchased_blocks: '0'
  225. # maximum number of plots any single resident can own
  226. max_plots_per_resident: '100'
  227. # Maximum number of towns allowed on the server.
  228. town_limit: '3000'
  229.  
  230. # Minimum number of plots any towns home plot must be from the next town.
  231. # This will prevent someone founding a town right on your doorstep
  232. min_distance_from_town_homeblock: '30'
  233.  
  234. # Maximum distance between homblocks.
  235. # This will force players to build close together.
  236. max_distance_between_homeblocks: '0'
  237.  
  238. # The maximum townblocks available to a town is (numResidents * ratio).
  239. # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  240. town_block_ratio: '8'
  241. # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  242. # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  243. # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  244. # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  245. town_block_size: '16'
  246.  
  247.  
  248. ############################################################
  249. # +------------------------------------------------------+ #
  250. # | Default new world settings | #
  251. # +------------------------------------------------------+ #
  252. ############################################################
  253.  
  254. # These flags are only used at the initial setp of a new world.
  255.  
  256. # Once Towny is running each world can be altered from within game
  257. # using '/townyworld toggle'
  258.  
  259. new_world_settings:
  260. # Default for new worlds to have towny enabled.
  261. using_towny: 'true'
  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: 'false'
  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,63,64,68,69,70,71,72,75,76,93,94,149,150
  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
  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: 'false'
  345. # Allow towns to claim outposts (a townblock not connected to town).
  346. allow_outposts: 'false'
  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: '3'
  357. # Respawn the player at his town spawn point when he/she dies
  358. town_respawn: 'true'
  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: mysql
  380. database_save: mysql
  381.  
  382. # SQL database connection details (IF set to use SQL).
  383. sql:
  384. hostname: removed
  385. port: 'removed'
  386. dbname: removed
  387. table_prefix: towny_
  388. username: removed
  389. password: removed
  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. tekkit:
  401. # Add any fake players for client/server mods (aka Tekkit) here
  402. fake_residents: '[IndustrialCraft],[BuildCraft],[Redpower],[Forestry],[Turtle]'
  403.  
  404. # Enable using_essentials if you are using cooldowns in essentials for teleports.
  405. using_essentials: 'true'
  406.  
  407. # This will attempt to use Register (if present)
  408. # Then it will attempt to access iConomy 5.01 directly
  409. # Enable if you have either iConomy 5.01, or Register.jar to
  410. # support: iConomy5, iConomy6, EssentialsEco, BOSEconomy.
  411. # https://github.com/iConomy/Register/tree/master/dist
  412. using_economy: 'true'
  413.  
  414. # Enable using_questioner if you are using questioner to send/receive invites to towns/nations.
  415. # See http://code.google.com/a/eclipselabs.org/p/towny/wiki/Questioner for more info.
  416. using_questioner:
  417. enable: 'true'
  418. # The command to accept invitations.
  419. accept: accept
  420. # The command to refuse invitations.
  421. deny: deny
  422.  
  423. # True to attempt to use GroupManager, PEX, bPermissions, Permissions2/3 or BukkitPerms
  424. # False to disable permission checks and rely on Towny settings.
  425. using_permissions: 'true'
  426.  
  427. day_timer:
  428. # The number of hours in each "day".
  429. # You can configure for 10 hour days. Default is 24 hours.
  430. day_interval: 1d
  431. # The time each "day", when taxes will be collected.
  432. # MUST be less than day_interval. Default is 12h (midday).
  433. new_day_time: 12h
  434.  
  435. # Lots of messages to tell you what's going on in the server with time taken for events.
  436. debug_mode: 'false'
  437.  
  438. # Spams the player named in dev_name with all messages related to towny.
  439. dev_mode:
  440. enable: 'false'
  441. dev_name: ElgarL
  442.  
  443. # Record all messages to the towny.log
  444. logging: 'true'
  445. # If true this will cause the log to be wiped at every startup.
  446. reset_log_on_boot: 'true'
  447.  
  448.  
  449. ############################################################
  450. # +------------------------------------------------------+ #
  451. # | Filters colour and chat | #
  452. # +------------------------------------------------------+ #
  453. ############################################################
  454.  
  455. filters_colour_chat:
  456. # This is the name given to any NPC assigned mayor.
  457. npc_prefix: NPC
  458. # Regex fields used in validating inputs.
  459. regex:
  460. name_filter_regex: '[ /]'
  461. name_check_regex: ^[a-zA-Z0-9._\[\]-]*$
  462. name_remove_regex: '[^a-zA-Z0-9._\[\]-]'
  463.  
  464. modify_chat:
  465. # Maximum length of Town and Nation names.
  466. max_name_length: '20'
  467. # Maximum length of titles and surnames.
  468. max_title_length: '10'
  469.  
  470.  
  471. ############################################################
  472. # +------------------------------------------------------+ #
  473. # | block/item/mob protection | #
  474. # +------------------------------------------------------+ #
  475. ############################################################
  476.  
  477. protection:
  478.  
  479. # Items that can be blocked within towns via town/plot flags
  480. # 259 - flint and steel
  481. # 325 - bucket
  482. # 326 - water bucket
  483. # 327 - lava bucket
  484. # 351 - bone/bonemeal
  485. # 359 - shears
  486. # 368 - ender pearl
  487. # 374 - glass bottle
  488. # 385 - fire charge
  489. item_use_ids: 259,325,326,327,328,342,351,359,368,374,385
  490.  
  491. # Items which can be blocked or enabled via town/plot flags
  492. # 25 - noteblock
  493. # 54 - chest ...etc
  494. 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
  495.  
  496. # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  497. # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  498. # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  499.  
  500. # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  501. town_mob_removal_entities: Monster,WaterMob,Flying,Slime
  502.  
  503. # Prevent the spawning of villager babies in towns.
  504. town_prevent_villager_breeding: 'false'
  505. # Disable creatures triggering stone pressure plates
  506. disable_creature_pressureplate_stone: 'true'
  507.  
  508. # Globally remove living entities in all worlds that have their flag set.
  509. world_mob_removal_entities: Monster,WaterMob,Flying,Slime
  510.  
  511. # Prevent the spawning of villager babies in the world.
  512. world_prevent_villager_breeding: 'false'
  513.  
  514. # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  515. # Lower values will check all entities more often at the risk of heavier burden and resource use.
  516. # NEVER set below 1.
  517. mob_removal_speed: 5s
  518.  
  519. # Prevent fly and double block jump cheats.
  520. cheat_protection: 'true'
  521.  
  522. # The amount of time it takes for a protected block to regenerate. Use zero for no delay.
  523. regen_delay: 0s
  524.  
  525.  
  526. ############################################################
  527. # +------------------------------------------------------+ #
  528. # | Wilderness settings | #
  529. # +------------------------------------------------------+ #
  530. ############################################################
  531.  
  532. # These Settings defaults only. They are copied to each worlds data files upon first detection
  533. # To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
  534.  
  535. unclaimed:
  536. unclaimed_zone_build: 'true'
  537. unclaimed_zone_destroy: 'true'
  538. unclaimed_zone_item_use: 'true'
  539. 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
  540. unclaimed_zone_switch: 'true'
  541.  
  542.  
  543. ############################################################
  544. # +------------------------------------------------------+ #
  545. # | Town Notifications | #
  546. # +------------------------------------------------------+ #
  547. ############################################################
  548.  
  549. # This is the format for the notifications sent as players move between plots.
  550. # Empty a particular format for it to be ignored.
  551.  
  552. # Example:
  553. # [notification.format]
  554. # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  555. # ... [notification.plot.format]
  556. # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  557. # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  558.  
  559. notification:
  560. format: '&6 ~ %s'
  561. splitter: '&7 - '
  562. area_wilderness: '&2%s'
  563. area_wilderness_pvp: '%s'
  564. area_town: '&6%s'
  565. area_town_pvp: '%s'
  566. owner: '&a%s'
  567. no_owner: '&a%s'
  568. plot:
  569. splitter: ' '
  570. format: '%s'
  571. homeblock: '&b[Home]'
  572. outpostblock: '&b[Outpost]'
  573. forsale: '&e[For Sale: %s]'
  574. type: '&6[%s]'
  575.  
  576.  
  577. ############################################################
  578. # +------------------------------------------------------+ #
  579. # | Default Town/Plot flags | #
  580. # +------------------------------------------------------+ #
  581. ############################################################
  582.  
  583.  
  584. default_perm_flags:
  585.  
  586. # Default permission flags for residents plots within a town
  587. #
  588. # Can allies/friends/outsiders perform certain actions in the town
  589. #
  590. # build - place blocks and other items
  591. # destroy - break blocks and other items
  592. # itemuse - use items such as furnaces (as defined in item_use_ids)
  593. # switch - trigger or activate switches (as defined in switch_ids)
  594. resident:
  595. friend:
  596. build: 'true'
  597. destroy: 'true'
  598. item_use: 'true'
  599. switch: 'true'
  600. ally:
  601. build: 'false'
  602. destroy: 'false'
  603. item_use: 'false'
  604. switch: 'false'
  605. outsider:
  606. build: 'false'
  607. destroy: 'false'
  608. item_use: 'false'
  609. switch: 'false'
  610.  
  611. # Default permission flags for towns
  612. # These are copied into the town data file at creation
  613. #
  614. # Can allies/outsiders/residents perform certain actions in the town
  615. #
  616. # build - place blocks and other items
  617. # destroy - break blocks and other items
  618. # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  619. # switch - trigger or activate switches (as defined in switch_ids)
  620. town:
  621. default:
  622. pvp: 'false'
  623. fire: 'false'
  624. explosion: 'false'
  625. mobs: 'false'
  626. resident:
  627. build: 'true'
  628. destroy: 'true'
  629. item_use: 'true'
  630. switch: 'true'
  631. ally:
  632. build: 'false'
  633. destroy: 'false'
  634. item_use: 'false'
  635. switch: 'false'
  636. outsider:
  637. build: 'false'
  638. destroy: 'false'
  639. item_use: 'false'
  640. switch: 'false'
  641.  
  642.  
  643. ############################################################
  644. # +------------------------------------------------------+ #
  645. # | Resident settings | #
  646. # +------------------------------------------------------+ #
  647. ############################################################
  648.  
  649. resident_settings:
  650. # player is flagged as inactive after 1 hour (default)
  651. inactive_after_time: 1h
  652. # if enabled old residents will be kicked and deleted from a town
  653. # after Two months (default) of not logging in
  654. delete_old_residents:
  655. enable: 'true'
  656. deleted_after_time: 60d
  657. delete_economy_account: 'true'
  658. # The name of the town a resident will automatically join when he first registers.
  659. default_town_name: ''
  660.  
  661.  
  662. ############################################################
  663. # +------------------------------------------------------+ #
  664. # | Economy settings | #
  665. # +------------------------------------------------------+ #
  666. ############################################################
  667.  
  668. economy:
  669.  
  670. spawn_travel:
  671. # Cost to use /town spawn
  672. price_town_spawn_travel: '5.0'
  673. # Cost to use '/town spawn [town]' to another town in your nation.
  674. price_town_nation_spawn_travel: '5.0'
  675. # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  676. price_town_ally_spawn_travel: '10.0'
  677. # Cost to use /town spawn [town]
  678. # This is paid to the town you goto.
  679. price_town_public_spawn_travel: '10.0'
  680.  
  681. # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  682. price_nation_neutrality: '10.0'
  683.  
  684. new_expand:
  685. # How much it costs to start a nation.
  686. price_new_nation: '1000.0'
  687. # How much it costs to start a town.
  688. price_new_town: '250.0'
  689. # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  690. price_outpost: '500.0'
  691. # The price for a town to expand one townblock.
  692. price_claim_townblock: '100.0'
  693. # How much it costs a player to buy extra blocks.
  694. price_purchased_bonus_townblock: '50.0'
  695.  
  696. price_death: '0.0'
  697.  
  698. banks:
  699. # Maximum amount of money allowed in town bank
  700. # Use 0 for no limit
  701. town_bank_cap: '0.0'
  702. # Set to true to allow withdrawls from town banks
  703. town_allow_withdrawls: 'true'
  704. # Maximum amount of money allowed in nation bank
  705. # Use 0 for no limit
  706. nation_bank_cap: '0.0'
  707. # Set to true to allow withdrawls from nation banks
  708. nation_allow_withdrawls: 'true'
  709. closed_economy:
  710. # The name of the account that all money that normally disappears goes into.
  711. server_account: towny-server
  712. # Turn on/off whether all transactions that normally don't have a second party are to be done with a certain account.
  713. # Eg: The money taken during Daily Taxes is just removed. With this on, the amount taken would be funneled into an account.
  714. # This also applies when a player collects money, like when the player is refunded money when a delayed teleport fails.
  715. enabled: 'false'
  716.  
  717. daily_taxes:
  718. # Enables taxes to be collected daily by town/nation
  719. # If a town can't pay it's tax then it is kicked from the nation.
  720. # if a resident can't pay his plot tax he loses his plot.
  721. # if a resident can't pay his town tax then he is kicked from the town.
  722. # if a town or nation fails to pay it's upkeep it is deleted.
  723. enabled: 'true'
  724. # Maximum tax amount allowed when using flat taxes
  725. max_tax_amount: '1000.0'
  726. # maximum tax percentage allowed when taxing by percentages
  727. max_tax_percent: '25'
  728. # The server's daily charge on each nation. If a nation fails to pay this upkeep
  729. # all of it's member town are kicked and the Nation is removed.
  730. price_nation_upkeep: '10.0'
  731. # The server's daily charge on each town. If a town fails to pay this upkeep
  732. # all of it's residents are kicked and the town is removed.
  733. price_town_upkeep: '10.0'
  734. # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  735. # calculated by (number of claimed plots X price_town_upkeep).
  736. town_plotbased_upkeep: 'false'
  737. # If enabled and you set a negative upkeep for the town
  738. # any funds the town gains via upkeep at a new day
  739. # will be shared out between the plot owners.
  740. use_plot_payments: 'false'
  741.  
  742.  
  743. ############################################################
  744. # +------------------------------------------------------+ #
  745. # | War settings | #
  746. # +------------------------------------------------------+ #
  747. ############################################################
  748.  
  749. war:
  750. #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  751. nation_can_be_neutral: 'true'
  752.  
  753.  
  754. ############################################################
  755. # +------------------------------------------------------+ #
  756. # | Economy Transfers During War settings | #
  757. # +------------------------------------------------------+ #
  758. ############################################################
  759.  
  760. economy:
  761. enemy:
  762. # Amount charged to place a warflag (payed to server).
  763. place_flag: '10'
  764. # Amount payed from the flagbearer to the defender after defending the area.
  765. defended_attack: '10'
  766. # Defending town pays attaking flagbearer. If a negative (attacker pays defending town),
  767. # and the attacker can't pay, the attack is canceled.
  768. townblock_won: '10'
  769. # Same as townblock_won but for the special case of winning the homeblock.
  770. homeblock_won: '100'
  771.  
  772.  
  773. ############################################################
  774. # +------------------------------------------------------+ #
  775. # | War Event settings | #
  776. # +------------------------------------------------------+ #
  777. ############################################################
  778.  
  779. # This is started with /townyadmnin toggle war
  780.  
  781. # In peace time War spoils are accumulated from towns and nations being
  782. # deleted with any money left in the bank.
  783. #
  784. # These funds are increased during a war event upon a player death.
  785. # An additional bonus to the war chest is set in base_spoils.
  786. #
  787. # During the event a town losing a townblock pays the wartime_town_block_loss_price to the attacking town.
  788. # The war is won when the only nations left in the battle are allies, or only a single nation.
  789. #
  790. # The winning nations share half of the war spoils.
  791. # The remaining half is paid to the town which took the most town blocks, and lost the least.
  792.  
  793. event:
  794. warning_delay: '30'
  795. #If false all towns not in nations can be attacked during a war event.
  796. towns_are_neutral: 'true'
  797.  
  798. # If true and the monarch/king dies the nation is removed from the war.
  799. remove_on_monarch_death: 'false'
  800. # If enabled players will be able to break/place blocks in enemy plots during a war.
  801. allow_block_griefing: 'true'
  802.  
  803. # A townblock takes damage every 5 seconds that an enemy is stood in it.
  804. block_hp:
  805. town_block_hp: '60'
  806. home_block_hp: '120'
  807.  
  808. eco:
  809. # This amount is new money injected into the economy with a war event.
  810. base_spoils: '100.0'
  811. # This amount is taken from the losing town for each plot lost.
  812. wartime_town_block_loss_price: '100.0'
  813. # This amount is taken from the player if they die during the event
  814. price_death_wartime: '200.0'
  815.  
  816. points:
  817. points_townblock: '1'
  818. points_town: '10'
  819. points_nation: '100'
  820. points_kill: '1'
  821.  
  822. # The minimum height at which a player must stand to count as an attacker.
  823. min_height: '60'
  824.  
  825. ############################################################
  826. # +------------------------------------------------------+ #
  827. # | Flag war settings | #
  828. # +------------------------------------------------------+ #
  829. ############################################################
  830.  
  831. enemy:
  832. # If false, players won't be able to place war flags, effectively disabling warzones.
  833. allow_attacks: 'false'
  834. # If true, enemy's can only attack the edge plots of a town with war flags.
  835. only_attack_borders: 'true'
  836. # This many people must be online in target town in order to place a war flag in their domain.
  837. min_players_online_in_town: '2'
  838. # This many people must be online in target nation in order to place a war flag in their domain.
  839. min_players_online_in_nation: '3'
  840. max_active_flags_per_player: '1'
  841. flag:
  842. waiting_time: 1m
  843. # This is the block a player must place to trigger the attack event.
  844. base_block: fence
  845. # This is the block a player must place to trigger the attack event.
  846. light_block: torch
  847. beacon:
  848. # Must be smaller than half the size of town_block_size.
  849. radius: '3'
  850. # The range the beacon will be drawn in. It's flexibility is in case the flag is close to the height limit.
  851. # If a flag is too close to the height limit (lower than the minimum), it will not be drawn.
  852. height_above_flag:
  853. min: '3'
  854. max: '64'
  855. draw: 'true'
  856. wireframe_block: glowstone
  857. ############################################################
  858. # +------------------------------------------------------+ #
  859. # | Warzone Block Permissions | #
  860. # +------------------------------------------------------+ #
  861. ############################################################
  862.  
  863. warzone:
  864. # List of materaials that can be modified in a warzone.
  865. # '*' = Allow all materials.
  866. # Prepend a '-' in front of a material to remove it. Used in conjunction with when you use '*'.
  867. # Eg: '*,-chest,-furnace'
  868. editable_materials: tnt,fence,ladder,wood_door,iron_door,fire
  869. item_use: 'true'
  870. switch: 'true'
  871. # Add '-fire' to editable materials for complete protection when setting is false. This prevents fire to be created and spread.
  872. fire: 'true'
  873. explosions: 'true'
  874. explosions_break_blocks: 'true'
  875. # TODO: Blocks will not regen as of yet. Stay tuned for later changes.
  876. # Only under affect when explosions_break_blocks is true.
  877. explosions_regen_blocks: 'true'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement