Advertisement
Guest User

Untitled

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