Advertisement
Guest User

Untitled

a guest
Dec 16th, 2011
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.65 KB | None | 0 0
  1.  
  2.  
  3. ############################################################
  4. # +------------------------------------------------------+ #
  5. # | block/item/mob protection | #
  6. # +------------------------------------------------------+ #
  7. ############################################################
  8.  
  9. protection:
  10.  
  11. # Items that can be blocked within towns via town/plot flags
  12. # 259 - flint and steel
  13. # 325 - bucket
  14. # 326 - water bucket
  15. # 327 - lava bucket
  16. # 351 - bone/bonemeal
  17. item_use_ids: 259,325,326,327,351
  18.  
  19. # Items which can be blocked or enabled via town/plot flags
  20. # 25 - noteblock
  21. # 54 - chest
  22. # 61 - furnace
  23. # 62 - lit furnace
  24. # 64 - wooden door
  25. # 69 - lever
  26. # 70 - stone pressure plate
  27. # 71 - iron door
  28. # 72 - wooden pressure plate
  29. # 77 - stone button
  30. # 96 - trap door
  31. # 84 - jukebox
  32. # 93/94 - redstone repeater
  33. switch_ids: 25,54,61,62,64,69,70,71,72,77,96,84,93,94
  34.  
  35. # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  36. # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  37. # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  38.  
  39. # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  40. town_mob_removal_entities: ''
  41.  
  42. # Globally remove living entities in all worlds that have their flag set.
  43. world_mob_removal_entities: WaterMob,Flying,Slime
  44.  
  45. # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  46. # Lower values will check all entities more often at the risk of heavier burden and resource use.
  47. # NEVER set below 1.
  48. mob_removal_speed: 20s
  49.  
  50. # Prevent fly and double block jump cheats.
  51. cheat_protection: 'true'
  52.  
  53. # The amount of time it takes for a protected block to regenerate. Use zero for no delay.
  54. regen_delay: 0s
  55.  
  56.  
  57. ############################################################
  58. # +------------------------------------------------------+ #
  59. # | Default Town/Plot flags | #
  60. # +------------------------------------------------------+ #
  61. ############################################################
  62.  
  63.  
  64. default_perm_flags:
  65.  
  66. # Default permission flags for residents plots within a town
  67. #
  68. # Can allies/friends/outsiders perform certain actions in the town
  69. #
  70. # build - place blocks and other items
  71. # destroy - break blocks and other items
  72. # itemuse - use items such as furnaces (as defined in item_use_ids)
  73. # switch - trigger or activate switches (as defined in switch_ids)
  74. resident:
  75. friend:
  76. build: 'true'
  77. destroy: 'true'
  78. item_use: 'true'
  79. switch: 'true'
  80. ally:
  81. build: 'false'
  82. destroy: 'false'
  83. item_use: 'false'
  84. switch: 'false'
  85. outsider:
  86. build: 'false'
  87. destroy: 'false'
  88. item_use: 'false'
  89. switch: 'false'
  90.  
  91. # Default permission flags for towns
  92. # These are copied into the town data file at creation
  93. #
  94. # Can allies/outsiders/residents perform certain actions in the town
  95. #
  96. # build - place blocks and other items
  97. # destroy - break blocks and other items
  98. # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  99. # switch - trigger or activate switches (as defined in switch_ids)
  100. town:
  101. resident:
  102. build: 'true'
  103. destroy: 'true'
  104. item_use: 'true'
  105. switch: 'true'
  106. ally:
  107. build: 'false'
  108. destroy: 'false'
  109. item_use: 'false'
  110. switch: 'false'
  111. outsider:
  112. build: 'false'
  113. destroy: 'false'
  114. item_use: 'false'
  115. switch: 'false'
  116.  
  117.  
  118. ############################################################
  119. # +------------------------------------------------------+ #
  120. # | Economy settings | #
  121. # +------------------------------------------------------+ #
  122. ############################################################
  123.  
  124. economy:
  125.  
  126. spawn_travel:
  127. # Cost to use /town spawn
  128. price_town_spawn_travel: '0.0'
  129. # Cost to use '/town spawn [town]' to another town in your nation.
  130. price_town_nation_spawn_travel: '5.0'
  131. # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  132. price_town_ally_spawn_travel: '10.0'
  133. # Cost to use /town spawn [town]
  134. # This is paid to the town you goto.
  135. price_town_public_spawn_travel: '10.0'
  136.  
  137. # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  138. price_nation_neutrality: '100'
  139.  
  140. new_expand:
  141. # How much it costs to start a nation.
  142. price_new_nation: '1000.0'
  143. # How much it costs to start a town.
  144. price_new_town: '0.0'
  145. # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  146. price_outpost: '0.0'
  147. # The price for a town to expand one townblock.
  148. price_claim_townblock: '0'
  149. # How much it costs a player to buy extra blocks.
  150. price_purchased_bonus_townblock: '25.0'
  151.  
  152. price_death: '0.0'
  153.  
  154. price_death_wartime: '200.0'
  155.  
  156. banks:
  157. # Maximum amount of money allowed in town bank
  158. # Use 0 for no limit
  159. town_bank_cap: '0'
  160. # Set to true to allow withdrawls from town banks
  161. town_allow_withdrawls: 'true'
  162. # Maximum amount of money allowed in nation bank
  163. # Use 0 for no limit
  164. nation_bank_cap: '0'
  165. # Set to true to allow withdrawls from nation banks
  166. nation_allow_withdrawls: 'true'
  167.  
  168. daily_taxes:
  169. # Enables taxes to be collected daily by town/nation
  170. # If a town can't pay it's tax then it is kicked from the nation.
  171. # if a resident can't pay his plot tax he loses his plot.
  172. # if a resident can't pay his town tax then he is kicked from the town.
  173. # if a town or nation fails to pay it's upkeep it is deleted.
  174. enabled: 'false'
  175. # Maximum tax amount allowed when using flat taxes
  176. max_tax_amount: '1000.0'
  177. # maximum tax percentage allowed when taxing by percentages
  178. max_tax_percent: '25'
  179. # The server's daily charge on each nation. If a nation fails to pay this upkeep
  180. # all of it's member town are kicked and the Nation is removed.
  181. price_nation_upkeep: '100.0'
  182. # The server's daily charge on each town. If a town fails to pay this upkeep
  183. # all of it's residents are kicked and the town is removed.
  184. price_town_upkeep: '10.0'
  185. # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  186. # calculated by (number of claimed plots X price_town_upkeep).
  187. town_plotbased_upkeep: 'false'
  188.  
  189.  
  190. ############################################################
  191. # +------------------------------------------------------+ #
  192. # | Default new world settings | #
  193. # +------------------------------------------------------+ #
  194. ############################################################
  195.  
  196. # These flags are only used at the initial setp of a new world.
  197.  
  198. # Once Towny is running each world can be altered from within game
  199. # using '/townyworld toggle'
  200.  
  201. new_world_settings:
  202. # force_pvp_on is a global flag and overrides any towns flag setting
  203. force_pvp_on: 'false'
  204. # Disable players trampling crops
  205. disable_player_crop_trampling: 'false'
  206. # Disable creatures trampling crops
  207. disable_creature_crop_trampling: 'false'
  208. # world_monsters_on is a global flag setting per world.
  209. world_monsters_on: 'true'
  210. # force_explosions_on is a global flag and overrides any towns flag setting
  211. force_explosions_on: 'false'
  212. # force_town_monsters_on is a global flag and overrides any towns flag setting
  213. force_town_monsters_on: 'true'
  214. # force_fire_on is a global flag and overrides any towns flag setting
  215. force_fire_on: 'false'
  216.  
  217. # World management settings to deal with un/claiming plots
  218. plot_management:
  219.  
  220. block_delete:
  221. enabled: 'true'
  222. # These items will be deleted upon a plot being unclaimed
  223. unclaim_delete: 26,50,55,63,64,68,70,71,72,75,76,93,94
  224.  
  225. mayor_plotblock_delete:
  226. enabled: 'true'
  227. # These items will be deleted upon a mayor using /plot clear
  228. # To disable deleting replace the current entries with NONE.
  229. mayor_plot_delete: WALL_SIGN,SIGN_POST
  230.  
  231. revert_on_unclaim:
  232. # *** WARNING***
  233. # If this is enabled any town plots which become unclaimed will
  234. # slowly be reverted to a snapshot taken before the plot was claimed.
  235. #
  236. # Regeneration will only work if the plot was
  237. # claimed under version 0.76.2, or
  238. # later with this feature enabled
  239. #
  240. # If you allow players to break/build in the wild the snapshot will
  241. # include any changes made before the plot was claimed.
  242. enabled: 'false'
  243. speed: 1s
  244. # These block types will NOT be regenerated
  245. block_ignore: 21,50,52,56,63,68,89
  246.  
  247. wild_revert_on_mob_explosion:
  248. # Enabling this will slowly regenerate holes created in the
  249. # wilderness by monsters exploding.
  250. enabled: 'false'
  251. delay: 5s
  252.  
  253.  
  254. ############################################################
  255. # +------------------------------------------------------+ #
  256. # | Global town settings | #
  257. # +------------------------------------------------------+ #
  258. ############################################################
  259.  
  260. global_town_settings:
  261. # can residents/Allies harm other residents when in a town with pvp enabled?
  262. friendly_fire: 'true'
  263. # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  264. health_regen:
  265. speed: '3'
  266. enable: 'false'
  267. # Allow towns to claim outposts (a townblock not connected to town).
  268. allow_outposts: 'false'
  269. # Allow the use of /town spawn
  270. allow_town_spawn: 'false'
  271. # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  272. allow_town_spawn_travel: 'false'
  273. # Allow regular residents to use /town spawn [town] to other towns in your nation.
  274. allow_town_spawn_travel_nation: 'true'
  275. # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
  276. allow_town_spawn_travel_ally: 'true'
  277. # If non zero it delays any spawn request by x seconds.
  278. teleport_warmup_time: '0'
  279. # Respawn the player at his town spawn point when he/she dies
  280. town_respawn: 'false'
  281. # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  282. # Allowed options: unclaimed,enemy,neutral
  283. prevent_town_spawn_in: enemy
  284. # Enables the [~Home] message.
  285. # If false it will make it harder for enemies to find the home block during a war
  286. show_town_notifications: 'true'
  287.  
  288.  
  289. ############################################################
  290. # +------------------------------------------------------+ #
  291. # | War settings | #
  292. # +------------------------------------------------------+ #
  293. ############################################################
  294.  
  295. war:
  296. #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  297. nation_can_be_neutral: 'true'
  298.  
  299.  
  300. ############################################################
  301. # +------------------------------------------------------+ #
  302. # | War Event settings | #
  303. # +------------------------------------------------------+ #
  304. ############################################################
  305.  
  306. event:
  307. remove_on_monarch_death: 'false'
  308. warning_delay: '30'
  309. town_block_hp: '60'
  310. home_block_hp: '120'
  311. base_spoils: '100'
  312. points_townblock: '1'
  313. points_town: '10'
  314. points_nation: '100'
  315. points_kill: '1'
  316. min_height: '60'
  317. wartime_town_block_loss_price: '100'
  318. ############################################################
  319. # +------------------------------------------------------+ #
  320. # | Warring Nation Enemies settings | #
  321. # +------------------------------------------------------+ #
  322. ############################################################
  323.  
  324. enemy:
  325. #If false, players won't be able to place war flags, effectively disabling warzones.
  326. allow_attacks: 'true'
  327. #This many people must be online in target town in order to place a war flag in their domain.
  328. min_players_online_in_town: '2'
  329. #This many people must be online in target nation in order to place a war flag in their domain.
  330. min_players_online_in_nation: '3'
  331. max_active_flags_per_player: '1'
  332. flag:
  333. waiting_time: 1m
  334. #This is the block a player must place to trigger the attack event.
  335. base_block: fence
  336. #This is the block a player must place to trigger the attack event.
  337. light_block: torch
  338. beacon:
  339. #Must be smaller than half the size of town_block_size.
  340. radius: '3'
  341. draw: 'true'
  342. wireframe_block: glowstone
  343. ############################################################
  344. # +------------------------------------------------------+ #
  345. # | Warzone Block Permissions | #
  346. # +------------------------------------------------------+ #
  347. ############################################################
  348.  
  349. warzone:
  350. # List of materaials that can be modified in a warzone.
  351. # '*' = Allow all materials.
  352. # Prepend a '-' in front of a material to remove it. Used in conjunction with when you use '*'.
  353. # Eg: '*,-chest,-furnace'
  354. editable_materials: tnt,fence,ladder,wood_door,iron_door,fire
  355. item_use: 'true'
  356. switch: 'true'
  357. # Add '-fire' to editable materials for complete protection when setting is false. This prevents fire to be created and spread.
  358. fire: 'true'
  359. explosions: 'true'
  360. explosions_break_blocks: 'true'
  361. # TODO: Blocks will not regen as of yet. Stay tuned for later changes.
  362. # Only under affect when explosions_break_blocks is true.
  363. explosions_regen_blocks: 'true'
  364.  
  365.  
  366. ############################################################
  367. # +------------------------------------------------------+ #
  368. # | Plugin interfacing | #
  369. # +------------------------------------------------------+ #
  370. ############################################################
  371.  
  372. plugin:
  373.  
  374. database:
  375. database_load: flatfile
  376. database_save: flatfile
  377. daily_backups: 'true'
  378. backups_are_deteleted_after: 14d
  379. flatfile_backup: zip
  380.  
  381. interfacing:
  382.  
  383. # Enable using_essentials if you are using cooldowns in essentials for teleports.
  384. using_essentials: 'false'
  385.  
  386. # This will attempt to use Register (if present)
  387. # Then it will attempt to access iConomy 5.01 directly
  388. # Enable if you have either iConomy 5.01, or Register.jar to
  389. # support: iConomy5, iConomy6, EssentialsEco, BOSEconomy.
  390. # https://github.com/iConomy/Register/tree/master/dist
  391. using_economy: 'false'
  392.  
  393. # Enable using_questioner if you are using questioner to send/receive invites to towns/nations.
  394. # See http://code.google.com/a/eclipselabs.org/p/towny/wiki/Questioner for more info.
  395. using_questioner:
  396. enable: 'true'
  397. # The command to accept invitations.
  398. accept: accept
  399. # The command to refuse invitations.
  400. deny: deny
  401.  
  402. # True to attempt to use GroupManager, PEX, bPermissions, Permissions2/3 or BukkitPerms
  403. # False to disable permission checks and rely on Towny settings.
  404. using_permissions: 'true'
  405.  
  406. day_timer:
  407. # The number of hours in each "day".
  408. # You can configure for 10 hour days. Default is 24 hours.
  409. day_interval: 1d
  410. # The time each "day", when taxes will be collected.
  411. # MUST be less than day_interval. Default is 12h (midday).
  412. new_day_time: 12h
  413.  
  414. # Lots of messages to tell you what's going on in the server with time taken for events.
  415. debug_mode: 'false'
  416.  
  417. # Spams the player named in dev_name with all messages related to towny.
  418. dev_mode:
  419. enable: 'false'
  420. dev_name: ElgarL
  421.  
  422. # Record all messages to the towny.log
  423. logging: 'true'
  424. # If true this will cause the log to be wiped at every startup.
  425. reset_log_on_boot: 'true'
  426.  
  427. version:
  428. # This is the current version of Towny. Please do not edit.
  429. version: 0.77.1.6
  430. # This is for showing the changelog on updates. Please do not edit.
  431. last_run_version: 0.77.1.6
  432. # Minimum required version of CraftBukkit. Please do not edit.
  433. bukkit_version: '1185'
  434.  
  435. ############################################################
  436. # +------------------------------------------------------+ #
  437. # | Town and Nation levels | #
  438. # +------------------------------------------------------+ #
  439. ############################################################
  440.  
  441. levels:
  442.  
  443. # default Nation levels.
  444. nation_level:
  445. - capitalPostfix: ''
  446. upkeepModifier: 1.0
  447. namePostfix: ' (Nation)'
  448. kingPrefix: 'Leader '
  449. namePrefix: 'Land of '
  450. numResidents: 0
  451. capitalPrefix: ''
  452. kingPostfix: ''
  453. - capitalPostfix: ''
  454. upkeepModifier: 1.0
  455. namePostfix: ' (Nation)'
  456. kingPrefix: 'Count '
  457. namePrefix: 'Federation of '
  458. numResidents: 10
  459. capitalPrefix: ''
  460. kingPostfix: ''
  461. - capitalPostfix: ''
  462. upkeepModifier: 1.0
  463. namePostfix: ' (Nation)'
  464. kingPrefix: 'Duke '
  465. namePrefix: 'Dominion of '
  466. numResidents: 20
  467. capitalPrefix: ''
  468. kingPostfix: ''
  469. - capitalPostfix: ''
  470. upkeepModifier: 1.0
  471. namePostfix: ' (Nation)'
  472. kingPrefix: 'King '
  473. namePrefix: 'Kingdom of '
  474. numResidents: 30
  475. capitalPrefix: ''
  476. kingPostfix: ''
  477. - capitalPostfix: ''
  478. upkeepModifier: 1.0
  479. namePostfix: ' Empire'
  480. kingPrefix: 'Emperor '
  481. namePrefix: 'The '
  482. numResidents: 40
  483. capitalPrefix: ''
  484. kingPostfix: ''
  485. - capitalPostfix: ''
  486. upkeepModifier: 1.0
  487. namePostfix: ' Realm'
  488. kingPrefix: 'God Emperor '
  489. namePrefix: 'The '
  490. numResidents: 60
  491. capitalPrefix: ''
  492. kingPostfix: ''
  493.  
  494. # default Town levels.
  495. town_level:
  496. - upkeepModifier: 1.0
  497. namePostfix: ' Ruins'
  498. mayorPrefix: 'Spirit '
  499. mayorPostfix: ''
  500. townBlockLimit: 1
  501. namePrefix: ''
  502. numResidents: 0
  503. - upkeepModifier: 1.0
  504. namePostfix: ' (Settlement)'
  505. mayorPrefix: 'Hermit '
  506. mayorPostfix: ''
  507. townBlockLimit: 16
  508. namePrefix: ''
  509. numResidents: 1
  510. - upkeepModifier: 1.0
  511. namePostfix: ' (Hamlet)'
  512. mayorPrefix: 'Chief '
  513. mayorPostfix: ''
  514. townBlockLimit: 32
  515. namePrefix: ''
  516. numResidents: 2
  517. - upkeepModifier: 1.0
  518. namePostfix: ' (Village)'
  519. mayorPrefix: 'Baron Von '
  520. mayorPostfix: ''
  521. townBlockLimit: 96
  522. namePrefix: ''
  523. numResidents: 6
  524. - upkeepModifier: 1.0
  525. namePostfix: ' (Town)'
  526. mayorPrefix: 'Viscount '
  527. mayorPostfix: ''
  528. townBlockLimit: 160
  529. namePrefix: ''
  530. numResidents: 10
  531. - upkeepModifier: 1.0
  532. namePostfix: ' (Large Town)'
  533. mayorPrefix: 'Count Von '
  534. mayorPostfix: ''
  535. townBlockLimit: 224
  536. namePrefix: ''
  537. numResidents: 14
  538. - upkeepModifier: 1.0
  539. namePostfix: ' (City)'
  540. mayorPrefix: 'Earl '
  541. mayorPostfix: ''
  542. townBlockLimit: 320
  543. namePrefix: ''
  544. numResidents: 20
  545. - upkeepModifier: 1.0
  546. namePostfix: ' (Large City)'
  547. mayorPrefix: 'Duke '
  548. mayorPostfix: ''
  549. townBlockLimit: 384
  550. namePrefix: ''
  551. numResidents: 24
  552. - upkeepModifier: 1.0
  553. namePostfix: ' (Metropolis)'
  554. mayorPrefix: 'Lord '
  555. mayorPostfix: ''
  556. townBlockLimit: 448
  557. namePrefix: ''
  558. numResidents: 28
  559.  
  560.  
  561. ############################################################
  562. # +------------------------------------------------------+ #
  563. # | Resident settings | #
  564. # +------------------------------------------------------+ #
  565. ############################################################
  566.  
  567. resident_settings:
  568. # player is flagged as inactive after 1 hour (default)
  569. inactive_after_time: 1h
  570. # if enabled old residents will be kicked and deleted from a town
  571. # after Two months (default) of not logging in
  572. delete_old_residents:
  573. enable: 'true'
  574. deleted_after_time: 21d
  575. delete_economy_account: 'true'
  576. # The name of the town a resident will automatically join when he first registers.
  577. default_town_name: ''
  578.  
  579.  
  580. ############################################################
  581. # +------------------------------------------------------+ #
  582. # | Wilderness settings | #
  583. # +------------------------------------------------------+ #
  584. ############################################################
  585.  
  586. unclaimed:
  587. unclaimed_zone_build: 'true'
  588. unclaimed_zone_destroy: 'true'
  589. unclaimed_zone_item_use: 'true'
  590. unclaimed_zone_ignore: 6,14,15,16,17,18,21,31,37,38,39,40,50,56,65,66,73,74,81,82,83,86,89
  591. unclaimed_zone_switch: 'true'
  592. unclaimed_zone_enderman_protect: 'true'
  593.  
  594. ############################################################
  595. # +------------------------------------------------------+ #
  596. # | Permission nodes | #
  597. # +------------------------------------------------------+ #
  598. ############################################################
  599.  
  600. # Possible permission nodes
  601. #
  602. # 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.
  603. # towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
  604. # towny.town.new :User is able to create a town
  605. # towny.town.delete :User is able to delete their town
  606. # towny.town.claim : User is able to expand his town with /town claim
  607. # towny.town.plot : User is able to use the /plot commands
  608. # towny.town.resident : User is able to join towns upon invite.
  609. # towny.town.toggle.*: User can access all town toggle commands (if a mayor or assistant).
  610. # towny.town.toggle.pvp
  611. # towny.town.toggle.public
  612. # towny.town.toggle.explosions
  613. # towny.town.toggle.fire
  614. # towny.town.toggle.mobs
  615. # towny.nation.new :User is able to create a nation
  616. # towny.nation.delete :User is able to delete their nation
  617. # towny.wild.*: User is able to build/destroy in wild regardless.
  618. # towny.wild.build
  619. # towny.wild.destroy
  620. # towny.wild.switch
  621. # towny.wild.item_use
  622. # towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
  623. # towny.town.spawn.*: Grants all Spawn travel nodes
  624. # towny.town.spawn.town : Ability to spawn to your own town.
  625. # towny.town.spawn.nation : Ability to spawn to other towns in your nation.
  626. # towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
  627. # towny.town.spawn.public : Ability to spawn to unaffilated public towns.
  628. #
  629. # these will be moved to permissions nodes at a later date
  630. permissions:
  631. town_creation_admin_only: 'false'
  632. nation_creation_admin_only: 'true'
  633.  
  634. # The language file you wish to use
  635. language: english.yml
  636.  
  637. ############################################################
  638. # +------------------------------------------------------+ #
  639. # | Town Claim/new defaults | #
  640. # +------------------------------------------------------+ #
  641. ############################################################
  642.  
  643. town:
  644. # Limits the maximum amount of bonus blocks a town can buy.
  645. max_purchased_blocks: '0'
  646. # maximum number of plots any single resident can own
  647. max_plots_per_resident: '100'
  648. # Maximum number of towns allowed on the server.
  649. town_limit: '3000'
  650.  
  651. # Minimum number of plots any towns home plot must be from the next town.
  652. # This will prevent someone founding a town right on your doorstep
  653. min_distance_from_town_homeblock: '25'
  654.  
  655. # Maximum distance between homblocks.
  656. # This will force players to build close together.
  657. max_distance_between_homeblocks: '2000'
  658.  
  659. # The maximum townblocks available to a town is (numResidents * ratio).
  660. # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  661. town_block_ratio: '4'
  662. # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  663. # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  664. # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  665.  
  666. # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  667. town_block_size: '16'
  668.  
  669.  
  670. ############################################################
  671. # +------------------------------------------------------+ #
  672. # | Filters colour and chat | #
  673. # +------------------------------------------------------+ #
  674. ############################################################
  675.  
  676. filters_colour_chat:
  677. # This is the name given to any NPC assigned mayor.
  678. npc_prefix: NPC
  679. # Regex fields used in validating inputs.
  680. regex:
  681. name_filter_regex: '[ /]'
  682. name_check_regex: ^[a-zA-Z0-9._-]*$
  683. name_remove_regex: '[^a-zA-Z0-9._-]'
  684.  
  685. # The format below will specify the changes made to the player name when chatting.
  686. # These keys can be used in other plugins that modify the chat format like iChat.
  687.  
  688. # {worldname} - Displays the world the player is currently in.
  689. # {town} - Displays town name if a member of a town.
  690. # {townformatted} - Displays town name (if a member of a town) using tag_format.town.
  691. # {towntag} - Displays the formated town tag (if a member of a town) using modify_chat.tag_format.town.
  692. # {towntagoverride} - Displays the formated town tag (if a member of a town and present) or falls back to the full name (using modify_chat.tag_format.town).
  693.  
  694. # {nation} - Displays nation name if a member of a nation.
  695. # {nationformatted} - Displays nation name (if a member of a nation) using tag_format.town.
  696. # {nationtag} - Displays the formated nation tag (if a member of a nation) using modify_chat.tag_format.nation.
  697. # {nationtagoverride} - Displays the formated nation tag (if a member of a nation and present) or falls back to the full name (using modify_chat.tag_format.nation).
  698.  
  699. # {townytag} - Displays the formated town/nation tag as specified in modify_chat.tag_format.both.
  700. # {townyformatted} - Displays the formated full town/nation names as specified in modify_chat.tag_format.both.
  701. # {townytagoverride} - Displays the formated town/nation tag (if present) or falls back to the full names (using modify_chat.tag_format.both).
  702.  
  703. # {title} - Towny resident Title
  704. # {surname} - Towny resident surname
  705. # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels
  706. # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
  707. # {townyprefix} - Towny resident title, or townynameprefix if no title exists
  708. # {townypostfix} - Towny resident surname, or townynamepostfix if no surname exists
  709.  
  710. # {townycolor} - Towny name colour for king/mayor/resident
  711. # {group} - Players group name pulled from your permissions plugin
  712. # {permprefix} - Permission group prefix
  713. # {permsuffix} - Permission group suffix.
  714.  
  715. # The following keys are for use in modify_chat.format for if you don't have/want to use another
  716. # plugin that changes the chat.
  717.  
  718. # {playername} - Default player name.
  719. # {modplayername} - Modified player name (use if Towny is over writing some other plugins changes).
  720. # {msg} - The message sent.
  721.  
  722. # NOTICE: The config will automatically wrap really long strings. The long formats will be displayed ignoring
  723. # the line break. This will hopefully be fixed soon.
  724. modify_chat:
  725. # This is used for when you don't have another plugin to format chat.
  726. # It will cause Towny to overwrite any other plugins alterations to the format.
  727. enable: ''
  728. # This is the format for when you are not using another plugin to set the format and modify_chat.format is true.
  729. # You can use text colouring shown in filters.colour as well.
  730. chat_format: '{worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:
  731. {msg}'
  732.  
  733. tag_format:
  734. world: '&f[&f%s&f] '
  735. town: '&f[&3%s&f] '
  736. nation: '&f[&e%s&f] '
  737. # First %s is the nation tag, second is the town tag.
  738. both: '&f[&6%s&f|&3%s&f] '
  739.  
  740. channel_format:
  741. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour}
  742. {msg}'
  743. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour}
  744. {msg}'
  745. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  746.  
  747. # Channels are in the format: command, channel-tag, chat-colour, permission-node (to use channel).
  748. # Do ***NOT*** alter the commands for /tc and /nc.
  749. channels:
  750. - /g,,,towny.chat.global
  751. - /tc,&f[&3TC&f],&b,towny.chat.town
  752. - /nc,&f[&6NC&f],&e,towny.chat.nation
  753. - /a,&f[&4ADMIN&f],&c,towny.chat.admin
  754. - /mod,&f[&9MOD&f],&5,towny.chat.mod
  755.  
  756. # Maximum length of titles and surnames.
  757. max_title_length: '15'
  758.  
  759. # Text colouring
  760. # --------------
  761. # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
  762. # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
  763. # DarkPurple = &9, LightGreen = &a, LightBlue = &b
  764. # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
  765.  
  766. # Chat colours
  767. colour:
  768. king: '&6'
  769. mayor: '&b'
  770. resident: '&f'
  771.  
  772.  
  773. ############################################################
  774. # +------------------------------------------------------+ #
  775. # | Town Notifications | #
  776. # +------------------------------------------------------+ #
  777. ############################################################
  778.  
  779. # This is the format for the notifications sent as players move between plots.
  780. # Empty a particular format for it to be ignored.
  781.  
  782. # Example:
  783. # [notification.format]
  784. # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  785. # ... [notification.plot.format]
  786. # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  787. # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  788.  
  789. notification:
  790. format: '&6 ~ %s'
  791. splitter: '&7 - '
  792. area_wilderness: '&2%s'
  793. area_town: '&6%s'
  794. owner: '&a%s'
  795. no_owner: '&a%s'
  796. plot:
  797. splitter: ' '
  798. format: '%s'
  799. homeblock: '&b[Home]'
  800. forsale: '&e[For Sale: %s]'
  801. type: '&6[%s]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement