Advertisement
Guest User

Untitled

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