Advertisement
swagreaper123

Towny Config

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