Advertisement
aoa2003

Untitled

Oct 21st, 2011
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.13 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,326,327
  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: Monster,WaterMob,Flying,Slime
  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: 3s
  49.  
  50. # Prevent fly and double block jump cheats.
  51. cheat_protection: 'false'
  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.0'
  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: '250.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: '500.0'
  147. # The price for a town to expand one townblock.
  148. price_claim_townblock: '25.0'
  149. # How much it costs a player to buy extra blocks.
  150. price_purchased_bonus_townblock: '25.0'
  151.  
  152. price_death: '1.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.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.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: '100.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: 'true'
  206. # Disable creatures trampling crops
  207. disable_creature_crop_trampling: 'true'
  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: 'false'
  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. wild_revert_on_mob_explosion:
  247.  
  248. # Enabling this will slowly regenerate holes created in the
  249. # wilderness by monsters exploding.
  250. enabled: 'true'
  251. delay: 3s
  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: 'false'
  263. # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  264. health_regen:
  265. speed: 3s
  266. enable: 'true'
  267. # Allow towns to claim outposts (a townblock not connected to town).
  268. allow_outposts: 'true'
  269. # Allow the use of /town spawn
  270. allow_town_spawn: 'true'
  271. # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  272. allow_town_spawn_travel: 'true'
  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: 'false'
  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: 90d
  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: 'true'
  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.0.1
  430. # This is for showing the changelog on updates. Please do not edit.
  431. last_run_version: 0.77.0.1
  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: 'Firelord '
  449. namePrefix: 'Land of '
  450. numResidents: 0
  451. capitalPrefix: ''
  452. kingPostfix: ''
  453. - capitalPostfix: ''
  454. upkeepModifier: 1.0
  455. namePostfix: ' (Nation)'
  456. kingPrefix: 'Firelord '
  457. namePrefix: 'Federation of '
  458. numResidents: 5
  459. capitalPrefix: ''
  460. kingPostfix: ''
  461. - capitalPostfix: ''
  462. upkeepModifier: 1.0
  463. namePostfix: ' (Nation)'
  464. kingPrefix: 'Fireduke '
  465. namePrefix: 'Dominion of '
  466. numResidents: 10
  467. capitalPrefix: ''
  468. kingPostfix: ''
  469. - capitalPostfix: ''
  470. upkeepModifier: 1.0
  471. namePostfix: ' (Nation)'
  472. kingPrefix: 'Fireking '
  473. namePrefix: 'Kingdom of '
  474. numResidents: 15
  475. capitalPrefix: ''
  476. kingPostfix: ''
  477. - capitalPostfix: ''
  478. upkeepModifier: 1.0
  479. namePostfix: ' Empire'
  480. kingPrefix: 'Fireking '
  481. namePrefix: 'The '
  482. numResidents: 20
  483. capitalPrefix: ''
  484. kingPostfix: ''
  485. - capitalPostfix: ''
  486. upkeepModifier: 1.0
  487. namePostfix: ' Realm'
  488. kingPrefix: 'Firegod '
  489. namePrefix: 'The '
  490. numResidents: 25
  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: ' (Town)'
  512. mayorPrefix: 'Viscount '
  513. mayorPostfix: ''
  514. townBlockLimit: 0
  515. namePrefix: ''
  516. numResidents: 3
  517. - upkeepModifier: 1.0
  518. namePostfix: ' (Large Town)'
  519. mayorPrefix: 'Count Von '
  520. mayorPostfix: ''
  521. townBlockLimit: 0
  522. namePrefix: ''
  523. numResidents: 6
  524. - upkeepModifier: 1.0
  525. namePostfix: ' (City)'
  526. mayorPrefix: 'Earl '
  527. mayorPostfix: ''
  528. townBlockLimit: 0
  529. namePrefix: ''
  530. numResidents: 9
  531. - upkeepModifier: 1.0
  532. namePostfix: ' (Large City)'
  533. mayorPrefix: 'Duke '
  534. mayorPostfix: ''
  535. townBlockLimit: 0
  536. namePrefix: ''
  537. numResidents: 12
  538. - upkeepModifier: 1.0
  539. namePostfix: ' (Metropolis)'
  540. mayorPrefix: 'Lord '
  541. mayorPostfix: ''
  542. townBlockLimit: 0
  543. namePrefix: ''
  544. numResidents: 15
  545.  
  546.  
  547. ############################################################
  548. # +------------------------------------------------------+ #
  549. # | Resident settings | #
  550. # +------------------------------------------------------+ #
  551. ############################################################
  552.  
  553. resident_settings:
  554. # player is flagged as inactive after 1 hour (default)
  555. inactive_after_time: 7d
  556. # if enabled old residents will be kicked and deleted from a town
  557. # after Two months (default) of not logging in
  558. delete_old_residents:
  559. enable: 'false'
  560. deleted_after_time: 60d
  561. # The name of the town a resident will automatically join when he first registers.
  562. default_town_name: ''
  563.  
  564.  
  565. ############################################################
  566. # +------------------------------------------------------+ #
  567. # | Wilderness settings | #
  568. # +------------------------------------------------------+ #
  569. ############################################################
  570.  
  571. unclaimed:
  572. unclaimed_zone_build: 'true'
  573. unclaimed_zone_destroy: 'true'
  574. unclaimed_zone_item_use: 'true'
  575. 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
  576. unclaimed_zone_switch: 'true'
  577. unclaimed_zone_enderman_protect: 'true'
  578.  
  579. ############################################################
  580. # +------------------------------------------------------+ #
  581. # | Permission nodes | #
  582. # +------------------------------------------------------+ #
  583. ############################################################
  584.  
  585. # Possible permission nodes
  586. #
  587. # 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.
  588. # towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
  589. # towny.town.new :User is able to create a town
  590. # towny.town.delete :User is able to delete their town
  591. # towny.town.claim : User is able to expand his town with /town claim
  592. # towny.town.plot : User is able to use the /plot commands
  593. # towny.town.resident : User is able to join towns upon invite.
  594. # towny.town.toggle.*: User can access all town toggle commands (if a mayor or assistant).
  595. # towny.town.toggle.pvp
  596. # towny.town.toggle.public
  597. # towny.town.toggle.explosions
  598. # towny.town.toggle.fire
  599. # towny.town.toggle.mobs
  600. # towny.nation.new :User is able to create a nation
  601. # towny.nation.delete :User is able to delete their nation
  602. # towny.wild.*: User is able to build/destroy in wild regardless.
  603. # towny.wild.build
  604. # towny.wild.destroy
  605. # towny.wild.switch
  606. # towny.wild.item_use
  607. # towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
  608. # towny.town.spawn.*: Grants all Spawn travel nodes
  609. # towny.town.spawn.town : Ability to spawn to your own town.
  610. # towny.town.spawn.nation : Ability to spawn to other towns in your nation.
  611. # towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
  612. # towny.town.spawn.public : Ability to spawn to unaffilated public towns.
  613. #
  614. # these will be moved to permissions nodes at a later date
  615. permissions:
  616. town_creation_admin_only: 'true'
  617. nation_creation_admin_only: 'true'
  618.  
  619. # The language file you wish to use
  620. language: english.yml
  621.  
  622. ############################################################
  623. # +------------------------------------------------------+ #
  624. # | Town Claim/new defaults | #
  625. # +------------------------------------------------------+ #
  626. ############################################################
  627.  
  628. town:
  629. # Limits the maximum amount of bonus blocks a town can buy.
  630. max_purchased_blocks: '250'
  631. # maximum number of plots any single resident can own
  632. max_plots_per_resident: '12'
  633. # Maximum number of towns allowed on the server.
  634. town_limit: '3000'
  635.  
  636. # Minimum number of plots any towns home plot must be from the next town.
  637. # This will prevent someone founding a town right on your doorstep
  638. min_distance_from_town_homeblock: '10'
  639.  
  640. # Maximum distance between homblocks.
  641. # This will force players to build close together.
  642. max_distance_between_homeblocks: '0'
  643.  
  644. # The maximum townblocks available to a town is (numResidents * ratio).
  645. # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  646. town_block_ratio: '16'
  647. # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  648. # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  649. # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  650. # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  651. town_block_size: '16'
  652.  
  653.  
  654. ############################################################
  655. # +------------------------------------------------------+ #
  656. # | Filters colour and chat | #
  657. # +------------------------------------------------------+ #
  658. ############################################################
  659.  
  660. filters_colour_chat:
  661. # This is the name given to any NPC assigned mayor.
  662. npc_prefix: NPC
  663. # Regex fields used in validating inputs.
  664. regex:
  665. name_filter_regex: '[ /]'
  666. name_check_regex: ^[a-zA-Z0-9._-]*$
  667. name_remove_regex: '[^a-zA-Z0-9._-]'
  668.  
  669. # The format below will specify the changes made to the player name when chatting.
  670. # These keys can be used in other plugins that modify the chat format like iChat.
  671.  
  672. # {town} - Displays town name if a member of a town.
  673. # {townformatted} - Displays town name (if a member of a town) using tag_format.town.
  674. # {towntag} - Displays the formated town tag (if a member of a town) using modify_chat.tag_format.town.
  675. # {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).
  676.  
  677. # {nation} - Displays nation name if a member of a nation.
  678. # {nationformatted} - Displays nation name (if a member of a nation) using tag_format.town.
  679. # {nationtag} - Displays the formated nation tag (if a member of a nation) using modify_chat.tag_format.nation.
  680. # {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).
  681.  
  682. # {townytag} - Displays the formated town/nation tag as specified in modify_chat.tag_format.both.
  683. # {townyformatted} - Displays the formated full town/nation names as specified in modify_chat.tag_format.both.
  684. # {townytagoverride} - Displays the formated town/nation tag (if present) or falls back to the full names (using modify_chat.tag_format.both).
  685.  
  686. # {title} - Towny resident Title
  687. # {surname} - Towny resident surname
  688. # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels
  689. # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
  690. # {townyprefix} - Towny resident title, or townynameprefix if no title exists
  691. # {townypostfix} - Towny resident surname, or townynamepostfix if no surname exists
  692.  
  693. # {townycolor} - Towny name colour for king/mayor/resident
  694. # {group} - Players group name pulled from your permissions plugin
  695. # {permprefix} - Permission group prefix
  696. # {permsuffix} - Permission group suffix.
  697.  
  698. # The following keys are for use in modify_chat.format for if you don't have/want to use another
  699. # plugin that changes the chat.
  700.  
  701. # {playername} - Default player name.
  702. # {modplayername} - Modified player name (use if Towny is over writing some other plugins changes).
  703. # {msg} - The message sent.
  704.  
  705. # NOTICE: The config will automatically wrap really long strings. The long formats will be displayed ignoring
  706. # the line break. This will hopefully be fixed soon.
  707. modify_chat:
  708. # This is used for when you don't have another plugin to format chat.
  709. # It will cause Towny to overwrite any other plugins alterations to the format.
  710. enable: 'true'
  711. # This is the format for when you are not using another plugin to set the format and modify_chat.format is true.
  712. # You can use text colouring shown in filters.colour as well.
  713. format: '{nation}{town}{permprefix}{townynameprefix}{playername}{townynamepostfix}{permsuffix}'
  714.  
  715. tag_format:
  716. town: '&f[&3%s&f] '
  717. nation: '&f[&e%s&f] '
  718. # First %s is the nation tag, second is the town tag.
  719. both: '&f[&6%s&f|&3%s&f] '
  720.  
  721. channel_format:
  722. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour}
  723. {msg}'
  724. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour}
  725. {msg}'
  726. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  727.  
  728. # Channels are in the format: command, channel-tag, chat-colour, permission-node (to use channel).
  729. # Do ***NOT*** alter the commands for /tc and /nc.
  730. channels:
  731. - /tc,&f[&3TC&f],&b,towny.chat.town
  732. - /nc,&f[&6NC&f],&e,towny.chat.nation
  733. - /a,&f[&4ADMIN&f],&c,towny.chat.admin
  734. - /m,&f[&9MOD&f],&5,towny.chat.mod
  735.  
  736. # Maximum length of titles and surnames.
  737. max_title_length: '10'
  738.  
  739. # Text colouring
  740. # --------------
  741. # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
  742. # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
  743. # DarkPurple = &9, LightGreen = &a, LightBlue = &b
  744. # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
  745.  
  746. # Chat colours
  747. colour:
  748. king: '&6'
  749. mayor: '&b'
  750. resident: '&f'
  751.  
  752.  
  753. ############################################################
  754. # +------------------------------------------------------+ #
  755. # | Town Notifications | #
  756. # +------------------------------------------------------+ #
  757. ############################################################
  758.  
  759. # This is the format for the notifications sent as players move between plots.
  760. # Empty a particular format for it to be ignored.
  761.  
  762. # Example:
  763. # [notification.format]
  764. # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  765. # ... [notification.plot.format]
  766. # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  767. # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  768.  
  769. notification:
  770. format: '&6 ~ %s'
  771. splitter: '&7 - '
  772. area_wilderness: '&2%s'
  773. area_town: '&6%s'
  774. owner: '&a%s'
  775. no_owner: '&a%s'
  776. plot:
  777. splitter: ' '
  778. format: '%s'
  779. homeblock: '&b[Home]'
  780. forsale: '&e[For Sale: %s]'
  781. type: '&6[%s]'
  782.  
  783.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement