Advertisement
Guest User

Config.yml towny

a guest
Apr 16th, 2019
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.97 KB | None | 0 0
  1.  
  2. version:
  3. # This is the current version of Towny. Please do not edit.
  4. version: 0.92.0.0
  5. # This is for showing the changelog on updates. Please do not edit.
  6. last_run_version: 0.92.0.0
  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: spanish.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: 1.0
  106. - numResidents: 2
  107. namePostfix: ' (Hamlet)'
  108. mayorPrefix: 'Chief '
  109. namePrefix: ''
  110. mayorPostfix: ''
  111. townBlockLimit: 32
  112. upkeepModifier: 1.0
  113. - numResidents: 6
  114. namePostfix: ' (Village)'
  115. mayorPrefix: 'Baron Von '
  116. namePrefix: ''
  117. mayorPostfix: ''
  118. townBlockLimit: 96
  119. upkeepModifier: 1.0
  120. - numResidents: 10
  121. namePostfix: ' (Town)'
  122. mayorPrefix: 'Viscount '
  123. namePrefix: ''
  124. mayorPostfix: ''
  125. townBlockLimit: 160
  126. upkeepModifier: 1.0
  127. - numResidents: 14
  128. namePostfix: ' (Large Town)'
  129. mayorPrefix: 'Count Von '
  130. namePrefix: ''
  131. mayorPostfix: ''
  132. townBlockLimit: 224
  133. upkeepModifier: 1.0
  134. - numResidents: 20
  135. namePostfix: ' (City)'
  136. mayorPrefix: 'Earl '
  137. namePrefix: ''
  138. mayorPostfix: ''
  139. townBlockLimit: 320
  140. upkeepModifier: 1.0
  141. - numResidents: 24
  142. namePostfix: ' (Large City)'
  143. mayorPrefix: 'Duke '
  144. namePrefix: ''
  145. mayorPostfix: ''
  146. townBlockLimit: 384
  147. upkeepModifier: 1.0
  148. - numResidents: 28
  149. namePostfix: ' (Metropolis)'
  150. mayorPrefix: 'Lord '
  151. namePrefix: ''
  152. mayorPostfix: ''
  153. townBlockLimit: 448
  154. upkeepModifier: 1.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: 1.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: 1.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: 1.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: 1.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: 1.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: '1000'
  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: '10000'
  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: '8'
  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. allow_town_spawn: 'true'
  382. # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  383. allow_town_spawn_travel: 'true'
  384. # Allow regular residents to use /town spawn [town] to other towns in your nation.
  385. allow_town_spawn_travel_nation: 'true'
  386. # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
  387. allow_town_spawn_travel_ally: 'true'
  388. # If non zero it delays any spawn request by x seconds.
  389. teleport_warmup_time: '0'
  390. # Respawn the player at his town spawn point when he/she dies
  391. town_respawn: 'false'
  392. # Town respawn only happens when the player dies in the same world as the town's spawn point.
  393. town_respawn_same_world_only: 'false'
  394. # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  395. # Allowed options: unclaimed,enemy,neutral
  396. prevent_town_spawn_in: enemy
  397. # Enables the [~Home] message.
  398. # If false it will make it harder for enemies to find the home block during a war
  399. show_town_notifications: 'true'
  400. # The required number of residents in a town to join a nation
  401. # If the number is 0, towns will not require a certain amount of residents to join a nation
  402. required_number_residents_join_nation: '0'
  403. # The required number of residents in a town to create a nation
  404. # If the number is 0, towns will not require a certain amount of residents to create a nation
  405. required_number_residents_create_nation: '0'
  406. # 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.
  407. refund_disband_low_residents: 'true'
  408. # The maximum number of townblocks a town can be away from a nation capital,
  409. # Automatically precludes towns from one world joining a nation in another world.
  410. # If the number is 0, towns will not a proximity to a nation.
  411. nation_requires_proximity: '0.0'
  412. # List of blocks which can be modified on farm plots, as long as player is also allowed in the plot's '/plot perm' line.
  413. 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,CHORUS_PLANT,CHORUS_FLOWER
  414. # List of animals which can be kiled on farm plots by town residents.
  415. farm_animals: PIG,COW,CHICKEN,SHEEP,MOOSHROOM
  416. # The maximum number of residents that can be joined to a town. Setting to 0 disables this feature.
  417. max_residents_per_town: '0'
  418. # If Towny should show players the townboard when they login
  419. display_board_onlogin: 'true'
  420. # If set to true, Towny will prevent a town from toggling PVP while an outsider is within the town's boundaries.
  421. # 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.
  422. outsiders_prevent_pvp_toggle: 'false'
  423. # The amount of residents a town needs to claim an outpost,
  424. # Setting this value to 0, means a town can claim outposts no matter how many residents
  425. minimum_amount_of_residents_in_town_for_outpost: '0'
  426.  
  427.  
  428. ############################################################
  429. # +------------------------------------------------------+ #
  430. # | Plugin interfacing | #
  431. # +------------------------------------------------------+ #
  432. ############################################################
  433.  
  434. plugin:
  435.  
  436. # Valid load and save types are: flatfile, mysql, sqlite, h2.
  437. database:
  438. database_load: flatfile
  439. database_save: flatfile
  440.  
  441. # SQL database connection details (IF set to use SQL).
  442. sql:
  443. hostname: localhost
  444. port: '3306'
  445. dbname: towny
  446. table_prefix: towny_
  447. username: root
  448. password: ''
  449. ssl: 'false'
  450.  
  451. # Flatfile backup settings.
  452. daily_backups: 'true'
  453. backups_are_deleted_after: 90d
  454.  
  455. # Valid entries are: zip, none.
  456. flatfile_backup: zip
  457.  
  458. interfacing:
  459.  
  460. tekkit:
  461. # Add any fake players for client/server mods (aka Tekkit) here
  462. fake_residents: '[IndustrialCraft],[BuildCraft],[Redpower],[Forestry],[Turtle]'
  463.  
  464. # Enable using_essentials if you are using cooldowns in essentials for teleports.
  465. using_essentials: 'false'
  466.  
  467. # This will attempt to use Register (if present)
  468. # Then it will attempt to access iConomy 5.01 directly
  469. # Enable if you have either iConomy 5.01, or Register.jar to
  470. # support: iConomy5, iConomy6, EssentialsEco, BOSEconomy.
  471. # https://github.com/iConomy/Register/tree/master/dist
  472. using_economy: 'true'
  473.  
  474. # Enable using_questioner if you are using questioner to send/receive invites to towns/nations.
  475. # See http://code.google.com/a/eclipselabs.org/p/towny/wiki/Questioner for more info.
  476. using_questioner:
  477. enable: 'true'
  478. # The command to accept invitations.
  479. accept: aceptar
  480. # The command to refuse invitations.
  481. deny: denegar
  482. # When set for more than 0m, the amount of time (in minutes) which must have passed between
  483. # a player's first log in and when they can be invited to a town.
  484. cooldowntime: 0m
  485.  
  486. # True to attempt to use GroupManager, PEX, bPermissions, Permissions2/3 or BukkitPerms
  487. # False to disable permission checks and rely on Towny settings.
  488. using_permissions: 'true'
  489.  
  490. day_timer:
  491. # The number of hours in each "day".
  492. # You can configure for 10 hour days. Default is 24 hours.
  493. day_interval: 1d
  494. # The time each "day", when taxes will be collected.
  495. # MUST be less than day_interval. Default is 12h (midday).
  496. new_day_time: 12h
  497.  
  498. # Lots of messages to tell you what's going on in the server with time taken for events.
  499. debug_mode: 'false'
  500.  
  501. # Info tool for server admins to use to query in game blocks and entities.
  502. info_tool: CLAY_BRICK
  503.  
  504. # Spams the player named in dev_name with all messages related to towny.
  505. dev_mode:
  506. enable: 'false'
  507. dev_name: ElgarL
  508.  
  509. # Record all messages to the towny.log
  510. logging: 'true'
  511. # If true this will cause the log to be wiped at every startup.
  512. reset_log_on_boot: 'true'
  513.  
  514.  
  515. ############################################################
  516. # +------------------------------------------------------+ #
  517. # | Filters colour and chat | #
  518. # +------------------------------------------------------+ #
  519. ############################################################
  520.  
  521. filters_colour_chat:
  522. # This is the name given to any NPC assigned mayor.
  523. npc_prefix: NPC
  524. # Regex fields used in validating inputs.
  525. regex:
  526. name_filter_regex: '[ /]'
  527. name_check_regex: ^[a-zA-Z0-9._\[\]-]*$
  528. string_check_regex: ^[a-zA-Z0-9\s._\[\]-]*$
  529. name_remove_regex: '[^a-zA-Z0-9._\[\]-]'
  530.  
  531. modify_chat:
  532. # Maximum length of Town and Nation names.
  533. max_name_length: '20'
  534. # Maximum length of titles and surnames.
  535. max_title_length: '10'
  536.  
  537.  
  538. ############################################################
  539. # +------------------------------------------------------+ #
  540. # | block/item/mob protection | #
  541. # +------------------------------------------------------+ #
  542. ############################################################
  543.  
  544. protection:
  545.  
  546. # Items that can be blocked within towns via town/plot flags
  547. # 259 - flint and steel
  548. # 325 - bucket
  549. # 326 - water bucket
  550. # 327 - lava bucket
  551. # 351 - bone/bonemeal
  552. # 359 - shears
  553. # 368 - ender pearl
  554. # 374 - glass bottle
  555. # 385 - fire charge
  556. item_use_ids: FLINT_AND_STEEL,BUCKET,WATER_BUCKET,LAVA_BUCKET,MINECART,STORAGE_MINECART,INK_SACK,SHEARS,ENDER_PEARL,GLASS_BOTTLE,FIREBALL,ARMOR_STAND,SKULL_ITEM
  557.  
  558. # Items which can be blocked or enabled via town/plot flags
  559. # 25 - noteblock
  560. # 54 - chest ...etc
  561. switch_ids: DISPENSER,NOTE_BLOCK,CHEST,FURNACE,BURNING_FURNACE,WOODEN_DOOR,ACACIA_DOOR,DARK_OAK_DOOR,JUNGLE_DOOR,BIRCH_DOOR,SPRUCE_DOOR,LEVER,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,STONE_BUTTON,TRAP_DOOR,JUKEBOX,DIODE_BLOCK_OFF,DIODE_BLOCK_ON,FENCE_GATE,SPRUCE_FENCE_GATE,BIRCH_FENCE_GATE,JUNGLE_FENCE_GATE,DARK_OAK_FENCE_GATE,ACACIA_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,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
  562.  
  563. # permitted entities https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/LivingEntity.htmll
  564. # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  565. # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie, Shulker
  566. # Husk, Stray, SkeletonHorse, ZombieHorse, Vex, Vindicator, Evoker, Endermite, PolarBear
  567.  
  568. # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  569. town_mob_removal_entities: Monster,WaterMob,Flying,Slime,Shulker,SkeletonHorse,ZombieHorse
  570.  
  571. # Prevent the spawning of villager babies in towns.
  572. town_prevent_villager_breeding: 'false'
  573. # Disable creatures triggering stone pressure plates
  574. disable_creature_pressureplate_stone: 'true'
  575.  
  576. # Globally remove living entities in all worlds that have their flag set.
  577. world_mob_removal_entities: Monster,WaterMob,Flying,Slime
  578.  
  579. # Prevent the spawning of villager babies in the world.
  580. world_prevent_villager_breeding: 'false'
  581.  
  582. # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  583. # Lower values will check all entities more often at the risk of heavier burden and resource use.
  584. # NEVER set below 1.
  585. mob_removal_speed: 5s
  586.  
  587. # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  588. # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  589. # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  590.  
  591. # Protect living entities within a town's boundaries from being killed by players.
  592. mob_types: Animals,NPC,Snowman,ArmorStand
  593.  
  594. # permitted Potion Types http://jd.bukkit.org/apidocs/org/bukkit/potion/PotionType.html
  595. # ABSORPTION, BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, HARM, HEAL, HEALTH_BOOST, HUNGER,
  596. # INCREASE_DAMAGE, INVISIBILITY, JUMP, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW , SLOW_DIGGING,
  597. # SPEED, WATER_BREATHING, WEAKNESS, WITHER.
  598.  
  599. # When preventing PVP prevent the use of these potions.
  600. potion_types: BLINDNESS,CONFUSION,HARM,HUNGER,POISON,SLOW,SLOW_DIGGING,WEAKNESS,WITHER
  601.  
  602. # Prevent fly and double block jump cheats.
  603. cheat_protection: 'true'
  604.  
  605. # The amount of time it takes for a protected block to regenerate. Use zero for no delay.
  606. regen_delay: 0s
  607.  
  608.  
  609. ############################################################
  610. # +------------------------------------------------------+ #
  611. # | Wilderness settings | #
  612. # +------------------------------------------------------+ #
  613. ############################################################
  614.  
  615. # These Settings defaults only. They are copied to each worlds data files upon first detection
  616. # To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
  617.  
  618. unclaimed:
  619. unclaimed_zone_build: 'false'
  620. unclaimed_zone_destroy: 'false'
  621. unclaimed_zone_item_use: 'false'
  622. 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
  623. unclaimed_zone_switch: 'false'
  624.  
  625.  
  626. ############################################################
  627. # +------------------------------------------------------+ #
  628. # | Town Notifications | #
  629. # +------------------------------------------------------+ #
  630. ############################################################
  631.  
  632. # This is the format for the notifications sent as players move between plots.
  633. # Empty a particular format for it to be ignored.
  634.  
  635. # Example:
  636. # [notification.format]
  637. # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  638. # ... [notification.plot.format]
  639. # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  640. # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  641.  
  642. notification:
  643. format: '&6 ~ %s'
  644. splitter: '&7 - '
  645. area_wilderness: '&2%s'
  646. area_wilderness_pvp: '%s'
  647. area_town: '&6%s'
  648. area_town_pvp: '%s'
  649. owner: '&a%s'
  650. no_owner: '&a%s'
  651. plot:
  652. splitter: ' '
  653. format: '%s'
  654. homeblock: '&b[Home]'
  655. outpostblock: '&b[Outpost]'
  656. forsale: '&e[For Sale: %s]'
  657. type: '&6[%s]'
  658. # If set to true MC's Title and Subtitle feature will be used when crossing into a town.
  659. # Could be seen as intrusive/distracting, so false by default.
  660. using_titles: 'false'
  661.  
  662.  
  663.  
  664. ############################################################
  665. # +------------------------------------------------------+ #
  666. # | Default Town/Plot flags | #
  667. # +------------------------------------------------------+ #
  668. ############################################################
  669.  
  670.  
  671. default_perm_flags:
  672.  
  673. # Default permission flags for residents plots within a town
  674. #
  675. # Can allies/friends/outsiders perform certain actions in the town
  676. #
  677. # build - place blocks and other items
  678. # destroy - break blocks and other items
  679. # itemuse - use items such as furnaces (as defined in item_use_ids)
  680. # switch - trigger or activate switches (as defined in switch_ids)
  681. resident:
  682. friend:
  683. build: 'true'
  684. destroy: 'true'
  685. item_use: 'true'
  686. switch: 'true'
  687. ally:
  688. build: 'false'
  689. destroy: 'false'
  690. item_use: 'false'
  691. switch: 'false'
  692. outsider:
  693. build: 'false'
  694. destroy: 'false'
  695. item_use: 'false'
  696. switch: 'false'
  697.  
  698. # Default permission flags for towns
  699. # These are copied into the town data file at creation
  700. #
  701. # Can allies/outsiders/residents perform certain actions in the town
  702. #
  703. # build - place blocks and other items
  704. # destroy - break blocks and other items
  705. # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  706. # switch - trigger or activate switches (as defined in switch_ids)
  707. town:
  708. default:
  709. pvp: 'true'
  710. fire: 'false'
  711. explosion: 'false'
  712. mobs: 'false'
  713. resident:
  714. build: 'true'
  715. destroy: 'true'
  716. item_use: 'true'
  717. switch: 'true'
  718. ally:
  719. build: 'false'
  720. destroy: 'false'
  721. item_use: 'false'
  722. switch: 'false'
  723. outsider:
  724. build: 'false'
  725. destroy: 'false'
  726. item_use: 'false'
  727. switch: 'false'
  728.  
  729.  
  730. ############################################################
  731. # +------------------------------------------------------+ #
  732. # | Resident settings | #
  733. # +------------------------------------------------------+ #
  734. ############################################################
  735.  
  736. resident_settings:
  737. # player is flagged as inactive after 1 hour (default)
  738. inactive_after_time: 1h
  739. # if enabled old residents will be kicked and deleted from a town
  740. # after Two months (default) of not logging in
  741. delete_old_residents:
  742. enable: 'false'
  743. deleted_after_time: 60d
  744. delete_economy_account: 'true'
  745. # The name of the town a resident will automatically join when he first registers.
  746. default_town_name: ''
  747. # If true, players can only use beds in plots they personally own.
  748. deny_bed_use: 'false'
  749.  
  750.  
  751. ############################################################
  752. # +------------------------------------------------------+ #
  753. # | Economy settings | #
  754. # +------------------------------------------------------+ #
  755. ############################################################
  756.  
  757. economy:
  758. # By default it is set to true.
  759. # Rarely set to false. Set to false if you get concurrent modification errors on timers for daily tax collections.
  760. use_async: 'true'
  761. # Prefix to apply to all town economy accounts.
  762. town_prefix: town-
  763. # Prefix to apply to all nation economy accounts.
  764. nation_prefix: nation-
  765.  
  766. spawn_travel:
  767. # Cost to use /town spawn
  768. price_town_spawn_travel: '0.0'
  769. # Cost to use '/town spawn [town]' to another town in your nation.
  770. price_town_nation_spawn_travel: '5.0'
  771. # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  772. price_town_ally_spawn_travel: '10.0'
  773. # Cost to use /town spawn [town]
  774. # This is paid to the town you goto.
  775. price_town_public_spawn_travel: '10.0'
  776.  
  777. # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  778. price_nation_neutrality: '100.0'
  779.  
  780. new_expand:
  781. # How much it costs to start a nation.
  782. price_new_nation: '60000.0'
  783. # How much it costs to start a town.
  784. price_new_town: '30000.0'
  785. # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  786. price_outpost: '5000.0'
  787. # The price for a town to expand one townblock.
  788. price_claim_townblock: '200.0'
  789. # How much it costs a player to buy extra blocks.
  790. price_purchased_bonus_townblock: '1000.0'
  791. # How much every extra bonus block costs more. Set to 1 to deactivate this. 1.2 means +20% to every bonus claim block cost.
  792. price_purchased_bonus_townblock_increase: '1.0'
  793.  
  794. death:
  795. # Either fixed or percentage.
  796. # For percentage 1.0 would be 100%. 0.01 would be 1%.
  797. price_death_type: fixed
  798. # If True, only charge death prices for pvp kills. Not monsters/environmental deaths.
  799. price_death_pvp_only: 'true'
  800.  
  801. price_death: '400.0'
  802.  
  803. price_death_town: '400.0'
  804.  
  805. price_death_nation: '400.0'
  806.  
  807. banks:
  808. # Maximum amount of money allowed in town bank
  809. # Use 0 for no limit
  810. town_bank_cap: '0.0'
  811. # Set to true to allow withdrawls from town banks
  812. town_allow_withdrawls: 'true'
  813. # Maximum amount of money allowed in nation bank
  814. # Use 0 for no limit
  815. nation_bank_cap: '0.0'
  816. # Set to true to allow withdrawls from nation banks
  817. nation_allow_withdrawls: 'true'
  818. closed_economy:
  819. # The name of the account that all money that normally disappears goes into.
  820. server_account: towny-server
  821. # Turn on/off whether all transactions that normally don't have a second party are to be done with a certain account.
  822. # Eg: The money taken during Daily Taxes is just removed. With this on, the amount taken would be funneled into an account.
  823. # This also applies when a player collects money, like when the player is refunded money when a delayed teleport fails.
  824. enabled: 'false'
  825.  
  826. daily_taxes:
  827. # Enables taxes to be collected daily by town/nation
  828. # If a town can't pay it's tax then it is kicked from the nation.
  829. # if a resident can't pay his plot tax he loses his plot.
  830. # if a resident can't pay his town tax then he is kicked from the town.
  831. # if a town or nation fails to pay it's upkeep it is deleted.
  832. enabled: 'true'
  833. # Maximum tax amount allowed when using flat taxes
  834. max_tax_amount: '10000.0'
  835. # maximum tax percentage allowed when taxing by percentages
  836. max_tax_percent: '10000.0'
  837. # The server's daily charge on each nation. If a nation fails to pay this upkeep
  838. # all of it's member town are kicked and the Nation is removed.
  839. price_nation_upkeep: '1000.0'
  840. # The server's daily charge on each town. If a town fails to pay this upkeep
  841. # all of it's residents are kicked and the town is removed.
  842. price_town_upkeep: '200.0'
  843. # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  844. # calculated by (number of claimed plots X price_town_upkeep).
  845. town_plotbased_upkeep: 'false'
  846. # If set to true, the plot-based-upkeep system will be modified by the Town Levels' upkeep modifiers.
  847. town_plotbased_upkeep_affected_by_town_level_modifier: 'false'
  848. # If enabled and you set a negative upkeep for the town
  849. # any funds the town gains via upkeep at a new day
  850. # will be shared out between the plot owners.
  851. use_plot_payments: 'false'
  852.  
  853.  
  854. ############################################################
  855. # +------------------------------------------------------+ #
  856. # | Jail Plot settings | #
  857. # +------------------------------------------------------+ #
  858. ############################################################
  859.  
  860. jail:
  861. #If true attacking players who die on enemy-town land will be placed into the defending town's jail if it exists.
  862. #Requires town_respawn to be true in order to work.
  863. is_jailing_attacking_enemies: 'false'
  864. #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.
  865. #Requires town_respawn to be true in order to work.
  866. is_jailing_attacking_outlaws: 'false'
  867. #If true jailed players can use Ender Pearls but are still barred from using other methods of teleporting.
  868. jail_allows_ender_pearls: 'false'
  869. #If false jailed players can use /town leave, and escape a jail.
  870. jail_denies_town_leave: 'false'
  871.  
  872. bail:
  873. #If true players can pay a bail amount to be unjailed.
  874. is_allowing_bail: 'false'
  875. #Amount that bail costs.
  876. bail_amount: '10'
  877.  
  878.  
  879. ############################################################
  880. # +------------------------------------------------------+ #
  881. # | War settings | #
  882. # +------------------------------------------------------+ #
  883. ############################################################
  884.  
  885. war:
  886. #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  887. nation_can_be_neutral: 'true'
  888. #By setting this to true, nations will receive a questioner prompt for alliances and alliances will show on both nations.
  889. disallow_one_way_alliance: 'false'
  890.  
  891.  
  892. ############################################################
  893. # +------------------------------------------------------+ #
  894. # | Economy Transfers During War settings | #
  895. # +------------------------------------------------------+ #
  896. ############################################################
  897.  
  898. economy:
  899. enemy:
  900. # Amount charged to place a warflag (payed to server).
  901. place_flag: '10'
  902. # Amount payed from the flagbearer to the defender after defending the area.
  903. defended_attack: '10'
  904. # Defending town pays attaking flagbearer. If a negative (attacker pays defending town),
  905. # and the attacker can't pay, the attack is canceled.
  906. townblock_won: '10'
  907. # Same as townblock_won but for the special case of winning the homeblock.
  908. homeblock_won: '100'
  909.  
  910.  
  911. ############################################################
  912. # +------------------------------------------------------+ #
  913. # | War Event settings | #
  914. # +------------------------------------------------------+ #
  915. ############################################################
  916.  
  917. # This is started with /townyadmnin toggle war
  918.  
  919. # In peace time War spoils are accumulated from towns and nations being
  920. # deleted with any money left in the bank.
  921. #
  922. # These funds are increased during a war event upon a player death.
  923. # An additional bonus to the war chest is set in base_spoils.
  924. #
  925. # During the event a town losing a townblock pays the wartime_town_block_loss_price to the attacking town.
  926. # The war is won when the only nations left in the battle are allies, or only a single nation.
  927. #
  928. # The winning nations share half of the war spoils.
  929. # The remaining half is paid to the town which took the most town blocks, and lost the least.
  930.  
  931. event:
  932. warning_delay: '30'
  933. #If false all towns not in nations can be attacked during a war event.
  934. towns_are_neutral: 'true'
  935. enemy:
  936. # If true, enemy's can only attack the edge plots of a town in war.
  937. only_attack_borders: 'true'
  938. plots:
  939. # If true, nation members and allies can regen health on plots during war.
  940. healable: 'true'
  941. # If true, fireworks will be launched at plots being attacked or healed in war every war tick.
  942. firework_on_attacked: 'true'
  943.  
  944. # If true and the monarch/king dies the nation is removed from the war.
  945. remove_on_monarch_death: 'false'
  946. # If enabled players will be able to break/place any blocks in enemy plots during a war.
  947. # This setting SHOULD NOT BE USED unless you want the most chaotic war possible.
  948. # The editable_materials list in the Warzone Block Permission section should be used instead.
  949. allow_block_griefing: 'false'
  950.  
  951. # A townblock takes damage every 5 seconds that an enemy is stood in it.
  952. block_hp:
  953. town_block_hp: '60'
  954. home_block_hp: '120'
  955.  
  956. eco:
  957. # This amount is new money injected into the economy with a war event.
  958. base_spoils: '100.0'
  959. # This amount is taken from the losing town for each plot lost.
  960. wartime_town_block_loss_price: '100.0'
  961. # This amount is taken from the player if they die during the event
  962. price_death_wartime: '200.0'
  963. # If set to true when a town drops an enemy townblock's HP to 0, the attacking town gains a bonus townblock,
  964. # and the losing town gains a negative (-1) bonus townblock.
  965. costs_townblocks: 'false'
  966.  
  967. points:
  968. points_townblock: '1'
  969. points_town: '10'
  970. points_nation: '100'
  971. points_kill: '1'
  972.  
  973. # The minimum height at which a player must stand to count as an attacker.
  974. min_height: '60'
  975.  
  976. ############################################################
  977. # +------------------------------------------------------+ #
  978. # | Flag war settings | #
  979. # | | #
  980. # | Separate from Event War | #
  981. # | Unsupported / Buggy | #
  982. # +------------------------------------------------------+ #
  983. ############################################################
  984.  
  985. enemy:
  986. # If false, players won't be able to place war flags, effectively disabling warzones.
  987. allow_attacks: 'false'
  988. # If true, enemy's can only attack the edge plots of a town with war flags.
  989. only_attack_borders: 'true'
  990. # This many people must be online in target town in order to place a war flag in their domain.
  991. min_players_online_in_town: '2'
  992. # This many people must be online in target nation in order to place a war flag in their domain.
  993. min_players_online_in_nation: '3'
  994. max_active_flags_per_player: '1'
  995. flag:
  996. waiting_time: 1m
  997. # This is the block a player must place to trigger the attack event.
  998. base_block: fence
  999. # This is the block a player must place to trigger the attack event.
  1000. light_block: torch
  1001. beacon:
  1002. # Must be smaller than half the size of town_block_size.
  1003. radius: '3'
  1004. # The range the beacon will be drawn in. It's flexibility is in case the flag is close to the height limit.
  1005. # If a flag is too close to the height limit (lower than the minimum), it will not be drawn.
  1006. height_above_flag:
  1007. min: '3'
  1008. max: '64'
  1009. draw: 'true'
  1010. wireframe_block: glowstone
  1011. ############################################################
  1012. # +------------------------------------------------------+ #
  1013. # | Warzone Block Permissions | #
  1014. # | | #
  1015. # | Used in Flag & Event Wars | #
  1016. # +------------------------------------------------------+ #
  1017. ############################################################
  1018.  
  1019. warzone:
  1020. # List of materaials that can be modified in a warzone.
  1021. # '*' = Allow all materials.
  1022. # Prepend a '-' in front of a material to remove it. Used in conjunction with when you use '*'.
  1023. # Eg: '*,-chest,-furnace'
  1024. editable_materials: tnt,fence,ladder,wood_door,iron_door,fire
  1025. item_use: 'true'
  1026. switch: 'true'
  1027. # Add '-fire' to editable materials for complete protection when setting is false. This prevents fire to be created and spread.
  1028. fire: 'true'
  1029. explosions: 'true'
  1030. explosions_break_blocks: 'true'
  1031. # Only under affect when explosions_break_blocks is true.
  1032. explosions_regen_blocks: 'true'
  1033. # A list of blocks that will not be exploded, mostly because they won't regenerate properly.
  1034. # These blocks will also protect the block below them, so that blocks like doors do not dupe themselves.
  1035. # Only under affect when explosions_break_blocks is true.
  1036. explosions_ignore_list: WOODEN_DOOR,ACACIA_DOOR,DARK_OAK_DOOR,JUNGLE_DOOR,BIRCH_DOOR,SPRUCE_DOOR,IRON_DOOR,CHEST,TRAPPED_CHEST,FURNACE,BURNING_FURNACE,DROPPER,DISPENSER,HOPPER,ENDER_CHEST,WHITE_SHULKER_BOX,ORANGE_SHULKER_BOX,MAGENTA_SHULKER_BOX,LIGHT_BLUE_SHULKER_BOX,YELLOW_SHULKER_BOX,LIME_SHULKER_BOX,PINK_SHULKER_BOX,GRAY_SHULKER_BOX,SILVER_SHULKER_BOX,CYAN_SHULKER_BOX,PURPLE_SHULKER_BOX,BLUE_SHULKER_BOX,BROWN_SHULKER_BOX,GREEN_SHULKER_BOX,RED_SHULKER_BOX,BLACK_SHULKER_BOX,NOTE_BLOCK,LEVER,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,JUKEBOX,DIODE_BLOCK_OFF,DIODE_BLOCK_ON,FENCE_GATE,GOLD_PLATE,IRON_PLATE,REDSTONE_COMPARATOR_OFF,REDSTONE_COMPARATOR_ON,BEACON
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement