Advertisement
Guest User

config.yml

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