Advertisement
Guest User

Untitled

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