Advertisement
Guest User

config.yml

a guest
Sep 15th, 2019
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.74 KB | None | 0 0
  1. version:
  2. # This is the current version of Towny. Please do not edit.
  3. version: 0.94.0.0
  4. # This is for showing the changelog on updates. Please do not edit.
  5. last_run_version: 0.94.0.0
  6. # The language file you wish to use
  7. language: english.yml
  8.  
  9. ############################################################
  10. # +------------------------------------------------------+ #
  11. # | Permission nodes | #
  12. # +------------------------------------------------------+ #
  13. ############################################################
  14.  
  15. # Possible permission nodes
  16. #
  17. # for a full list of permission nodes visit:
  18. # http://palmergames.com/towny/towny-permission-nodes/
  19. permissions: ''
  20.  
  21. ############################################################
  22. # +------------------------------------------------------+ #
  23. # | Town and Nation levels | #
  24. # +------------------------------------------------------+ #
  25. ############################################################
  26.  
  27. levels:
  28. # default Town levels.
  29. town_level:
  30. - numResidents: 0
  31. namePostfix: ' Ruins'
  32. mayorPrefix: 'Spirit '
  33. namePrefix: ''
  34. mayorPostfix: ''
  35. townBlockLimit: 1
  36. upkeepModifier: 1.0
  37. townOutpostLimit: 0
  38. - numResidents: 1
  39. namePostfix: ' (Settlement)'
  40. mayorPrefix: 'Hermit '
  41. namePrefix: ''
  42. mayorPostfix: ''
  43. townBlockLimit: 16
  44. upkeepModifier: 1.0
  45. townOutpostLimit: 0
  46. - numResidents: 2
  47. namePostfix: ' (Hamlet)'
  48. mayorPrefix: 'Chief '
  49. namePrefix: ''
  50. mayorPostfix: ''
  51. townBlockLimit: 32
  52. upkeepModifier: 1.0
  53. townOutpostLimit: 1
  54. - numResidents: 6
  55. namePostfix: ' (Village)'
  56. mayorPrefix: 'Baron Von '
  57. namePrefix: ''
  58. mayorPostfix: ''
  59. townBlockLimit: 96
  60. upkeepModifier: 1.0
  61. townOutpostLimit: 1
  62. - numResidents: 10
  63. namePostfix: ' (Town)'
  64. mayorPrefix: 'Viscount '
  65. namePrefix: ''
  66. mayorPostfix: ''
  67. townBlockLimit: 160
  68. upkeepModifier: 1.0
  69. townOutpostLimit: 2
  70. - numResidents: 14
  71. namePostfix: ' (Large Town)'
  72. mayorPrefix: 'Count Von '
  73. namePrefix: ''
  74. mayorPostfix: ''
  75. townBlockLimit: 224
  76. upkeepModifier: 1.0
  77. townOutpostLimit: 2
  78. - numResidents: 20
  79. namePostfix: ' (City)'
  80. mayorPrefix: 'Earl '
  81. namePrefix: ''
  82. mayorPostfix: ''
  83. townBlockLimit: 320
  84. upkeepModifier: 1.0
  85. townOutpostLimit: 3
  86. - numResidents: 24
  87. namePostfix: ' (Large City)'
  88. mayorPrefix: 'Duke '
  89. namePrefix: ''
  90. mayorPostfix: ''
  91. townBlockLimit: 384
  92. upkeepModifier: 1.0
  93. townOutpostLimit: 3
  94. - numResidents: 28
  95. namePostfix: ' (Metropolis)'
  96. mayorPrefix: 'Lord '
  97. namePrefix: ''
  98. mayorPostfix: ''
  99. townBlockLimit: 448
  100. upkeepModifier: 1.0
  101. townOutpostLimit: 4
  102. # default Nation levels.
  103. nation_level:
  104. - kingPostfix: ''
  105. capitalPostfix: ''
  106. upkeepModifier: 1.0
  107. kingPrefix: 'Leader '
  108. capitalPrefix: ''
  109. numResidents: 0
  110. nationBonusOutpostLimit: 0
  111. namePostfix: ' (Nation)'
  112. townBlockLimitBonus: 10
  113. namePrefix: 'Land of '
  114. nationZonesSize: 1
  115. nationTownUpkeepModifier: 1.0
  116. - kingPostfix: ''
  117. capitalPostfix: ''
  118. upkeepModifier: 1.0
  119. kingPrefix: 'Count '
  120. capitalPrefix: ''
  121. numResidents: 10
  122. nationBonusOutpostLimit: 1
  123. namePostfix: ' (Nation)'
  124. townBlockLimitBonus: 20
  125. namePrefix: 'Federation of '
  126. nationZonesSize: 1
  127. nationTownUpkeepModifier: 1.0
  128. - kingPostfix: ''
  129. capitalPostfix: ''
  130. upkeepModifier: 1.0
  131. kingPrefix: 'Duke '
  132. capitalPrefix: ''
  133. numResidents: 20
  134. nationBonusOutpostLimit: 2
  135. namePostfix: ' (Nation)'
  136. townBlockLimitBonus: 40
  137. namePrefix: 'Dominion of '
  138. nationZonesSize: 1
  139. nationTownUpkeepModifier: 1.0
  140. - kingPostfix: ''
  141. capitalPostfix: ''
  142. upkeepModifier: 1.0
  143. kingPrefix: 'King '
  144. capitalPrefix: ''
  145. numResidents: 30
  146. nationBonusOutpostLimit: 3
  147. namePostfix: ' (Nation)'
  148. townBlockLimitBonus: 60
  149. namePrefix: 'Kingdom of '
  150. nationZonesSize: 2
  151. nationTownUpkeepModifier: 1.0
  152. - kingPostfix: ''
  153. capitalPostfix: ''
  154. upkeepModifier: 1.0
  155. kingPrefix: 'Emperor '
  156. capitalPrefix: ''
  157. numResidents: 40
  158. nationBonusOutpostLimit: 4
  159. namePostfix: ' Empire'
  160. townBlockLimitBonus: 100
  161. namePrefix: 'The '
  162. nationZonesSize: 2
  163. nationTownUpkeepModifier: 1.0
  164. - kingPostfix: ''
  165. capitalPostfix: ''
  166. upkeepModifier: 1.0
  167. kingPrefix: 'God Emperor '
  168. capitalPrefix: ''
  169. numResidents: 60
  170. nationBonusOutpostLimit: 5
  171. namePostfix: ' Realm'
  172. townBlockLimitBonus: 140
  173. namePrefix: 'The '
  174. nationZonesSize: 3
  175. nationTownUpkeepModifier: 1.0
  176.  
  177. ############################################################
  178. # +------------------------------------------------------+ #
  179. # | Town Claim/new defaults | #
  180. # +------------------------------------------------------+ #
  181. ############################################################
  182.  
  183. town:
  184. # Default public status of the town (used for /town spawn)
  185. default_public: 'true'
  186. # Default Open status of the town (are new towns open and joinable by anyone at creation?)
  187. default_open: 'true'
  188. # Default tax settings for new towns.
  189. default_taxes:
  190. # Default amount of tax of a new town. This must be lower than the economy.daily_taxes.max_tax_percent setting.
  191. tax: '0.0'
  192. # Default amount of shop tax of a new town.
  193. shop_tax: '0.0'
  194. # Default amount of embassy tax of a new town.
  195. embassy_tax: '0.0'
  196. # Default amount for town's plottax costs.
  197. plot_tax: '0.0'
  198. # Default status of new town's taxpercentage. True means that the default_tax is treated as a percentage instead of a fixed amount.
  199. taxpercentage: 'false'
  200. # A required minimum tax amount for the default_tax, will not change any towns which already have a tax set.
  201. # Do not forget to set the default_tax to more than 0 or new towns will still begin with a tax of zero.
  202. minimumtax: '0.0'
  203. # Limits the maximum amount of bonus blocks a town can buy.
  204. max_purchased_blocks: '0'
  205. # maximum number of plots any single resident can own
  206. max_plots_per_resident: '100'
  207. # maximum number used in /town claim/unclaim # commands.
  208. # set to 0 to disable limiting of claim radius value check.
  209. # keep in mind that the default value of 4 is a radius,
  210. # and it will allow claiming 9x9 (80 plots) at once.
  211. max_claim_radius_value: '4'
  212. # Maximum number of towns allowed on the server.
  213. town_limit: '3000'
  214.  
  215. # Minimum number of plots any towns plot must be from the next town's own plots.
  216. # This will prevent town encasement to a certain degree.
  217. min_plot_distance_from_town_plot: '5'
  218.  
  219. # Minimum number of plots any towns home plot must be from the next town.
  220. # This will prevent someone founding a town right on your doorstep
  221. min_distance_from_town_homeblock: '1000'
  222.  
  223. # Minimum number of plots an outpost must be from any other town's plots.
  224. # Useful when min_plot_distance_from_town_plot is set to near-zero to allow towns to have claims
  225. # near to each other, but want to keep outposts away from towns.
  226. min_distance_for_outpost_from_plot: '5'
  227.  
  228. # Maximum distance between homeblocks.
  229. # This will force players to build close together.
  230. max_distance_between_homeblocks: '0'
  231.  
  232. # The maximum townblocks available to a town is (numResidents * ratio).
  233. # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  234. town_block_ratio: '8'
  235. # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  236. # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  237. # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  238. # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  239. town_block_size: '16'
  240.  
  241.  
  242. ############################################################
  243. # +------------------------------------------------------+ #
  244. # | Default new world settings | #
  245. # +------------------------------------------------------+ #
  246. ############################################################
  247.  
  248. # These flags are only used at the initial setup of a new world.
  249.  
  250. # Once Towny is running each world can be altered from within game
  251. # using '/townyworld toggle'
  252.  
  253. new_world_settings:
  254. # Default for new worlds to have towny enabled.
  255. using_towny: 'true'
  256.  
  257. pvp:
  258. # Set if PVP is enabled in this world
  259. world_pvp: 'true'
  260. # force_pvp_on is a global flag and overrides any towns flag setting
  261. force_pvp_on: 'false'
  262.  
  263. mobs:
  264. # world_monsters_on is a global flag setting per world.
  265. world_monsters_on: 'true'
  266. # force_town_monsters_on is a global flag and overrides any towns flag setting
  267. force_town_monsters_on: 'false'
  268.  
  269. explosions:
  270. # Allow explosions in this world
  271. world_explosions_enabled: 'true'
  272. # force_explosions_on is a global flag and overrides any towns flag setting
  273. force_explosions_on: 'false'
  274.  
  275. fire:
  276. # Allow fire to be lit and spread in this world.
  277. world_firespread_enabled: 'true'
  278. # force_fire_on is a global flag and overrides any towns flag setting
  279. force_fire_on: 'false'
  280.  
  281. # Prevent Endermen from picking up and placing blocks.
  282. enderman_protect: 'true'
  283. # Disable players trampling crops
  284. disable_player_crop_trampling: 'true'
  285. # Disable creatures trampling crops
  286. disable_creature_crop_trampling: 'true'
  287.  
  288. # World management settings to deal with un/claiming plots
  289. plot_management:
  290.  
  291. block_delete:
  292. enabled: 'true'
  293. # These items will be deleted upon a plot being unclaimed
  294. unclaim_delete: BED_BLOCK,TORCH,REDSTONE_WIRE,SIGN_POST,WOODEN_DOOR,WALL_SIGN,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,REDSTONE_TORCH_OFF,REDSTONE_TORCH_ON,DIODE_BLOCK_OFF,DIODE_BLOCK_ON
  295.  
  296. mayor_plotblock_delete:
  297. enabled: 'true'
  298. # These items will be deleted upon a mayor using /plot clear
  299. # To disable deleting replace the current entries with NONE.
  300. mayor_plot_delete: WALL_SIGN,SIGN_POST
  301.  
  302. revert_on_unclaim:
  303. # *** WARNING***
  304. # If this is enabled any town plots which become unclaimed will
  305. # slowly be reverted to a snapshot taken before the plot was claimed.
  306. #
  307. # Regeneration will only work if the plot was
  308. # claimed under version 0.76.2, or
  309. # later with this feature enabled
  310. # Unlike the rest of this config section, the speed setting is not
  311. # set per-world. What you set for speed will be used in all worlds.
  312. #
  313. # If you allow players to break/build in the wild the snapshot will
  314. # include any changes made before the plot was claimed.
  315. enabled: 'true'
  316. speed: 1s
  317. # These block types will NOT be regenerated
  318. block_ignore: GOLD_ORE,LAPIS_ORE,LAPIS_BLOCK,GOLD_BLOCK,IRON_BLOCK,MOSSY_COBBLESTONE,TORCH,MOB_SPAWNER,DIAMOND_ORE,DIAMOND_BLOCK,SIGN_POST,WALL_SIGN,GLOWSTONE
  319.  
  320. wild_revert_on_mob_explosion:
  321. # Enabling this will slowly regenerate holes created in the
  322. # wilderness by monsters exploding.
  323. enabled: 'true'
  324. entities: Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,LargeFireball,TNTPrimed,ExplosiveMinecart
  325. delay: 20s
  326.  
  327.  
  328. ############################################################
  329. # +------------------------------------------------------+ #
  330. # | Global town settings | #
  331. # +------------------------------------------------------+ #
  332. ############################################################
  333.  
  334. global_town_settings:
  335. # can residents/Allies harm other residents when in an area with pvp enabled? Other than an Arena plot.
  336. friendly_fire: 'true'
  337. # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  338. health_regen:
  339. speed: 3s
  340. enable: 'true'
  341. # Allow towns to claim outposts (a townblock not connected to town).
  342. allow_outposts: 'true'
  343. # When set to true outposts can be limited by the townOutpostLimit value of the Town Levels and
  344. # the nationBonusOutpostLimit value in the Nation Levels. In this way nations can be made to be
  345. # the only way of receiving outposts, or as an incentive to receive more outposts. Towns which are
  346. # larger can have more outposts.
  347. # When activated, this setting will not cause towns who already have higher than their limit
  348. # to lose outposts. They will not be able to start new outposts until they have unclaimed outposts
  349. # to become under their limit. Likewise, towns that join a nation and receive bonus outposts will
  350. # be over their limit if they leave the nation.
  351. limit_outposts_using_town_and_nation_levels: 'false'
  352. # When limit_outposts_using_town_and_nation_levels is also true, towns which are over their outpost
  353. # limit will not be able to use their /town outpost teleports for the outpost #'s higher than their limit,
  354. # until they have dropped below their limit.
  355. # eg: If their limit is 3 then they cannot use /t outpost 4
  356. over_outpost_limits_stops_teleports: 'false'
  357. # Allow the use of /town spawn
  358. # Valid values are: true, false, war, peace
  359. # When war or peace is set, it is only possible to teleport to the town,
  360. # when there is a war or peace.
  361. allow_town_spawn: 'true'
  362. # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  363. # Valid values are: true, false, war, peace
  364. # When war or peace is set, it is only possible to teleport to the town,
  365. # when there is a war or peace.
  366. allow_town_spawn_travel: 'true'
  367. # Allow regular residents to use /town spawn [town] to other towns in your nation.
  368. # Valid values are: true, false, war, peace
  369. # When war or peace is set, it is only possible to teleport to the town,
  370. # when there is a war or peace.
  371. allow_town_spawn_travel_nation: 'true'
  372. # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
  373. # Valid values are: true, false, war, peace
  374. # When war or peace is set, it is only possible to teleport to the town,
  375. # when there is a war or peace.
  376. allow_town_spawn_travel_ally: 'true'
  377. # When set to true both nation and ally spawn travel will also require the target town to have their status set to public.
  378. is_nation_ally_spawning_requiring_public_status: 'false'
  379. # If non zero it delays any spawn request by x seconds.
  380. teleport_warmup_time: '0'
  381. # Respawn the player at his town spawn point when he/she dies
  382. town_respawn: 'false'
  383. # Town respawn only happens when the player dies in the same world as the town's spawn point.
  384. town_respawn_same_world_only: 'false'
  385. # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  386. # Allowed options: unclaimed,enemy,neutral
  387. prevent_town_spawn_in: enemy
  388. # Enables the [~Home] message.
  389. # If false it will make it harder for enemies to find the home block during a war
  390. show_town_notifications: 'true'
  391. # The required number of residents in a town to join a nation
  392. # If the number is 0, towns will not require a certain amount of residents to join a nation
  393. required_number_residents_join_nation: '0'
  394. # The required number of residents in a town to create a nation
  395. # If the number is 0, towns will not require a certain amount of residents to create a nation
  396. required_number_residents_create_nation: '0'
  397. # If set to true, if a nation is disbanded due to a lack of residents, the capital will be refunded the cost of nation creation.
  398. refund_disband_low_residents: 'true'
  399. # The maximum number of townblocks a town can be away from a nation capital,
  400. # Automatically precludes towns from one world joining a nation in another world.
  401. # If the number is 0, towns will not a proximity to a nation.
  402. nation_requires_proximity: '0.0'
  403. # List of blocks which can be modified on farm plots, as long as player is also allowed in the plot's '/plot perm' line.
  404. # Not included by default but some servers add GRASS_BLOCK,FARMLAND,DIRT to their list.
  405. farm_plot_allow_blocks: BAMBOO,BAMBOO_SAPLING,JUNGLE_LOG,JUNGLE_SAPLING,JUNGLE_LEAVES,OAK_LOG,OAK_SAPLING,OAK_LEAVES,BIRCH_LOG,BIRCH_SAPLING,BIRCH_LEAVES,ACACIA_LOG,ACACIA_SAPLING,ACACIA_LEAVES,DARK_OAK_LOG,DARK_OAK_SAPLING,DARK_OAK_LEAVES,SPRUCE_LOG,SPRUCE_SAPLING,SPRUCE_LEAVES,BEETROOTS,COCOA,CHORUS_PLANT,CHORUS_FLOWER,SWEET_BERRY_BUSH,KELP,SEAGRASS,TALL_SEAGRASS,GRASS,TALL_GRASS,FERN,LARGE_FERN,CARROTS,WHEAT,POTATOES,PUMPKIN,PUMPKIN_STEM,ATTACHED_PUMPKIN_STEM,NETHER_WART,COCOA,VINE,MELON,MELON_STEM,ATTACHED_MELON_STEM,SUGAR_CANE,CACTUS,ALLIUM,AZURE_BLUET,BLUE_ORCHID,CORNFLOWER,DANDELION,LILAC,LILY_OF_THE_VALLEY,ORANGE_TULIP,OXEYE_DAISY,PEONY,PINK_TULIP,POPPY,RED_TULIP,ROSE_BUSH,SUNFLOWER,WHITE_TULIP,WITHER_ROSE
  406. # List of animals which can be kiled on farm plots by town residents.
  407. farm_animals: PIG,COW,CHICKEN,SHEEP,MOOSHROOM
  408. # The maximum number of residents that can be joined to a town. Setting to 0 disables this feature.
  409. max_residents_per_town: '0'
  410. # If Towny should show players the townboard when they login
  411. display_board_onlogin: 'true'
  412. # If set to true, Towny will prevent a town from toggling PVP while an outsider is within the town's boundaries.
  413. # When active this feature can cause a bit of lag when the /t toggle pvp command is used, depending on how many players are online.
  414. outsiders_prevent_pvp_toggle: 'false'
  415. # If set to true, when a world has forcepvp set to true, homeblocks of towns will not be affected and have PVP set to off.
  416. homeblocks_prevent_forcepvp: 'false'
  417. # The amount of residents a town needs to claim an outpost,
  418. # Setting this value to 0, means a town can claim outposts no matter how many residents
  419. minimum_amount_of_residents_in_town_for_outpost: '0'
  420. # If People should keep their inventories on death in a town
  421. # Is not guaranteed to work with other keep inventory plugins!
  422. keep_inventory_on_death_in_town: 'false'
  423. # If People should keep their experience on death in a town
  424. # Is not guaranteed to work with other keep experience plugins!
  425. keep_experience_on_death_in_town: 'false'
  426. # Maximum amount that a town can set their plot, embassy, shop, etc plots' prices to.
  427. # Setting this higher can be dangerous if you use Towny in a mysql database. Large numbers can become shortened to scientific notation.
  428. maximum_plot_price_cost: '1000000.0'
  429.  
  430.  
  431. ############################################################
  432. # +------------------------------------------------------+ #
  433. # | Global nation settings | #
  434. # +------------------------------------------------------+ #
  435. ############################################################
  436.  
  437. global_nation_settings:
  438.  
  439. # Nation Zones are a special type of wilderness surrounding Capitals of Nations or Nation Capitals and their Towns.
  440. # When it is enabled players who are members of the nation can use the wilderness surrounding the town like normal.
  441. # Players who are not part of that nation will find themselves unable to break/build/switch/itemuse in this part of the wilderness.
  442. # The amount of townblocks used for the zone is determined by the size of the nation and configured in the nation levels.
  443. # Because these zones are still wilderness anyone can claim these townblocks.
  444. # It is recommended that whatever size you choose, these numbers should be less than the min_plot_distance_from_town_plot otherwise
  445. # someone might not be able to build/destroy in the wilderness outside their town.
  446. nationzone:
  447.  
  448. # Nation zone feature is disabled by default. This is because it can cause a higher server load for servers with a large player count.
  449. enable: 'false'
  450.  
  451. # When set to true, only the capital town of a nation will be surrounded by a nation zone type of wilderness.
  452. only_capitals: 'true'
  453.  
  454. # Amount of buffer added to nation zone width surrounding capitals only. Creates a larger buffer around nation capitals.
  455. capital_bonus_size: '0'
  456.  
  457. # When set to true, nation zones are disabled during the the Towny war types.
  458. war_disables: 'true'
  459. # If Towny should show players the nationboard when they login.
  460. display_board_onlogin: 'true'
  461. # If enabled, only allow the nation spawn to be set in the capital city.
  462. capital_spawn: 'true'
  463. # Allow the use of /nation spawn
  464. # Valid values are: true, false, war, peace
  465. # When war or peace is set, it is only possible to teleport to the nation,
  466. # when there is a war or peace.
  467. allow_nation_spawn: 'true'
  468. # Allow regular residents to use /nation spawn [nation] (TP to other nations if they are public).
  469. # Valid values are: true, false, war, peace
  470. # When war or peace is set, it is only possible to teleport to the nation,
  471. # when there is a war or peace.
  472. allow_nation_spawn_travel: 'true'
  473. # Allow regular residents to use /nation spawn [nation] to other nations allied with your nation.
  474. # Valid values are: true, false, war, peace
  475. # When war or peace is set, it is only possible to teleport to the nations,
  476. # when there is a war or peace.
  477. allow_nation_spawn_travel_ally: 'true'
  478. # If higher than 0, it will limit how many towns can be joined into a nation.
  479. # Does not affect existing nations that are already over the limit.
  480. max_towns_per_nation: '0'
  481. default:
  482. # If set to true, any newly made nation will have their spawn set to public.
  483. public: 'false'
  484.  
  485.  
  486. ############################################################
  487. # +------------------------------------------------------+ #
  488. # | Plugin interfacing | #
  489. # +------------------------------------------------------+ #
  490. ############################################################
  491.  
  492. plugin:
  493.  
  494. # Valid load and save types are: flatfile, mysql, h2.
  495. database:
  496. database_load: flatfile
  497. database_save: flatfile
  498.  
  499. # SQL database connection details (IF set to use SQL).
  500. sql:
  501. hostname: localhost
  502. port: '3306'
  503. dbname: towny
  504. table_prefix: towny_
  505. username: root
  506. password: ''
  507. ssl: 'false'
  508.  
  509. # Flatfile backup settings.
  510. daily_backups: 'true'
  511. backups_are_deleted_after: 90d
  512.  
  513. # Valid entries are: zip, none.
  514. flatfile_backup: zip
  515.  
  516. interfacing:
  517.  
  518. tekkit:
  519. # Add any fake players for client/server mods (aka Tekkit) here
  520. fake_residents: '[IndustrialCraft],[BuildCraft],[Redpower],[Forestry],[Turtle]'
  521.  
  522. # Enable using_essentials if you are using cooldowns in essentials for teleports.
  523. using_essentials: 'false'
  524.  
  525. # This enables/disables all the economy functions of Towny.
  526. # This will first attempt to use Vault or Reserve to bridge your economy plugin with Towny.
  527. # If Reserve/Vault is not present it will attempt to find a supported economy plugin.
  528. # If neither Vault/Reserve or supported economy are present it will not be possible to create towns or do any operations that require money.
  529. using_economy: 'true'
  530.  
  531. day_timer:
  532. # The number of hours in each "day".
  533. # You can configure for 10 hour days. Default is 24 hours.
  534. day_interval: 1d
  535. # The time each "day", when taxes will be collected.
  536. # MUST be less than day_interval. Default is 12h (midday).
  537. new_day_time: 12h
  538.  
  539. # Lots of messages to tell you what's going on in the server with time taken for events.
  540. debug_mode: 'false'
  541.  
  542. # Info tool for server admins to use to query in game blocks and entities.
  543. info_tool: BRICK
  544.  
  545. # Spams the player named in dev_name with all messages related to towny.
  546. dev_mode:
  547. enable: 'false'
  548. dev_name: ElgarL
  549.  
  550. # Record all messages to the towny.log
  551. logging: 'true'
  552. # If true this will cause the log to be wiped at every startup.
  553. reset_log_on_boot: 'true'
  554.  
  555.  
  556. ############################################################
  557. # +------------------------------------------------------+ #
  558. # | Filters colour and chat | #
  559. # +------------------------------------------------------+ #
  560. ############################################################
  561.  
  562. filters_colour_chat:
  563. # This is the name given to any NPC assigned mayor.
  564. npc_prefix: NPC
  565. # Regex fields used in validating inputs.
  566. regex:
  567. name_filter_regex: '[ /]'
  568. name_check_regex: ^[a-zA-Z0-9._\[\]-]*$
  569. string_check_regex: ^[a-zA-Z0-9\s._\[\]\#\?\!\@\$\%\^\&\*\-\,\*\(\)\{\}]*$
  570. name_remove_regex: '[^a-zA-Z0-9._\[\]-]'
  571.  
  572. modify_chat:
  573. # Maximum length of Town and Nation names.
  574. max_name_length: '20'
  575. # Maximum length of titles and surnames.
  576. max_title_length: '10'
  577.  
  578.  
  579. ############################################################
  580. # +------------------------------------------------------+ #
  581. # | block/item/mob protection | #
  582. # +------------------------------------------------------+ #
  583. ############################################################
  584.  
  585. protection:
  586.  
  587. # Items that can be blocked within towns via town/plot flags
  588. # 259 - flint and steel
  589. # 325 - bucket
  590. # 326 - water bucket
  591. # 327 - lava bucket
  592. # 351 - bone/bonemeal
  593. # 359 - shears
  594. # 368 - ender pearl
  595. # 374 - glass bottle
  596. # 385 - fire charge
  597. item_use_ids: BONE_MEAL,FLINT_AND_STEEL,BUCKET,WATER_BUCKET,LAVA_BUCKET,MINECART,STORAGE_MINECART,INK_SACK,SHEARS,ENDER_PEARL,GLASS_BOTTLE,FIREBALL,ARMOR_STAND,SKULL_ITEM,BIRCH_BOAT,ACACIA_BOAT,DARK_OAK_BOAT,JUNGLE_BOAT,OAK_BOAT,SPRUCE_BOAT,END_CRYSTAL,POWERED_MINECART,COMMAND_MINECART,EXPLOSIVE_MINECART,HOPPER_MINECART,CHORUS_FRUIT
  598.  
  599. # Items which can be blocked or enabled via town/plot flags
  600. # 25 - noteblock
  601. # 54 - chest ...etc
  602. switch_ids: JUKEBOX,NOTE_BLOCK,BEACON,CHEST,TRAPPED_CHEST,FURNACE,DISPENSER,HOPPER,DROPPER,LEVER,COMPARATOR,REPEATER,STONE_PRESSURE_PLATE,ACACIA_PRESSURE_PLATE,BIRCH_PRESSURE_PLATE,DARK_OAK_PRESSURE_PLATE,JUNGLE_PRESSURE_PLATE,OAK_PRESSURE_PLATE,SPRUCE_PRESSURE_PLATE,HEAVY_WEIGHTED_PRESSURE_PLATE,LIGHT_WEIGHTED_PRESSURE_PLATE,STONE_BUTTON,ACACIA_BUTTON,BIRCH_BUTTON,DARK_OAK_BUTTON,JUNGLE_BUTTON,OAK_BUTTON,SPRUCE_BUTTON,ACACIA_DOOR,BIRCH_DOOR,DARK_OAK_DOOR,JUNGLE_DOOR,OAK_DOOR,SPRUCE_DOOR,ACACIA_FENCE_GATE,BIRCH_FENCE_GATE,DARK_OAK_FENCE_GATE,OAK_FENCE_GATE,JUNGLE_FENCE_GATE,SPRUCE_FENCE_GATE,ACACIA_TRAPDOOR,BIRCH_TRAPDOOR,DARK_OAK_TRAPDOOR,JUNGLE_TRAPDOOR,OAK_TRAPDOOR,SPRUCE_TRAPDOOR,MINECART,COMMAND_BLOCK_MINECART,CHEST_MINECART,FURNACE_MINECART,HOPPER_MINECART,TNT_MINECART,SHULKER_BOX,WHITE_SHULKER_BOX,ORANGE_SHULKER_BOX,MAGENTA_SHULKER_BOX,LIGHT_BLUE_SHULKER_BOX,YELLOW_SHULKER_BOX,LIME_SHULKER_BOX,PINK_SHULKER_BOX,GRAY_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX,CARROT_STICK,DAYLIGHT_DETECTOR,STONECUTTER,SMITHING_TABLE,FLETCHING_TABLE,SMOKER,LOOM,LECTERN,GRINDSTONE,COMPOSTER,CARTOGRAPHY_TABLE,BLAST_FURNACE,BELL,BARREL,DRAGON_EGG,ITEM_FRAME,POTTED_ACACIA_SAPLING,POTTED_ALLIUM,POTTED_AZURE_BLUET,POTTED_BAMBOO,POTTED_BIRCH_SAPLING,POTTED_BLUE_ORCHID,POTTED_BROWN_MUSHROOM,POTTED_CACTUS,POTTED_CORNFLOWER,POTTED_DANDELION,POTTED_DARK_OAK_SAPLING,POTTED_DEAD_BUSH,POTTED_FERN,POTTED_JUNGLE_SAPLING,POTTED_LILY_OF_THE_VALLEY,POTTED_OAK_SAPLING,POTTED_ORANGE_TULIP,POTTED_OXEYE_DAISY,POTTED_PINK_TULIP,POTTED_POPPY,POTTED_RED_MUSHROOM,POTTED_RED_TULIP,POTTED_SPRUCE_SAPLING,POTTED_WHITE_TULIP,POTTED_WITHER_ROSE,BARREL
  603.  
  604. # permitted entities https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/LivingEntity.html
  605. # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  606. # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie, Shulker
  607. # Husk, Stray, SkeletonHorse, ZombieHorse, Vex, Vindicator, Evoker, Endermite, PolarBear
  608.  
  609. # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  610. town_mob_removal_entities: Monster,Flying,Slime,Shulker,SkeletonHorse,ZombieHorse
  611.  
  612. # Prevent the spawning of villager babies in towns.
  613. town_prevent_villager_breeding: 'false'
  614. # Disable creatures triggering stone pressure plates
  615. disable_creature_pressureplate_stone: 'true'
  616.  
  617. # Globally remove living entities in all worlds that have their flag set.
  618. world_mob_removal_entities: Monster,Flying,Slime,Shulker,SkeletonHorse,ZombieHorse
  619.  
  620. # Prevent the spawning of villager babies in the world.
  621. world_prevent_villager_breeding: 'false'
  622.  
  623. # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  624. # Lower values will check all entities more often at the risk of heavier burden and resource use.
  625. # NEVER set below 1.
  626. mob_removal_speed: 5s
  627.  
  628. # permitted entities https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/package-summary.html
  629. # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  630. # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  631.  
  632. # Protect living entities within a town's boundaries from being killed by players.
  633. mob_types: Animals,WaterMob,NPC,Snowman,ArmorStand
  634.  
  635. # permitted Potion Types https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionType.html
  636. # ABSORPTION, BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, HARM, HEAL, HEALTH_BOOST, HUNGER,
  637. # INCREASE_DAMAGE, INVISIBILITY, JUMP, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW , SLOW_DIGGING,
  638. # SPEED, WATER_BREATHING, WEAKNESS, WITHER.
  639.  
  640. # When preventing PVP prevent the use of these potions.
  641. potion_types: BLINDNESS,CONFUSION,HARM,HUNGER,POISON,SLOW,SLOW_DIGGING,WEAKNESS,WITHER
  642.  
  643.  
  644. ############################################################
  645. # +------------------------------------------------------+ #
  646. # | Wilderness settings | #
  647. # +------------------------------------------------------+ #
  648. ############################################################
  649.  
  650. # These Settings defaults only. They are copied to each worlds data files upon first detection
  651. # To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
  652.  
  653. unclaimed:
  654. unclaimed_zone_build: 'false'
  655. unclaimed_zone_destroy: 'false'
  656. unclaimed_zone_item_use: 'false'
  657. unclaimed_zone_ignore: SAPLING,GOLD_ORE,IRON_ORE,COAL_ORE,LOG,LEAVES,LAPIS_ORE,LONG_GRASS,YELLOW_FLOWER,RED_ROSE,BROWN_MUSHROOM,RED_MUSHROOM,TORCH,DIAMOND_ORE,LADDER,RAILS,REDSTONE_ORE,GLOWING_REDSTONE_ORE,CACTUS,CLAY,SUGAR_CANE_BLOCK,PUMPKIN,GLOWSTONE,LOG_2,VINE,NETHER_WARTS,COCOA
  658. unclaimed_zone_switch: 'false'
  659.  
  660.  
  661. ############################################################
  662. # +------------------------------------------------------+ #
  663. # | Town Notifications | #
  664. # +------------------------------------------------------+ #
  665. ############################################################
  666.  
  667. # This is the format for the notifications sent as players move between plots.
  668. # Empty a particular format for it to be ignored.
  669.  
  670. # Example:
  671. # [notification.format]
  672. # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  673. # ... [notification.plot.format]
  674. # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  675. # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  676.  
  677. notification:
  678. format: '&6 ~ %s'
  679. splitter: '&7 - '
  680. area_wilderness: '&2%s'
  681. area_wilderness_pvp: '%s'
  682. area_town: '&6%s'
  683. area_town_pvp: '%s'
  684. owner: '&a%s'
  685. no_owner: '&a%s'
  686. plot:
  687. splitter: ' '
  688. format: '%s'
  689. homeblock: '&b[Home]'
  690. outpostblock: '&b[Outpost]'
  691. forsale: '&e[For Sale: %s]'
  692. type: '&6[%s]'
  693. # If set to true MC's Title and Subtitle feature will be used when crossing into a town.
  694. # Could be seen as intrusive/distracting, so false by default.
  695. using_titles: 'false'
  696.  
  697. # Requires the above using_titles to be set to true.
  698. # Title and Subtitle shown when entering a town or the wilderness. By default 1st line is blank, the 2nd line shows {townname} or {wilderness}.
  699. # You may use colour codes &f, &c and so on.
  700. titles:
  701. # Entering Town Upper Title Line
  702. town_title: ''
  703. # Entering Town Lower Subtitle line.
  704. town_subtitle: '&b{townname}'
  705. # Entering Wilderness Upper Title Line
  706. wilderness_title: ''
  707. # Entering Wilderness Lower Subtitle line.
  708. wilderness_subtitle: '&2{wilderness}'
  709. # If the notification.owner option should show name or {title} name.
  710. # Titles are the ones granted by nation kings.
  711. owner_shows_nation_title: 'false'
  712.  
  713.  
  714.  
  715. ############################################################
  716. # +------------------------------------------------------+ #
  717. # | Default Town/Plot flags | #
  718. # +------------------------------------------------------+ #
  719. ############################################################
  720.  
  721.  
  722. default_perm_flags:
  723.  
  724. # Default permission flags for residents plots within a town
  725. #
  726. # Can allies/friends/outsiders perform certain actions in the town
  727. #
  728. # build - place blocks and other items
  729. # destroy - break blocks and other items
  730. # itemuse - use items such as furnaces (as defined in item_use_ids)
  731. # switch - trigger or activate switches (as defined in switch_ids)
  732. resident:
  733. friend:
  734. build: 'true'
  735. destroy: 'true'
  736. item_use: 'true'
  737. switch: 'true'
  738. ally:
  739. build: 'false'
  740. destroy: 'false'
  741. item_use: 'false'
  742. switch: 'false'
  743. outsider:
  744. build: 'false'
  745. destroy: 'false'
  746. item_use: 'false'
  747. switch: 'false'
  748.  
  749. # Default permission flags for towns
  750. # These are copied into the town data file at creation
  751. #
  752. # Can allies/outsiders/residents perform certain actions in the town
  753. #
  754. # build - place blocks and other items
  755. # destroy - break blocks and other items
  756. # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  757. # switch - trigger or activate switches (as defined in switch_ids)
  758. town:
  759. default:
  760. pvp: 'false'
  761. fire: 'false'
  762. explosion: 'false'
  763. mobs: 'false'
  764. resident:
  765. build: 'false'
  766. destroy: 'false'
  767. item_use: 'false'
  768. switch: 'false'
  769. ally:
  770. build: 'false'
  771. destroy: 'false'
  772. item_use: 'false'
  773. switch: 'false'
  774. outsider:
  775. build: 'false'
  776. destroy: 'false'
  777. item_use: 'false'
  778. switch: 'false'
  779.  
  780.  
  781. ############################################################
  782. # +------------------------------------------------------+ #
  783. # | Towny Invite System | #
  784. # +------------------------------------------------------+ #
  785. ############################################################
  786.  
  787. invite_system:
  788. # Command used to accept towny invites)
  789. #e.g Player join town invite.
  790. accept_command: accept
  791. # Command used to deny towny invites
  792. #e.g Player join town invite.
  793. deny_command: deny
  794. # Command used to confirm some towny actions/tasks)
  795. #e.g Purging database or removing a large amount of townblocks
  796. confirm_command: confirm
  797. # Command used to cancel some towny actions/tasks
  798. #e.g Purging database or removing a large amount of townblocks
  799. cancel_command: cancel
  800. # When set for more than 0m, the amount of time (in minutes) which must have passed between
  801. # a player's first log in and when they can be invited to a town.
  802. cooldowntime: 0m
  803. # You can increase these limits but it is not recommended. Invites/requests are not saved between server reloads/stops.
  804. maximum_invites_sent:
  805. # How many invites a town can send out to players, to join the town.
  806. town_toplayer: '35'
  807. # How many invites a nation can send out to towns, to join the nation.
  808. nation_totown: '35'
  809. # How many requests a nation can send out to other nations, to ally with the nation.
  810. # Only used when war.disallow_one_way_alliance is set to true.
  811. nation_tonation: '35'
  812. # You can increase these limits but it is not recommended. Invites/requests are not saved between server reloads/stops.
  813. maximum_invites_received:
  814. # How many invites can one player have from towns.
  815. player: '10'
  816. # How many invites can one town have from nations.
  817. town: '10'
  818. # How many requests can one nation have from other nations for an alliance.
  819. nation: '10'
  820.  
  821.  
  822. ############################################################
  823. # +------------------------------------------------------+ #
  824. # | Resident settings | #
  825. # +------------------------------------------------------+ #
  826. ############################################################
  827.  
  828. resident_settings:
  829. # player is flagged as inactive after 1 hour (default)
  830. inactive_after_time: 1h
  831. # if enabled old residents will be kicked and deleted from a town
  832. # after Two months (default) of not logging in
  833. delete_old_residents:
  834. enable: 'false'
  835. deleted_after_time: 60d
  836. delete_economy_account: 'true'
  837. # The name of the town a resident will automatically join when he first registers.
  838. default_town_name: ''
  839. # If true, players can only use beds in plots they personally own.
  840. deny_bed_use: 'false'
  841. # If true, players who join the server for the first time will cause the msg_registration message in the language files to be shown server-wide.
  842. is_showing_welcome_message: 'true'
  843.  
  844.  
  845. ############################################################
  846. # +------------------------------------------------------+ #
  847. # | Economy settings | #
  848. # +------------------------------------------------------+ #
  849. ############################################################
  850.  
  851. economy:
  852. # By default it is set to true.
  853. # Rarely set to false. Set to false if you get concurrent modification errors on timers for daily tax collections.
  854. use_async: 'true'
  855. # Prefix to apply to all town economy accounts.
  856. town_prefix: town-
  857. # Prefix to apply to all nation economy accounts.
  858. nation_prefix: nation-
  859. # The cost of renaming a town.
  860. town_rename_cost: '0'
  861. # The cost of renaming a nation.
  862. nation_rename_cost: '0'
  863.  
  864. spawn_travel:
  865. # Cost to use /town spawn
  866. price_town_spawn_travel: '0.0'
  867. # Cost to use '/town spawn [town]' to another town in your nation.
  868. price_town_nation_spawn_travel: '5.0'
  869. # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  870. price_town_ally_spawn_travel: '10.0'
  871. # Cost to use /town spawn [town]
  872. # This is paid to the town you goto.
  873. price_town_public_spawn_travel: '10.0'
  874. # When set to true, any cost paid by a player to use any variant of '/town spawn' will be paid to the town bank.
  875. # When false the amount will be paid to the server account whose name is set in the closed economy setting below..
  876. town_spawn_cost_paid_to_town: 'true'
  877.  
  878. # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  879. price_nation_neutrality: '100.0'
  880.  
  881. new_expand:
  882. # How much it costs to start a nation.
  883. price_new_nation: '50000.0'
  884. # How much it costs to start a town.
  885. price_new_town: '5000.0'
  886. # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  887. price_outpost: '500.0'
  888. # The price for a town to expand one townblock.
  889. price_claim_townblock: '25.0'
  890. # How much it costs a player to buy extra blocks.
  891. price_purchased_bonus_townblock: '25.0'
  892. # How much every extra bonus block costs more. Set to 1 to deactivate this. 1.2 means +20% to every bonus claim block cost.
  893. price_purchased_bonus_townblock_increase: '1.0'
  894.  
  895. death:
  896. # Either fixed or percentage.
  897. # For percentage 1.0 would be 100%. 0.01 would be 1%.
  898. price_death_type: fixed
  899. # A maximum amount paid out by a resident from their personal holdings for percentage deaths.
  900. # Set to 0 to have no cap.
  901. percentage_cap: '0.0'
  902. # If True, only charge death prices for pvp kills. Not monsters/environmental deaths.
  903. price_death_pvp_only: 'false'
  904.  
  905. price_death: '1.0'
  906.  
  907. price_death_town: '0.0'
  908.  
  909. price_death_nation: '0.0'
  910.  
  911. banks:
  912. # Maximum amount of money allowed in town bank
  913. # Use 0 for no limit
  914. town_bank_cap: '0.0'
  915. # Set to true to allow withdrawls from town banks
  916. town_allow_withdrawls: 'true'
  917. # Maximum amount of money allowed in nation bank
  918. # Use 0 for no limit
  919. nation_bank_cap: '0.0'
  920. # Set to true to allow withdrawls from nation banks
  921. nation_allow_withdrawls: 'true'
  922. # When set to true, players can only use their town withdraw/deposit commands while inside of their own town.
  923. # Likewise, nation banks can only be withdrawn/deposited to while in the capital city.
  924. disallow_bank_actions_outside_town: 'false'
  925. closed_economy:
  926. # The name of the account that all money that normally disappears goes into.
  927. server_account: towny-server
  928. # Turn on/off whether all transactions that normally don't have a second party are to be done with a certain account.
  929. # Eg: The money taken during Daily Taxes is just removed. With this on, the amount taken would be funneled into an account.
  930. # This also applies when a player collects money, like when the player is refunded money when a delayed teleport fails.
  931. enabled: 'false'
  932.  
  933. daily_taxes:
  934. # Enables taxes to be collected daily by town/nation
  935. # If a town can't pay it's tax then it is kicked from the nation.
  936. # if a resident can't pay his plot tax he loses his plot.
  937. # if a resident can't pay his town tax then he is kicked from the town.
  938. # if a town or nation fails to pay it's upkeep it is deleted.
  939. enabled: 'true'
  940. # Maximum tax amount allowed when using flat taxes
  941. max_tax_amount: '1000.0'
  942. # maximum tax percentage allowed when taxing by percentages
  943. max_tax_percent: '25'
  944. # The server's daily charge on each nation. If a nation fails to pay this upkeep
  945. # all of it's member town are kicked and the Nation is removed.
  946. price_nation_upkeep: '100.0'
  947. # The server's daily charge on each town. If a town fails to pay this upkeep
  948. # all of it's residents are kicked and the town is removed.
  949. price_town_upkeep: '10.0'
  950. # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  951. # calculated by (number of claimed plots X price_town_upkeep).
  952. town_plotbased_upkeep: 'false'
  953. # If set to true, the plot-based-upkeep system will be modified by the Town Levels' upkeep modifiers.
  954. town_plotbased_upkeep_affected_by_town_level_modifier: 'false'
  955. # If enabled and you set a negative upkeep for the town
  956. # any funds the town gains via upkeep at a new day
  957. # will be shared out between the plot owners.
  958. use_plot_payments: 'false'
  959.  
  960.  
  961. ############################################################
  962. # +------------------------------------------------------+ #
  963. # | Jail Plot settings | #
  964. # +------------------------------------------------------+ #
  965. ############################################################
  966.  
  967. jail:
  968. #If true attacking players who die on enemy-town land will be placed into the defending town's jail if it exists.
  969. #Requires town_respawn to be true in order to work.
  970. is_jailing_attacking_enemies: 'false'
  971. #If true attacking players who are considered an outlaw, that are killed inside town land will be placed into the defending town's jail if it exists.
  972. #Requires town_respawn to be true in order to work.
  973. is_jailing_attacking_outlaws: 'false'
  974. #If true jailed players can use Ender Pearls but are still barred from using other methods of teleporting.
  975. jail_allows_ender_pearls: 'false'
  976. #If false jailed players can use /town leave, and escape a jail.
  977. jail_denies_town_leave: 'false'
  978.  
  979. bail:
  980. #If true players can pay a bail amount to be unjailed.
  981. is_allowing_bail: 'false'
  982. #Amount that bail costs.
  983. bail_amount: '10'
  984.  
  985.  
  986. ############################################################
  987. # +------------------------------------------------------+ #
  988. # | Bank Plot settings | #
  989. # +------------------------------------------------------+ #
  990. ############################################################
  991. # Bank plots may be used by other economy plugins using the Towny API.
  992.  
  993. bank:
  994. # If true players will only be able to use /t deposit, /t withdraw, /n deposit & /n withdraw while inside bank plots belonging to the town or nation capital respectively.
  995. # Home plots will also allow deposit and withdraw commands.
  996. is_banking_limited_to_bank_plots: 'false'
  997.  
  998.  
  999. ############################################################
  1000. # +------------------------------------------------------+ #
  1001. # | War settings | #
  1002. # +------------------------------------------------------+ #
  1003. ############################################################
  1004.  
  1005. war:
  1006. #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  1007. nation_can_be_neutral: 'true'
  1008. #By setting this to true, nations will receive a prompt for alliances and alliances will show on both nations.
  1009. disallow_one_way_alliance: 'false'
  1010.  
  1011.  
  1012. ############################################################
  1013. # +------------------------------------------------------+ #
  1014. # | Economy Transfers During War settings | #
  1015. # +------------------------------------------------------+ #
  1016. ############################################################
  1017.  
  1018. economy:
  1019. enemy:
  1020. # Amount charged to place a warflag (payed to server).
  1021. place_flag: '10'
  1022. # Amount payed from the flagbearer to the defender after defending the area.
  1023. defended_attack: '10'
  1024. # Defending town pays attaking flagbearer. If a negative (attacker pays defending town),
  1025. # and the attacker can't pay, the attack is canceled.
  1026. townblock_won: '10'
  1027. # Same as townblock_won but for the special case of winning the homeblock.
  1028. homeblock_won: '100'
  1029.  
  1030.  
  1031. ############################################################
  1032. # +------------------------------------------------------+ #
  1033. # | War Event settings | #
  1034. # +------------------------------------------------------+ #
  1035. ############################################################
  1036.  
  1037. # This is started with /townyadmnin toggle war
  1038.  
  1039. # In peace time War spoils are accumulated from towns and nations being
  1040. # deleted with any money left in the bank.
  1041. #
  1042. # These funds are increased during a war event upon a player death.
  1043. # An additional bonus to the war chest is set in base_spoils.
  1044. #
  1045. # During the event a town losing a townblock pays the wartime_town_block_loss_price to the attacking town.
  1046. # The war is won when the only nations left in the battle are allies, or only a single nation.
  1047. #
  1048. # The winning nations share half of the war spoils.
  1049. # The remaining half is paid to the town which took the most town blocks, and lost the least.
  1050.  
  1051. event:
  1052. warning_delay: '30'
  1053. #If false all towns not in nations can be attacked during a war event.
  1054. towns_are_neutral: 'true'
  1055. enemy:
  1056. # If true, enemy's can only attack the edge plots of a town in war.
  1057. only_attack_borders: 'true'
  1058. plots:
  1059. # If true, nation members and allies can regen health on plots during war.
  1060. healable: 'true'
  1061. # If true, fireworks will be launched at plots being attacked or healed in war every war tick.
  1062. firework_on_attacked: 'true'
  1063.  
  1064. # If true and the monarch/king dies the nation is removed from the war.
  1065. remove_on_monarch_death: 'false'
  1066. # If enabled players will be able to break/place any blocks in enemy plots during a war.
  1067. # This setting SHOULD NOT BE USED unless you want the most chaotic war possible.
  1068. # The editable_materials list in the Warzone Block Permission section should be used instead.
  1069. allow_block_griefing: 'false'
  1070.  
  1071. # A townblock takes damage every 5 seconds that an enemy is stood in it.
  1072. block_hp:
  1073. town_block_hp: '60'
  1074. home_block_hp: '120'
  1075.  
  1076. eco:
  1077. # This amount is new money injected into the economy with a war event.
  1078. base_spoils: '100.0'
  1079. # This amount is taken from the losing town for each plot lost.
  1080. wartime_town_block_loss_price: '100.0'
  1081. # This amount is taken from the player if they die during the event
  1082. price_death_wartime: '200.0'
  1083. # If set to true when a town drops an enemy townblock's HP to 0, the attacking town gains a bonus townblock,
  1084. # and the losing town gains a negative (-1) bonus townblock.
  1085. costs_townblocks: 'false'
  1086.  
  1087. points:
  1088. points_townblock: '1'
  1089. points_town: '10'
  1090. points_nation: '100'
  1091. points_kill: '1'
  1092.  
  1093. # The minimum height at which a player must stand to count as an attacker.
  1094. min_height: '60'
  1095.  
  1096. ############################################################
  1097. # +------------------------------------------------------+ #
  1098. # | Flag war settings | #
  1099. # | | #
  1100. # | Separate from Event War | #
  1101. # | Unsupported / Buggy | #
  1102. # +------------------------------------------------------+ #
  1103. ############################################################
  1104.  
  1105. enemy:
  1106. # If false, players won't be able to place war flags, effectively disabling warzones.
  1107. allow_attacks: 'false'
  1108. # If true, enemy's can only attack the edge plots of a town with war flags.
  1109. only_attack_borders: 'true'
  1110. # This many people must be online in target town in order to place a war flag in their domain.
  1111. min_players_online_in_town: '2'
  1112. # This many people must be online in target nation in order to place a war flag in their domain.
  1113. min_players_online_in_nation: '3'
  1114. max_active_flags_per_player: '1'
  1115. flag:
  1116. waiting_time: 1m
  1117. # This is the block a player must place to trigger the attack event.
  1118. base_block: fence
  1119. # This is the block a player must place to trigger the attack event.
  1120. light_block: torch
  1121. beacon:
  1122. # Must be smaller than half the size of town_block_size.
  1123. radius: '3'
  1124. # The range the beacon will be drawn in. It's flexibility is in case the flag is close to the height limit.
  1125. # If a flag is too close to the height limit (lower than the minimum), it will not be drawn.
  1126. height_above_flag:
  1127. min: '3'
  1128. max: '64'
  1129. draw: 'true'
  1130. wireframe_block: glowstone
  1131. ############################################################
  1132. # +------------------------------------------------------+ #
  1133. # | Warzone Block Permissions | #
  1134. # | | #
  1135. # | Used in Flag & Event Wars | #
  1136. # +------------------------------------------------------+ #
  1137. ############################################################
  1138.  
  1139. warzone:
  1140. # List of materaials that can be modified in a warzone.
  1141. # '*' = Allow all materials.
  1142. # Prepend a '-' in front of a material to remove it. Used in conjunction with when you use '*'.
  1143. # Eg: '*,-chest,-furnace'
  1144. editable_materials: tnt,fence,ladder,wood_door,iron_door,fire
  1145. item_use: 'true'
  1146. switch: 'true'
  1147. # Add '-fire' to editable materials for complete protection when setting is false. This prevents fire to be created and spread.
  1148. fire: 'true'
  1149. explosions: 'true'
  1150. explosions_break_blocks: 'true'
  1151. # Only under affect when explosions_break_blocks is true.
  1152. explosions_regen_blocks: 'true'
  1153. # A list of blocks that will not be exploded, mostly because they won't regenerate properly.
  1154. # These blocks will also protect the block below them, so that blocks like doors do not dupe themselves.
  1155. # Only under affect when explosions_break_blocks is true.
  1156. explosions_ignore_list: WOODEN_DOOR,ACACIA_DOOR,DARK_OAK_DOOR,JUNGLE_DOOR,BIRCH_DOOR,SPRUCE_DOOR,IRON_DOOR,CHEST,TRAPPED_CHEST,FURNACE,BURNING_FURNACE,DROPPER,DISPENSER,HOPPER,ENDER_CHEST,WHITE_SHULKER_BOX,ORANGE_SHULKER_BOX,MAGENTA_SHULKER_BOX,LIGHT_BLUE_SHULKER_BOX,YELLOW_SHULKER_BOX,LIME_SHULKER_BOX,PINK_SHULKER_BOX,GRAY_SHULKER_BOX,SILVER_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX,NOTE_BLOCK,LEVER,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,JUKEBOX,DIODE_BLOCK_OFF,DIODE_BLOCK_ON,FENCE_GATE,GOLD_PLATE,IRON_PLATE,REDSTONE_COMPARATOR_OFF,REDSTONE_COMPARATOR_ON,BEACON
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement