Advertisement
Guest User

TownyConfig

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