Advertisement
Guest User

config.yml

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