Advertisement
Guest User

tomo towny

a guest
Aug 14th, 2011
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.17 KB | None | 0 0
  1. name: Towny
  2. main: com.palmergames.bukkit.towny.Towny
  3. version: 0.74.0
  4. language: english.yml
  5. last_run_version: 0.74.0
  6. author: Shade, Modified by FuzzeWuzze. Forked by ElgarL
  7. website: http://code.google.com/a/eclipselabs.org/p/towny/
  8. description: >
  9. Resident-Town-Nation heirarchy combined with a grid based
  10. protection system. Including a war event.
  11.  
  12. depends: [MultiVerse]
  13.  
  14. ############################################################
  15. # +------------------------------------------------------+ #
  16. # | Towny commands | #
  17. # +------------------------------------------------------+ #
  18. ############################################################
  19.  
  20. commands:
  21. towny:
  22. aliases: []
  23. nation:
  24. aliases: [n, nat]
  25. nationchat:
  26. aliases: [nc]
  27. townchat:
  28. aliases: [tc]
  29. plot:
  30. aliases: []
  31. resident:
  32. aliases: [res, p, player]
  33. town:
  34. aliases: [t]
  35. townyadmin:
  36. aliases: [ta]
  37. townyworld:
  38. aliases: [tw]
  39.  
  40. ############################################################
  41. # +------------------------------------------------------+ #
  42. # | Permissions | #
  43. # +------------------------------------------------------+ #
  44. ############################################################
  45.  
  46. # Possible permission nodes
  47. #
  48. # 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.
  49. # towny.town.new :User is able to create a town
  50. # towny.town.claim : User is able to expand his town with /town claim
  51. # towny.town.resident : User is able to join towns upon invite.
  52. # towny.nation.new :User is able to create a nation
  53. # towny.wild.*: User is able to build/destroy in wild regardless.
  54. # towny.wild.build
  55. # towny.wild.destroy
  56. # towny.wild.switch
  57. # towny.wild.item_use
  58. # towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
  59. # towny.spawntp :Use /town spawn
  60. # towny.publicspawntp : Use "/town spawn [town]" (teleport to other towns)
  61. #
  62. #
  63.  
  64. permissions:
  65. towny.admin:
  66. description: 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.
  67. default: op
  68. children:
  69. towny.town.*: true
  70. towny.nation.new: true
  71. towny.wild.*: true
  72. towny.spawntp: true
  73. towny.publicspawntp: true
  74. towny.cheat.bypass: true
  75. towny.cheat.bypass:
  76. description: Disables the anti cheat code for players with this node.
  77. default: op
  78. towny.top:
  79. description: User has access to the "/towny top" commands.
  80. default: true
  81. towny.town.*:
  82. description: User can create a town and claim land.
  83. default: op
  84. children:
  85. towny.town.new: true
  86. towny.town.claim: true
  87. towny.town.resident: true
  88. towny.town.plot: true
  89. towny.town.resident:
  90. description: User is permitted to join towns.
  91. default: true
  92. towny.town.new:
  93. description: User is able to create a town
  94. default: true
  95. towny.town.claim:
  96. description: User is able to expand with /towny claim
  97. default: true
  98. towny.town.plot:
  99. description: User is able to purchase and own town plots.
  100. default: true
  101. towny.nation.new:
  102. description: User is able to create a nation
  103. default: true
  104. towny.wild.*:
  105. description: User can build/destroy in wild.
  106. default: op
  107. children:
  108. towny.wild.build: true
  109. towny.wild.switch: true
  110. towny.wild.destroy: true
  111. towny.wild.item_use: true
  112. towny.wild.build:
  113. description: User can build in wild.
  114. default: false
  115. towny.wild.destroy:
  116. description: User can destroy in wild.
  117. default: false
  118. towny.wild.switch:
  119. description: User can switch in wild.
  120. default: false
  121. towny.wild.item_use:
  122. description: User can use use items in wild.
  123. default: false
  124. towny.spawntp:
  125. description: User can use /town spawn when on in config.
  126. default: true
  127. towny.publicspawntp:
  128. description: User can use /town spawn <town> when on in config.
  129. default: true
  130.  
  131. # these will be moved to permissions nodes at a later date
  132.  
  133. nation_creation_admin_only: false
  134. town_creation_admin_only: false
  135.  
  136. ############################################################
  137. # +------------------------------------------------------+ #
  138. # | default Town levels | #
  139. # +------------------------------------------------------+ #
  140. ############################################################
  141.  
  142. townLevel:
  143. - numResidents: 0
  144. namePrefix: ''
  145. namePostfix: ' Ruins'
  146. mayorPrefix: 'Spirit '
  147. mayorPostfix: ''
  148. townBlockLimit: 1
  149. upkeepModifier: 1.0
  150. - numResidents: 1
  151. namePrefix: ''
  152. namePostfix: ' (Settlement)'
  153. mayorPrefix: 'Hermit '
  154. mayorPostfix: ''
  155. townBlockLimit: 16
  156. upkeepModifier: 1.0
  157. - numResidents: 2
  158. namePrefix: ''
  159. namePostfix: ' (Hamlet)'
  160. mayorPrefix: 'Chief '
  161. mayorPostfix: ''
  162. townBlockLimit: 32
  163. upkeepModifier: 1.0
  164. - numResidents: 6
  165. namePrefix: ''
  166. namePostfix: ' (Village)'
  167. mayorPrefix: 'Baron Von '
  168. mayorPostfix: ''
  169. townBlockLimit: 96
  170. upkeepModifier: 1.0
  171. - numResidents: 10
  172. namePrefix: ''
  173. namePostfix: ' (Town)'
  174. mayorPrefix: 'Viscount '
  175. mayorPostfix: ''
  176. townBlockLimit: 160
  177. upkeepModifier: 1.0
  178. - numResidents: 14
  179. namePrefix: ''
  180. namePostfix: ' (Large Town)'
  181. mayorPrefix: 'Count Von '
  182. mayorPostfix: ''
  183. townBlockLimit: 224
  184. upkeepModifier: 1.0
  185. - numResidents: 20
  186. namePrefix: ''
  187. namePostfix: ' (City)'
  188. mayorPrefix: 'Earl '
  189. mayorPostfix: ''
  190. townBlockLimit: 320
  191. upkeepModifier: 1.0
  192. - numResidents: 24
  193. namePrefix: ''
  194. namePostfix: ' (Large City)'
  195. mayorPrefix: 'Duke '
  196. mayorPostfix: ''
  197. townBlockLimit: 384
  198. upkeepModifier: 1.0
  199. - numResidents: 28
  200. namePrefix: ''
  201. namePostfix: ' (Metropolis)'
  202. mayorPrefix: 'Lord '
  203. mayorPostfix: ''
  204. townBlockLimit: 448
  205. upkeepModifier: 1.0
  206.  
  207. ############################################################
  208. # +------------------------------------------------------+ #
  209. # | default Nation levels | #
  210. # +------------------------------------------------------+ #
  211. ############################################################
  212.  
  213. nationLevel:
  214. - numResidents: 0
  215. namePrefix: 'Land of '
  216. namePostfix: ' (Nation)'
  217. capitalPrefix: ''
  218. capitalPostfix: ''
  219. kingPrefix: 'Leader '
  220. kingPostfix: ''
  221. upkeepModifier: 1.0
  222. - numResidents: 10
  223. namePrefix: 'Federation of '
  224. namePostfix: ' (Nation)'
  225. capitalPrefix: ''
  226. capitalPostfix: ''
  227. kingPrefix: 'Count '
  228. kingPostfix: ''
  229. upkeepModifier: 1.0
  230. - numResidents: 20
  231. namePrefix: 'Dominion of '
  232. namePostfix: ' (Nation)'
  233. capitalPrefix: ''
  234. capitalPostfix: ''
  235. kingPrefix: 'Duke '
  236. kingPostfix: ''
  237. upkeepModifier: 1.0
  238. - numResidents: 30
  239. namePrefix: 'Kingdom of '
  240. namePostfix: ' (Nation)'
  241. capitalPrefix: ''
  242. capitalPostfix: ''
  243. kingPrefix: 'King '
  244. kingPostfix: ''
  245. upkeepModifier: 1.0
  246. - numResidents: 40
  247. namePrefix: 'The '
  248. namePostfix: ' Empire'
  249. capitalPrefix: ''
  250. capitalPostfix: ''
  251. kingPrefix: 'Emperor '
  252. kingPostfix: ''
  253. upkeepModifier: 1.0
  254. - numResidents: 60
  255. namePrefix: 'The '
  256. namePostfix: ' Realm'
  257. capitalPrefix: ''
  258. capitalPostfix: ''
  259. kingPrefix: 'God Emperor '
  260. kingPostfix: ''
  261. upkeepModifier: 1.0
  262.  
  263.  
  264.  
  265. ############################################################
  266. # +------------------------------------------------------+ #
  267. # | Town Claim/new defaults | #
  268. # +------------------------------------------------------+ #
  269. ############################################################
  270.  
  271. # maximum number of plots any single resident can own
  272. max_plots_per_resident: 100
  273. # Maximum number of towns allowed on the server.
  274. town_limit: 3000
  275.  
  276. # Minimum number of plots any towns home plot must be from the next town.
  277. # This will prevent someone founding a town right on your doorstep
  278. min_distance_from_town_homeblock: 5
  279.  
  280. # Maximum distance between homblocks.
  281. # This will force players to build close together.
  282. max_distance_between_homeblocks: 0
  283.  
  284. # The maximum townblocks available to a town is (numResidents * ratio).
  285. # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  286. town_block_ratio: 16
  287. # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  288. # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  289. # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  290. # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  291. town_block_size: 16
  292.  
  293.  
  294. ############################################################
  295. # +------------------------------------------------------+ #
  296. # | Default new world settings | #
  297. # +------------------------------------------------------+ #
  298. ############################################################
  299.  
  300. # These flags are only used at the initial setp of a new world.
  301.  
  302. # Once Towny is running each world can be altered from within game
  303. # using '/townyworld toggle'
  304.  
  305. # force_pvp_on is a global flag and overrides any towns flag setting
  306. force_pvp_on: false
  307.  
  308. # force_explosions_on is a global flag and overrides any towns flag setting
  309. force_explosions_on: false
  310.  
  311. # world_monsters_on is a global flag setting per world.
  312. world_monsters_on: true
  313.  
  314. # force_monsters_on is a global flag and overrides any towns flag setting
  315. force_town_monsters_on: false
  316.  
  317. # force_fire_on is a global flag and overrides any towns flag setting
  318. force_fire_on: false
  319.  
  320. # Disable creatures trampling crops
  321. disable_creature_crop_trampling: true
  322.  
  323. # Disable players trampling crops
  324. disable_player_crop_trampling: true
  325.  
  326. ############################################################
  327. # +------------------------------------------------------+ #
  328. # | Global town settings | #
  329. # +------------------------------------------------------+ #
  330. ############################################################
  331.  
  332. # can residents/Allies harm other residents when in a town with pvp enabled?
  333. friendly_fire: true
  334.  
  335. # Players within their town or allied towns will regenerate half a heart after every health_regen_speed milliseconds.
  336. health_regen: false
  337. health_regen_speed: 3000
  338.  
  339. # Enables taxes to be collected daily by town/nation
  340. # If a town can't pay it's tax then it is kicked from the nation.
  341. # if a resident can't pay his plot tax he loses his plot.
  342. # if a resident can't pay his town tax then he is kicked from the town.
  343. # if a town or nation fails to pay it's upkeep it is deleted.
  344. daily_taxes: true
  345.  
  346. # Allow towns to claim outposts (a townblock not connected to town).
  347. allow_outposts: true
  348.  
  349. # all the use of /town spawn
  350. allow_town_spawn: true
  351. # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  352. allow_town_spawn_travel: true
  353. # Respawn the player at his town spawn point when he/she dies.
  354. town_respawn: true
  355.  
  356. # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  357. # Allowed options: unclaimed, enemy, neutral
  358. prevent_town_spawn_in: enemy
  359.  
  360. # Enables the [~Home] message.
  361. # If false it will make it harder for enemies to find the home block during a war
  362. show_town_notifications: true
  363.  
  364. ############################################################
  365. # +------------------------------------------------------+ #
  366. # | Plugin interfacing | #
  367. # +------------------------------------------------------+ #
  368. ############################################################
  369.  
  370. using_essentials: false
  371. using_iconomy: true
  372. using_permissions: true
  373. using_questioner: true
  374.  
  375. database_load: flatfile
  376. database_save: flatfile
  377. daily_backups: true
  378. flatfile_backup: zip
  379.  
  380. # The time taken between each "day". At the start of each day, taxes will be collected.
  381. # Judged in milliseconds. Default is 24 hours.
  382. day_interval: 86400000
  383.  
  384. # Lots of messages to tell you what's going on in the server with time taken for events.
  385. debug_mode: false
  386.  
  387. # Spams the player named in dev_name with all messages related to towny.
  388. dev_mode: false
  389. dev_name: ElgarL
  390.  
  391. # Record all messages to the towny.log
  392. logging: true
  393.  
  394. # If true this will cause the log to be wiped at every startup.
  395. reset_log_on_boot: true
  396.  
  397.  
  398. ############################################################
  399. # +------------------------------------------------------+ #
  400. # | Filters colour and chat | #
  401. # +------------------------------------------------------+ #
  402. ############################################################
  403.  
  404. name_check_regex: '^[a-zA-Z0-9._-]*$'
  405. name_filter_regex: '[ /]'
  406. name_remove_regex: '[^a-zA-Z0-9._-]'
  407.  
  408. # Not a good idea to change this at the moment.
  409. npc_prefix: 'NPC'
  410.  
  411. # The format below will specify the changes made to the player name when chatting.
  412. # keys are
  413. # {nation} - Displays nation name in [ ] if a member of a nation.
  414. # {town} - Displays town name in [ ] if a member of a town.
  415. # {permprefix} - Permission group prefix
  416. # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels
  417. # {playername} - default player name
  418. # {modplayername} - modified player name (use if Towny is over writing some other plugins changes).
  419. # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
  420. # {permsuffix} - Permission group suffix.
  421. modify_chat: '{nation}{town}{permprefix}{townynameprefix}{playername}{townynamepostfix}{permsuffix}'
  422.  
  423.  
  424. # Text colouring
  425. # --------------
  426. # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
  427. # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
  428. # DarkPurple = &9, LightGreen = &a, LightBlue = &b
  429. # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
  430.  
  431. # Chat colours
  432.  
  433. # King/Mayor
  434. colour_king: '&6'
  435. colour_mayor: '&b'
  436.  
  437.  
  438. ############################################################
  439. # +------------------------------------------------------+ #
  440. # | block/item/mob protection | #
  441. # +------------------------------------------------------+ #
  442. ############################################################
  443.  
  444. protection:
  445. # Items that can be blocked within towns via town/plot flags
  446. # 259 - flint and steel
  447. # 325 - bucket
  448. # 326 - water bucket
  449. # 327 - lava bucket
  450. # 351 - bone/bonemeal
  451.  
  452. item_use_ids: 259,325,326,327,351
  453.  
  454. # Items which can be blocked or enabled via town/plot flags
  455. # 25 - noteblock
  456. # 54 - chest
  457. # 61 - furnace
  458. # 62 - lit furnace
  459. # 64 - wooden door
  460. # 69 - lever
  461. # 70 - stone pressure plate
  462. # 71 - iron door
  463. # 72 - wooden pressure plate
  464. # 77 - stone button
  465. # 96 - trap door
  466. # 84 - jukebox
  467. # 93/94 - redstone repeater
  468.  
  469. switch_ids: 25,54,61,62,64,69,70,71,72,77,96,84,93,94
  470.  
  471. # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  472. # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  473. # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  474.  
  475. # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  476.  
  477. town_mob_removal_entities: Monster,WaterMob,Flying,Slime
  478.  
  479. # Globally remove living entities in all worlds that have their flag set.
  480.  
  481. world_mob_removal_entities: WaterMob,Flying,Slime
  482.  
  483. # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  484. # Lower values will check all entities more often at the risk of heavier burden and resource use.
  485. # NEVER set below 1000 (guestimate)
  486. mob_removal_speed: 5000
  487.  
  488. # Prevent fly and double block jump cheats.
  489. cheat_protection: true
  490.  
  491.  
  492. ############################################################
  493. # +------------------------------------------------------+ #
  494. # | Unclaimed plot settings | #
  495. # +------------------------------------------------------+ #
  496. ############################################################
  497.  
  498. unclaimed:
  499.  
  500. unclaimed_zone_build: true
  501. unclaimed_zone_destroy: true
  502. unclaimed_zone_item_use: true
  503. unclaimed_zone_switch: true
  504. unclaimed_zone_ignore:
  505.  
  506.  
  507. ############################################################
  508. # +------------------------------------------------------+ #
  509. # | Default Town/Plot flags | #
  510. # +------------------------------------------------------+ #
  511. ############################################################
  512.  
  513. # Default permission flags for towns
  514. # These are copied into the town data file at creation
  515.  
  516. default_perm_flags:
  517.  
  518. # Can allies/outsiders/residents perform certain actions in the town
  519.  
  520. # build - place blocks and other items
  521. # destroy - break blocks and other items
  522. # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  523. # switch - trigger or activate switches (as defined in switch_ids)
  524. default_town_perm_ally_build: false
  525. default_town_perm_ally_destroy: false
  526. default_town_perm_ally_itemuse: false
  527. default_town_perm_ally_switch: false
  528. default_town_perm_outsider_build: false
  529. default_town_perm_outsider_destroy: false
  530. default_town_perm_outsider_itemuse: false
  531. default_town_perm_outsider_switch: false
  532. default_town_perm_resident_build: true
  533. default_town_perm_resident_destroy: true
  534. default_town_perm_resident_itemuse: true
  535. default_town_perm_resident_switch: true
  536.  
  537. # Default permission flags for residents plots within a town
  538.  
  539. # Can allies/friends/outsiders perform certain actions in the town
  540.  
  541. # build - place blocks and other items
  542. # destroy - break blocks and other items
  543. # itemuse - use items such as furnaces (as defined in item_use_ids)
  544. # switch - trigger or activate switches (as defined in switch_ids)
  545. default_resident_perm_ally_build: false
  546. default_resident_perm_ally_destroy: false
  547. default_resident_perm_ally_itemuse: false
  548. default_resident_perm_ally_switch: false
  549. default_resident_perm_friend_build: true
  550. default_resident_perm_friend_destroy: true
  551. default_resident_perm_friend_itemuse: true
  552. default_resident_perm_friend_switch: true
  553. default_resident_perm_outsider_build: false
  554. default_resident_perm_outsider_destroy: false
  555. default_resident_perm_outsider_itemuse: false
  556. default_resident_perm_outsider_switch: false
  557.  
  558.  
  559. ############################################################
  560. # +------------------------------------------------------+ #
  561. # | Resident settings | #
  562. # +------------------------------------------------------+ #
  563. ############################################################
  564.  
  565. # player is flagged as inactive after 1 hour (default)
  566. inactive_after_time: 86400000
  567.  
  568. # if enabled old residents will be kicked and deleted from a town
  569. # after Two months (default) of not logging in
  570. delete_old_residents: false
  571. deleted_after_time: 5184000000
  572.  
  573. # The name of the town a resident will automatically join when he first registers.
  574. default_town_name: ''
  575.  
  576.  
  577. ############################################################
  578. # +------------------------------------------------------+ #
  579. # | Economy settings | #
  580. # +------------------------------------------------------+ #
  581. ############################################################
  582.  
  583. economy:
  584.  
  585. # Cost to use /town spawn
  586. price_town_spawn_travel: 20.0
  587.  
  588. # Cost to use /town spawn [town]
  589. # This is paid to the town you goto.
  590. price_town_public_spawn_travel: 10.0
  591.  
  592. price_death: 10.0
  593. price_death_wartime: 200.0
  594.  
  595. # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  596. price_nation_neutrality: 100.0
  597.  
  598. # How much it costs to start a nation.
  599. price_new_nation: 10000.0
  600. # How much it costs to start a town.
  601. price_new_town: 2500.0
  602. # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  603. price_outpost: 5000.0
  604.  
  605. # The price for a town to expand one townblock.
  606. price_claim_townblock: 250.0
  607.  
  608. # The server's daily charge on each nation. If a nation fails to pay this upkeep
  609. # all of it's member town are kicked and the Nation is removed.
  610. price_nation_upkeep: 100.0
  611.  
  612. # The server's daily charge on each town. If a town fails to pay this upkeep
  613. # all of it's residents are kicked and the town is removed.
  614. price_town_upkeep: 10.0
  615.  
  616.  
  617.  
  618.  
  619.  
  620. ############################################################
  621. # +------------------------------------------------------+ #
  622. # | Wartime settings | #
  623. # +------------------------------------------------------+ #
  624. ############################################################
  625.  
  626. #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  627. wartime_nation_can_be_neutral: true
  628. wartime_base_spoils: 100.0
  629. wartime_home_block_hp: 120
  630. wartime_min_height: 60
  631. wartime_points_kill: 1
  632. wartime_points_nation: 100
  633. wartime_points_town: 10
  634. wartime_points_townblock: 1
  635. wartime_remove_on_monarch_death: false
  636. wartime_town_block_hp: 60
  637. wartime_town_block_loss_price: 100.0
  638. wartime_warning_delay: 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement