Advertisement
Guest User

Untitled

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