Advertisement
Guest User

Towny Problem

a guest
Sep 5th, 2011
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.98 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: 'true'
  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: 5s
  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: 'false'
  77. build: 'false'
  78. outsider:
  79. destroy: 'false'
  80. item_use: 'false'
  81. switch: 'false'
  82. build: 'false'
  83. resident:
  84. destroy: 'true'
  85. item_use: 'true'
  86. switch: 'true'
  87. build: 'true'
  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: 'false'
  110. item_use: 'true'
  111. switch: 'false'
  112. build: 'false'
  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: '10000.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: '0.0'
  135. # The price for a town to expand one townblock.
  136. price_claim_townblock: '50.0'
  137. price_death: '1.0'
  138. # How much it costs a player to buy extra blocks.
  139. price_purchased_bonus_townblock: '200.0'
  140. # How much it costs to start a nation.
  141. price_new_nation: '100000000.0'
  142. # The server's daily charge on each nation. If a nation fails to pay this upkeep
  143. # all of it's member town are kicked and the Nation is removed.
  144. price_nation_upkeep: '100.0'
  145. # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  146. price_nation_neutrality: '100'
  147.  
  148.  
  149. ############################################################
  150. # +------------------------------------------------------+ #
  151. # | Default new world settings | #
  152. # +------------------------------------------------------+ #
  153. ############################################################
  154.  
  155. # These flags are only used at the initial setp of a new world.
  156.  
  157. # Once Towny is running each world can be altered from within game
  158. # using '/townyworld toggle'
  159.  
  160. new_world_settings:
  161. # force_pvp_on is a global flag and overrides any towns flag setting
  162. force_pvp_on: 'false'
  163. # force_fire_on is a global flag and overrides any towns flag setting
  164. force_fire_on: 'false'
  165. # World management settings to deal with un/claiming plots
  166. plot_management:
  167. enabled: 'true'
  168. # These items will be deleted upon a plot being unclaimed
  169. unclaim_delete: 26,50,55,63,64,68,70,71,72,75,76,93,94
  170. # force_town_monsters_on is a global flag and overrides any towns flag setting
  171. force_town_monsters_on: 'false'
  172. # Disable creatures trampling crops
  173. disable_creature_crop_trampling: 'true'
  174. # force_explosions_on is a global flag and overrides any towns flag setting
  175. force_explosions_on: 'false'
  176. # Disable players trampling crops
  177. disable_player_crop_trampling: 'true'
  178. # world_monsters_on is a global flag setting per world.
  179. world_monsters_on: 'false'
  180.  
  181.  
  182. ############################################################
  183. # +------------------------------------------------------+ #
  184. # | Global town settings | #
  185. # +------------------------------------------------------+ #
  186. ############################################################
  187.  
  188. global_town_settings:
  189.  
  190. # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  191. # Allowed options: unclaimed,enemy,neutral
  192. prevent_town_spawn_in: enemy
  193. # Allow the use of /town spawn
  194. allow_town_spawn: 'true'
  195.  
  196. # Enables taxes to be collected daily by town/nation
  197. # If a town can't pay it's tax then it is kicked from the nation.
  198. # if a resident can't pay his plot tax he loses his plot.
  199. # if a resident can't pay his town tax then he is kicked from the town.
  200. # if a town or nation fails to pay it's upkeep it is deleted.
  201. daily_taxes: 'true'
  202. # Respawn the player at his town spawn point when he/she dies
  203. town_respawn: 'false'
  204.  
  205. # Maximum amount of money allowed in town bank
  206. # Use 0 for no limit
  207. bank_cap: '0'
  208. # can residents/Allies harm other residents when in a town with pvp enabled?
  209. friendly_fire: 'true'
  210.  
  211. # Set to true to allow withdrawls from town banks
  212. bank_allow_withdrawls: 'false'
  213. # If non zero it delays any spawn request by x seconds.
  214. teleport_warmup_time: '0'
  215. # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  216. health_regen:
  217. speed: '3'
  218. enable: 'true'
  219. # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  220. allow_town_spawn_travel: 'true'
  221. # Allow towns to claim outposts (a townblock not connected to town).
  222. allow_outposts: 'false'
  223. # Enables the [~Home] message.
  224. # If false it will make it harder for enemies to find the home block during a war
  225. show_town_notifications: 'true'
  226.  
  227.  
  228. ############################################################
  229. # +------------------------------------------------------+ #
  230. # | Wartime settings | #
  231. # +------------------------------------------------------+ #
  232. ############################################################
  233.  
  234. war:
  235. wartime_points_kill: '1'
  236. wartime_home_block_hp: '120'
  237. wartime_remove_on_monarch_death: 'false'
  238. wartime_points_town: '10'
  239. wartime_warning_delay: '30'
  240. #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  241. wartime_nation_can_be_neutral: 'true'
  242. wartime_points_townblock: '1'
  243. wartime_min_height: '60'
  244. wartime_town_block_loss_price: '100'
  245. wartime_points_nation: '100'
  246. wartime_base_spoils: '100'
  247. wartime_town_block_hp: '60'
  248.  
  249.  
  250. ############################################################
  251. # +------------------------------------------------------+ #
  252. # | Plugin interfacing | #
  253. # +------------------------------------------------------+ #
  254. ############################################################
  255.  
  256. plugin:
  257. # The time taken between each "day". At the start of each day, taxes will be collected.
  258. # Judged in seconds. Default is 24 hours.
  259. day_interval: 1d
  260. interfacing:
  261. # Enable if you are using cooldowns in essentials for teleports.
  262. using_essentials: 'true'
  263. using_permissions: 'true'
  264. using_questioner: 'true'
  265. using_iconomy: 'true'
  266. # Record all messages to the towny.log
  267. logging: 'true'
  268. # Lots of messages to tell you what's going on in the server with time taken for events.
  269. debug_mode: 'false'
  270. # If true this will cause the log to be wiped at every startup.
  271. reset_log_on_boot: 'true'
  272. database:
  273. database_save: flatfile
  274. flatfile_backup: zip
  275. database_load: flatfile
  276. daily_backups: 'true'
  277. # Spams the player named in dev_name with all messages related to towny.
  278. dev_mode:
  279. dev_name: ElgarL
  280. enable: 'false'
  281. version:
  282. last_run_version: 0.76.0
  283. # This is for showing the changelog on updates. Please do not edit.
  284. version: 0.76.0
  285. levels:
  286.  
  287. ############################################################
  288. # +------------------------------------------------------+ #
  289. # | default Nation levels | #
  290. # +------------------------------------------------------+ #
  291. ############################################################
  292.  
  293. nation_level:
  294. - capitalPostfix: ''
  295. upkeepModifier: 1.0
  296. namePostfix: ' (Nation)'
  297. kingPrefix: 'Leader '
  298. namePrefix: 'Land of '
  299. numResidents: 0
  300. capitalPrefix: ''
  301. kingPostfix: ''
  302. - capitalPostfix: ''
  303. upkeepModifier: 1.0
  304. namePostfix: ' (Nation)'
  305. kingPrefix: 'Count '
  306. namePrefix: 'Federation of '
  307. numResidents: 10
  308. capitalPrefix: ''
  309. kingPostfix: ''
  310. - capitalPostfix: ''
  311. upkeepModifier: 1.0
  312. namePostfix: ' (Nation)'
  313. kingPrefix: 'Duke '
  314. namePrefix: 'Dominion of '
  315. numResidents: 20
  316. capitalPrefix: ''
  317. kingPostfix: ''
  318. - capitalPostfix: ''
  319. upkeepModifier: 1.0
  320. namePostfix: ' (Nation)'
  321. kingPrefix: 'King '
  322. namePrefix: 'Kingdom of '
  323. numResidents: 30
  324. capitalPrefix: ''
  325. kingPostfix: ''
  326. - capitalPostfix: ''
  327. upkeepModifier: 1.0
  328. namePostfix: ' Empire'
  329. kingPrefix: 'Emperor '
  330. namePrefix: 'The '
  331. numResidents: 40
  332. capitalPrefix: ''
  333. kingPostfix: ''
  334. - capitalPostfix: ''
  335. upkeepModifier: 1.0
  336. namePostfix: ' Realm'
  337. kingPrefix: 'God Emperor '
  338. namePrefix: 'The '
  339. numResidents: 60
  340. capitalPrefix: ''
  341. kingPostfix: ''
  342.  
  343. ############################################################
  344. # +------------------------------------------------------+ #
  345. # | default Town levels | #
  346. # +------------------------------------------------------+ #
  347. ############################################################
  348.  
  349. town_level:
  350. - upkeepModifier: 1.0
  351. namePostfix: ' Ruins'
  352. mayorPrefix: 'Spirit '
  353. mayorPostfix: ''
  354. townBlockLimit: 1
  355. namePrefix: ''
  356. numResidents: 0
  357. - upkeepModifier: 1.0
  358. namePostfix: ' (Settlement)'
  359. mayorPrefix: 'Hermit '
  360. mayorPostfix: ''
  361. townBlockLimit: 16
  362. namePrefix: ''
  363. numResidents: 1
  364. - upkeepModifier: 1.0
  365. namePostfix: ' (Hamlet)'
  366. mayorPrefix: 'Chief '
  367. mayorPostfix: ''
  368. townBlockLimit: 32
  369. namePrefix: ''
  370. numResidents: 2
  371. - upkeepModifier: 1.0
  372. namePostfix: ' (Village)'
  373. mayorPrefix: 'Baron Von '
  374. mayorPostfix: ''
  375. townBlockLimit: 96
  376. namePrefix: ''
  377. numResidents: 6
  378. - upkeepModifier: 1.0
  379. namePostfix: ' (Town)'
  380. mayorPrefix: 'Viscount '
  381. mayorPostfix: ''
  382. townBlockLimit: 160
  383. namePrefix: ''
  384. numResidents: 10
  385. - upkeepModifier: 1.0
  386. namePostfix: ' (Large Town)'
  387. mayorPrefix: 'Count Von '
  388. mayorPostfix: ''
  389. townBlockLimit: 224
  390. namePrefix: ''
  391. numResidents: 14
  392. - upkeepModifier: 1.0
  393. namePostfix: ' (City)'
  394. mayorPrefix: 'Earl '
  395. mayorPostfix: ''
  396. townBlockLimit: 320
  397. namePrefix: ''
  398. numResidents: 20
  399. - upkeepModifier: 1.0
  400. namePostfix: ' (Large City)'
  401. mayorPrefix: 'Duke '
  402. mayorPostfix: ''
  403. townBlockLimit: 384
  404. namePrefix: ''
  405. numResidents: 24
  406. - upkeepModifier: 1.0
  407. namePostfix: ' (Metropolis)'
  408. mayorPrefix: 'Lord '
  409. mayorPostfix: ''
  410. townBlockLimit: 448
  411. namePrefix: ''
  412. numResidents: 28
  413.  
  414.  
  415. ############################################################
  416. # +------------------------------------------------------+ #
  417. # | Resident settings | #
  418. # +------------------------------------------------------+ #
  419. ############################################################
  420.  
  421. resident_settings:
  422. # player is flagged as inactive after 1 hour (default)
  423. inactive_after_time: 1h
  424. # The name of the town a resident will automatically join when he first registers.
  425. default_town_name: ''
  426. # if enabled old residents will be kicked and deleted from a town
  427. # after Two months (default) of not logging in
  428. delete_old_residents:
  429. enable: 'false'
  430. deleted_after_time: 60d
  431.  
  432.  
  433. ############################################################
  434. # +------------------------------------------------------+ #
  435. # | Unclaimed plot settings | #
  436. # +------------------------------------------------------+ #
  437. ############################################################
  438.  
  439. unclaimed:
  440. unclaimed_zone_switch: 'false'
  441. 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
  442. unclaimed_zone_item_use: 'false'
  443. unclaimed_zone_build: 'false'
  444. unclaimed_zone_destroy: 'true'
  445.  
  446. ############################################################
  447. # +------------------------------------------------------+ #
  448. # | Permission nodes | #
  449. # +------------------------------------------------------+ #
  450. ############################################################
  451.  
  452. # Possible permission nodes
  453. #
  454. # 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.
  455. # towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
  456. # towny.town.new :User is able to create a town
  457. # towny.town.claim : User is able to expand his town with /town claim
  458. # towny.town.plot : User is able to use the /plot commands
  459. # towny.town.resident : User is able to join towns upon invite.
  460. # towny.nation.new :User is able to create a nation
  461. # towny.wild.*: User is able to build/destroy in wild regardless.
  462. # towny.wild.build
  463. # towny.wild.destroy
  464. # towny.wild.switch
  465. # towny.wild.item_use
  466. # towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
  467. # towny.spawntp :Use /town spawn
  468. # towny.publicspawntp : Use ''/town spawn [town]'' (teleport to other towns)
  469. #
  470. # these will be moved to permissions nodes at a later date
  471. permissions:
  472. town_creation_admin_only: 'false'
  473. nation_creation_admin_only: 'false'
  474.  
  475. # The language file you wish to use
  476. language: english.yml
  477.  
  478. ############################################################
  479. # +------------------------------------------------------+ #
  480. # | Town Claim/new defaults | #
  481. # +------------------------------------------------------+ #
  482. ############################################################
  483.  
  484. town:
  485. # Limits the maximum amount of bonus blocks a town can buy.
  486. max_purchased_blocks: '0'
  487. # maximum number of plots any single resident can own
  488. max_plots_per_resident: '100'
  489.  
  490. # Minimum number of plots any towns home plot must be from the next town.
  491. # This will prevent someone founding a town right on your doorstep
  492. min_distance_from_town_homeblock: '5'
  493. # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  494. # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  495. # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  496. # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  497. town_block_size: '16'
  498. # Maximum number of towns allowed on the server.
  499. town_limit: '3000'
  500.  
  501. # The maximum townblocks available to a town is (numResidents * ratio).
  502. # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  503. town_block_ratio: '16'
  504.  
  505. # Maximum distance between homblocks.
  506. # This will force players to build close together.
  507. max_distance_between_homeblocks: '0'
  508.  
  509.  
  510. ############################################################
  511. # +------------------------------------------------------+ #
  512. # | Filters colour and chat | #
  513. # +------------------------------------------------------+ #
  514. ############################################################
  515.  
  516. filters_colour_chat:
  517.  
  518. # Text colouring
  519. # --------------
  520. # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
  521. # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
  522. # DarkPurple = &9, LightGreen = &a, LightBlue = &b
  523. # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
  524.  
  525. # Chat colours
  526. colour:
  527. mayor: '&b'
  528. king: '&6'
  529. # This is the name given to any NPC assigned mayor.
  530. npc_prefix: NPC
  531. # Regex fields used in validating inputs.
  532. regex:
  533. name_remove_regex: '[^a-zA-Z0-9._-]'
  534. name_check_regex: ^[a-zA-Z0-9._-]*$
  535. name_filter_regex: '[ /]'
  536.  
  537. # The format below will specify the changes made to the player name when chatting.
  538. # keys are
  539. # {nation} - Displays nation name in [ ] if a member of a nation.
  540. # {town} - Displays town name in [ ] if a member of a town.
  541. # {permprefix} - Permission group prefix
  542. # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels
  543. # {playername} - default player name
  544. # {modplayername} - modified player name (use if Towny is over writing some other plugins changes).
  545. # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
  546. # {permsuffix} - Permission group suffix.
  547. modify_chat:
  548. enable: 'true'
  549. max_title_length: '15'
  550. format: '{nation}{town}{permprefix}{townynameprefix}{playername}{townynamepostfix}{permsuffix}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement