Advertisement
Guest User

townyconfig

a guest
Feb 17th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.74 KB | None | 0 0
  1.  
  2. version:
  3. # This is the current version of Towny. Please do not edit.
  4. version: 0.90.0.0
  5. # This is for showing the changelog on updates. Please do not edit.
  6. last_run_version: 0.90.0.0
  7. # Minimum required version of CraftBukkit. Please do not edit.
  8. bukkit_version: '2918'
  9.  
  10. # The language file you wish to use
  11. language: english.yml
  12.  
  13. ############################################################
  14. # +------------------------------------------------------+ #
  15. # | Permission nodes | #
  16. # +------------------------------------------------------+ #
  17. ############################################################
  18.  
  19. # Possible permission nodes
  20. #
  21. # 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.
  22. # towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
  23. # towny.top : User can access the command towny top
  24. # towny.town.* : User has access to all town permission nodes.
  25. # towny.town.new :User is able to create a town
  26. # towny.town.delete :User is able to delete their town
  27. # towny.town.claim : User is able to expand his town with /town claim
  28. # towny.town.plot : User is able to use the /plot commands
  29. # towny.town.resident : User is able to join towns upon invite.
  30. # towny.town.toggle.*: User can access all town toggle commands (if a mayor or assistant).
  31. # towny.town.toggle.pvp
  32. # towny.town.toggle.public
  33. # towny.town.toggle.explosions
  34. # towny.town.toggle.fire
  35. # towny.town.toggle.mobs
  36. # towny.nation.* : User has access to all town permission nodes.
  37. # towny.nation.new :User is able to create a nation
  38. # towny.nation.delete :User is able to delete their nation (if king)
  39. # towny.nation.rename :User is able to rename their nation (if king/assistant)
  40. # towny.nation.grant-titles :User is able to grant titles/surnames to the nation residents (if King)
  41. # towny.wild.*: User is able to build/destroy in wild regardless.
  42. # towny.wild.build
  43. # towny.wild.destroy
  44. # towny.wild.switch
  45. # towny.wild.item_use
  46. # towny.wild.block.[block id].* : User is able to edit [block id] in the wild.
  47. # towny.wild.build.[block id]
  48. # towny.wild.destroy.[block id]
  49. # towny.wild.switch.[block id]
  50. # towny.wild.item_use.[block id]
  51. #
  52. # towny.claimed.* : User can build/destroy/switch/item_use in all towns.
  53. # towny.claimed.build : User can build in all towns.
  54. # towny.claimed.destroy : User can destroy in all towns.
  55. # towny.claimed.switch : User can switch in all towns.
  56. # towny.claimed.item_use : User can use use items in all towns.
  57. # towny.claimed.alltown.* : User is able to edit specified/all block types in all towns.
  58. # towny.claimed.alltown.build.[block id]
  59. # towny.claimed.alltown.destroy.[block id]
  60. # towny.claimed.alltown.switch.[block id] : User can switch specified/all block types in all towns.
  61. # towny.claimed.alltown.item_use.[block id]
  62. # towny.claimed.owntown.* : User is able to edit specified/all block types in their own town (ALL plots, including resident owned).
  63. # towny.claimed.owntown.build.[block id]
  64. # towny.claimed.owntown.destroy.[block id] : (handy to allow clearing of snow '78')
  65. # towny.claimed.owntown.switch.[block id]
  66. # towny.claimed.owntown.item_use.[block id]
  67. # towny.claimed.townowned.* : User is able to edit specified/all block types in their towns owned plots (Town only, not resident owned).
  68. # towny.claimed.townowned.build.[block id]
  69. # towny.claimed.townowned.destroy.[block id] : (handy to allow clearing of snow '78' on town owned roads/plots)
  70. # towny.claimed.townowned.switch.[block id]
  71. # towny.claimed.townowned.item_use.[block id]
  72. #
  73. # towny.town.spawn.*: Grants all Spawn travel nodes
  74. # towny.town.spawn.town : Ability to spawn to your own town.
  75. # towny.town.spawn.nation : Ability to spawn to other towns in your nation.
  76. # towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
  77. # towny.town.spawn.public : Ability to spawn to unaffilated public towns.
  78. #
  79. # these will be moved to permissions nodes at a later date
  80. permissions: ''
  81.  
  82. ############################################################
  83. # +------------------------------------------------------+ #
  84. # | Town and Nation levels | #
  85. # +------------------------------------------------------+ #
  86. ############################################################
  87.  
  88. levels:
  89.  
  90. # default Town levels.
  91. town_level:
  92. - numResidents: 0
  93. namePostfix: ' Ruins'
  94. mayorPrefix: 'Spirit '
  95. namePrefix: ''
  96. mayorPostfix: ''
  97. townBlockLimit: 1
  98. upkeepModifier: 1.0
  99. - numResidents: 1
  100. namePostfix: ' (Settlement)'
  101. mayorPrefix: 'Hermit '
  102. namePrefix: ''
  103. mayorPostfix: ''
  104. townBlockLimit: 16
  105. upkeepModifier: 1.0
  106. - numResidents: 2
  107. namePostfix: ' (Hamlet)'
  108. mayorPrefix: 'Chief '
  109. namePrefix: ''
  110. mayorPostfix: ''
  111. townBlockLimit: 32
  112. upkeepModifier: 1.0
  113. - numResidents: 6
  114. namePostfix: ' (Village)'
  115. mayorPrefix: 'Baron Von '
  116. namePrefix: ''
  117. mayorPostfix: ''
  118. townBlockLimit: 96
  119. upkeepModifier: 1.0
  120. - numResidents: 10
  121. namePostfix: ' (Town)'
  122. mayorPrefix: 'Viscount '
  123. namePrefix: ''
  124. mayorPostfix: ''
  125. townBlockLimit: 160
  126. upkeepModifier: 1.0
  127. - numResidents: 14
  128. namePostfix: ' (Large Town)'
  129. mayorPrefix: 'Count Von '
  130. namePrefix: ''
  131. mayorPostfix: ''
  132. townBlockLimit: 224
  133. upkeepModifier: 1.0
  134. - numResidents: 20
  135. namePostfix: ' (City)'
  136. mayorPrefix: 'Earl '
  137. namePrefix: ''
  138. mayorPostfix: ''
  139. townBlockLimit: 320
  140. upkeepModifier: 1.0
  141. - numResidents: 24
  142. namePostfix: ' (Large City)'
  143. mayorPrefix: 'Duke '
  144. namePrefix: ''
  145. mayorPostfix: ''
  146. townBlockLimit: 384
  147. upkeepModifier: 1.0
  148. - numResidents: 28
  149. namePostfix: ' (Metropolis)'
  150. mayorPrefix: 'Lord '
  151. namePrefix: ''
  152. mayorPostfix: ''
  153. townBlockLimit: 448
  154. upkeepModifier: 1.0
  155.  
  156. # default Nation levels.
  157. nation_level:
  158. - kingPostfix: ''
  159. numResidents: 0
  160. namePostfix: ' (Nation)'
  161. townBlockLimitBonus: 10
  162. namePrefix: 'Land of '
  163. capitalPostfix: ''
  164. upkeepModifier: 1.0
  165. kingPrefix: 'Leader '
  166. capitalPrefix: ''
  167. nationTownUpkeepModifier: 1.0
  168. - kingPostfix: ''
  169. numResidents: 10
  170. namePostfix: ' (Nation)'
  171. townBlockLimitBonus: 20
  172. namePrefix: 'Federation of '
  173. capitalPostfix: ''
  174. upkeepModifier: 1.0
  175. kingPrefix: 'Count '
  176. capitalPrefix: ''
  177. nationTownUpkeepModifier: 1.0
  178. - kingPostfix: ''
  179. numResidents: 20
  180. namePostfix: ' (Nation)'
  181. townBlockLimitBonus: 40
  182. namePrefix: 'Dominion of '
  183. capitalPostfix: ''
  184. upkeepModifier: 1.0
  185. kingPrefix: 'Duke '
  186. capitalPrefix: ''
  187. nationTownUpkeepModifier: 1.0
  188. - kingPostfix: ''
  189. numResidents: 30
  190. namePostfix: ' (Nation)'
  191. townBlockLimitBonus: 60
  192. namePrefix: 'Kingdom of '
  193. capitalPostfix: ''
  194. upkeepModifier: 1.0
  195. kingPrefix: 'King '
  196. capitalPrefix: ''
  197. nationTownUpkeepModifier: 1.0
  198. - kingPostfix: ''
  199. numResidents: 40
  200. namePostfix: ' Empire'
  201. townBlockLimitBonus: 100
  202. namePrefix: 'The '
  203. capitalPostfix: ''
  204. upkeepModifier: 1.0
  205. kingPrefix: 'Emperor '
  206. capitalPrefix: ''
  207. nationTownUpkeepModifier: 1.0
  208. - kingPostfix: ''
  209. numResidents: 60
  210. namePostfix: ' Realm'
  211. townBlockLimitBonus: 140
  212. namePrefix: 'The '
  213. capitalPostfix: ''
  214. upkeepModifier: 1.0
  215. kingPrefix: 'God Emperor '
  216. capitalPrefix: ''
  217. nationTownUpkeepModifier: 1.0
  218.  
  219. ############################################################
  220. # +------------------------------------------------------+ #
  221. # | Town Claim/new defaults | #
  222. # +------------------------------------------------------+ #
  223. ############################################################
  224.  
  225. town:
  226. # Default public status of the town (used for /town spawn)
  227. default_public: 'false'
  228. # Default Open status of the town (are new towns open and joinable by anyone at creation?)
  229. default_open: 'false'
  230. # Default tax settings for new towns.
  231. default_taxes:
  232. # Default amount of tax of a new town. This must be lower than the economy.daily_taxes.max_tax_percent setting.
  233. tax: '19.0'
  234. # Default amount of shop tax of a new town.
  235. shop_tax: '0.0'
  236. # Default amount of embassy tax of a new town.
  237. embassy_tax: '50.0'
  238. # Default status of new town's taxpercentage. True means that the default_tax is treated as a percentage instead of a fixed amount.
  239. taxpercentage: 'false'
  240. # Limits the maximum amount of bonus blocks a town can buy.
  241. max_purchased_blocks: '0'
  242. # maximum number of plots any single resident can own
  243. max_plots_per_resident: '100'
  244. # Maximum number of towns allowed on the server.
  245. town_limit: '3000'
  246.  
  247. # Minimum number of plots any towns plot must be from the next town's own plots.
  248. # This will prevent town encasement to a certain degree.
  249. min_plot_distance_from_town_plot: '5'
  250.  
  251. # Minimum number of plots any towns home plot must be from the next town.
  252. # This will prevent someone founding a town right on your doorstep
  253. min_distance_from_town_homeblock: '5'
  254.  
  255. # Maximum distance between homblocks.
  256. # This will force players to build close together.
  257. max_distance_between_homeblocks: '0'
  258.  
  259. # The maximum townblocks available to a town is (numResidents * ratio).
  260. # Setting this value to 0 will instead use the level based jump values determined in the town level config.
  261. town_block_ratio: '8'
  262. # The size of the square grid cell. Changing this value is suggested only when you first install Towny.
  263. # Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
  264. # at the cost of more work setting up. Also, extremely small values will render the caching done useless.
  265. # Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
  266. town_block_size: '16'
  267.  
  268.  
  269. ############################################################
  270. # +------------------------------------------------------+ #
  271. # | Default new world settings | #
  272. # +------------------------------------------------------+ #
  273. ############################################################
  274.  
  275. # These flags are only used at the initial setup of a new world.
  276.  
  277. # Once Towny is running each world can be altered from within game
  278. # using '/townyworld toggle'
  279.  
  280. new_world_settings:
  281. # Default for new worlds to have towny enabled.
  282. using_towny: 'true'
  283.  
  284. pvp:
  285. # Set if PVP is enabled in this world
  286. world_pvp: 'true'
  287. # force_pvp_on is a global flag and overrides any towns flag setting
  288. force_pvp_on: 'false'
  289.  
  290. mobs:
  291. # world_monsters_on is a global flag setting per world.
  292. world_monsters_on: 'true'
  293. # force_town_monsters_on is a global flag and overrides any towns flag setting
  294. force_town_monsters_on: 'false'
  295.  
  296. explosions:
  297. # Allow explosions in this world
  298. world_explosions_enabled: 'true'
  299. # force_explosions_on is a global flag and overrides any towns flag setting
  300. force_explosions_on: 'false'
  301.  
  302. fire:
  303. # Allow fire to be lit and spread in this world.
  304. world_firespread_enabled: 'true'
  305. # force_fire_on is a global flag and overrides any towns flag setting
  306. force_fire_on: 'false'
  307.  
  308. # Prevent Endermen from picking up and placing blocks.
  309. enderman_protect: 'true'
  310. # Disable players trampling crops
  311. disable_player_crop_trampling: 'true'
  312. # Disable creatures trampling crops
  313. disable_creature_crop_trampling: 'true'
  314.  
  315. # World management settings to deal with un/claiming plots
  316. plot_management:
  317.  
  318. block_delete:
  319. enabled: 'true'
  320. # These items will be deleted upon a plot being unclaimed
  321. unclaim_delete: BED_BLOCK,TORCH,REDSTONE_WIRE,SIGN_POST,WOODEN_DOOR,WALL_SIGN,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,REDSTONE_TORCH_OFF,REDSTONE_TORCH_ON,DIODE_BLOCK_OFF,DIODE_BLOCK_ON
  322.  
  323. mayor_plotblock_delete:
  324. enabled: 'false'
  325. # These items will be deleted upon a mayor using /plot clear
  326. # To disable deleting replace the current entries with NONE.
  327. mayor_plot_delete: WALL_SIGN,SIGN_POST
  328.  
  329. revert_on_unclaim:
  330. # *** WARNING***
  331. # If this is enabled any town plots which become unclaimed will
  332. # slowly be reverted to a snapshot taken before the plot was claimed.
  333. #
  334. # Regeneration will only work if the plot was
  335. # claimed under version 0.76.2, or
  336. # later with this feature enabled
  337. #
  338. # If you allow players to break/build in the wild the snapshot will
  339. # include any changes made before the plot was claimed.
  340. enabled: 'false'
  341. speed: 1s
  342. # These block types will NOT be regenerated
  343. block_ignore: GOLD_ORE,LAPIS_ORE,LAPIS_BLOCK,GOLD_BLOCK,IRON_BLOCK,MOSSY_COBBLESTONE,TORCH,MOB_SPAWNER,DIAMOND_ORE,DIAMOND_BLOCK,SIGN_POST,WALL_SIGN,GLOWSTONE
  344.  
  345. wild_revert_on_mob_explosion:
  346. # Enabling this will slowly regenerate holes created in the
  347. # wilderness by monsters exploding.
  348. enabled: 'true'
  349. entities: Creeper,EnderCrystal,EnderDragon,Fireball,SmallFireball,LargeFireball,TNTPrimed,ExplosiveMinecart
  350. delay: 20s
  351.  
  352.  
  353. ############################################################
  354. # +------------------------------------------------------+ #
  355. # | Global town settings | #
  356. # +------------------------------------------------------+ #
  357. ############################################################
  358.  
  359. global_town_settings:
  360. # can residents/Allies harm other residents when in an area with pvp enabled? Other than an Arena plot.
  361. friendly_fire: 'false'
  362. # Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
  363. health_regen:
  364. speed: 3s
  365. enable: 'true'
  366. # Allow towns to claim outposts (a townblock not connected to town).
  367. allow_outposts: 'true'
  368. # Allow the use of /town spawn
  369. allow_town_spawn: 'true'
  370. # Allow regular residents to use /town spawn [town] (TP to other towns if they are public).
  371. allow_town_spawn_travel: 'true'
  372. # Allow regular residents to use /town spawn [town] to other towns in your nation.
  373. allow_town_spawn_travel_nation: 'true'
  374. # Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
  375. allow_town_spawn_travel_ally: 'true'
  376. # If non zero it delays any spawn request by x seconds.
  377. teleport_warmup_time: '0'
  378. # Respawn the player at his town spawn point when he/she dies
  379. town_respawn: 'false'
  380. # Town respawn only happens when the player dies in the same world as the town's spawn point.
  381. town_respawn_same_world_only: 'false'
  382. # Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
  383. # Allowed options: unclaimed,enemy,neutral
  384. prevent_town_spawn_in: enemy
  385. # Enables the [~Home] message.
  386. # If false it will make it harder for enemies to find the home block during a war
  387. show_town_notifications: 'true'
  388.  
  389.  
  390. ############################################################
  391. # +------------------------------------------------------+ #
  392. # | Plugin interfacing | #
  393. # +------------------------------------------------------+ #
  394. ############################################################
  395.  
  396. plugin:
  397.  
  398. # Valid load and save types are: flatfile, mysql, sqlite, h2.
  399. database:
  400. database_load: flatfile
  401. database_save: flatfile
  402.  
  403. # SQL database connection details (IF set to use SQL).
  404. sql:
  405. hostname: localhost
  406. port: '3306'
  407. dbname: towny
  408. table_prefix: towny_
  409. username: root
  410. password: ''
  411.  
  412. # Flatfile backup settings.
  413. daily_backups: 'true'
  414. backups_are_deleted_after: 90d
  415.  
  416. # Valid entries are: zip, none.
  417. flatfile_backup: zip
  418.  
  419. interfacing:
  420.  
  421. tekkit:
  422. # Add any fake players for client/server mods (aka Tekkit) here
  423. fake_residents: '[IndustrialCraft],[BuildCraft],[Redpower],[Forestry],[Turtle]'
  424.  
  425. # Enable using_essentials if you are using cooldowns in essentials for teleports.
  426. using_essentials: 'false'
  427.  
  428. # This will attempt to use Register (if present)
  429. # Then it will attempt to access iConomy 5.01 directly
  430. # Enable if you have either iConomy 5.01, or Register.jar to
  431. # support: iConomy5, iConomy6, EssentialsEco, BOSEconomy.
  432. # https://github.com/iConomy/Register/tree/master/dist
  433. using_economy: 'true'
  434.  
  435. # Enable using_questioner if you are using questioner to send/receive invites to towns/nations.
  436. # See http://code.google.com/a/eclipselabs.org/p/towny/wiki/Questioner for more info.
  437. using_questioner:
  438. enable: 'true'
  439. # The command to accept invitations.
  440. accept: accept
  441. # The command to refuse invitations.
  442. deny: deny
  443.  
  444. # True to attempt to use GroupManager, PEX, bPermissions, Permissions2/3 or BukkitPerms
  445. # False to disable permission checks and rely on Towny settings.
  446. using_permissions: 'true'
  447.  
  448. day_timer:
  449. # The number of hours in each "day".
  450. # You can configure for 10 hour days. Default is 24 hours.
  451. day_interval: 1d
  452. # The time each "day", when taxes will be collected.
  453. # MUST be less than day_interval. Default is 12h (midday).
  454. new_day_time: 12h
  455.  
  456. # Lots of messages to tell you what's going on in the server with time taken for events.
  457. debug_mode: 'false'
  458.  
  459. # Info tool for server admins to use to query in game blocks and entities.
  460. info_tool: CLAY_BRICK
  461.  
  462. # Spams the player named in dev_name with all messages related to towny.
  463. dev_mode:
  464. enable: 'false'
  465. dev_name: ElgarL
  466.  
  467. # Record all messages to the towny.log
  468. logging: 'true'
  469. # If true this will cause the log to be wiped at every startup.
  470. reset_log_on_boot: 'true'
  471.  
  472.  
  473. ############################################################
  474. # +------------------------------------------------------+ #
  475. # | Filters colour and chat | #
  476. # +------------------------------------------------------+ #
  477. ############################################################
  478.  
  479. filters_colour_chat:
  480. # This is the name given to any NPC assigned mayor.
  481. npc_prefix: NPC
  482. # Regex fields used in validating inputs.
  483. regex:
  484. name_filter_regex: '[ /]'
  485. name_check_regex: ^[a-zA-Z0-9._\[\]-]*$
  486. string_check_regex: ^[a-zA-Z0-9\s._\[\]-]*$
  487. name_remove_regex: '[^a-zA-Z0-9._\[\]-]'
  488.  
  489. modify_chat:
  490. # Maximum length of Town and Nation names.
  491. max_name_length: '12'
  492. # Maximum length of titles and surnames.
  493. max_title_length: '30'
  494.  
  495.  
  496. ############################################################
  497. # +------------------------------------------------------+ #
  498. # | block/item/mob protection | #
  499. # +------------------------------------------------------+ #
  500. ############################################################
  501.  
  502. protection:
  503.  
  504. # Items that can be blocked within towns via town/plot flags
  505. # 259 - flint and steel
  506. # 325 - bucket
  507. # 326 - water bucket
  508. # 327 - lava bucket
  509. # 351 - bone/bonemeal
  510. # 359 - shears
  511. # 368 - ender pearl
  512. # 374 - glass bottle
  513. # 385 - fire charge
  514. item_use_ids: FLINT_AND_STEEL,BUCKET,WATER_BUCKET,LAVA_BUCKET,MINECART,STORAGE_MINECART,INK_SACK,SHEARS,ENDER_PEARL,GLASS_BOTTLE,FIREBALL,ARMOR_STAND
  515.  
  516. # Items which can be blocked or enabled via town/plot flags
  517. # 25 - noteblock
  518. # 54 - chest ...etc
  519. switch_ids: DISPENSER,NOTE_BLOCK,CHEST,FURNACE,BURNING_FURNACE,WOODEN_DOOR,LEVER,STONE_PLATE,IRON_DOOR_BLOCK,WOOD_PLATE,STONE_BUTTON,TRAP_DOOR,JUKEBOX,DIODE_BLOCK_OFF,DIODE_BLOCK_ON,FENCE_GATE,TRAPPED_CHEST,GOLD_PLATE,IRON_PLATE,REDSTONE_COMPARATOR_OFF,REDSTONE_COMPARATOR_ON,BEACON,HOPPER,DROPPER,MINECART,STORAGE_MINECART,POWERED_MINECART,CARROT_STICK,EXPLOSIVE_MINECART,HOPPER_MINECART
  520.  
  521. # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  522. # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  523. # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  524.  
  525. # Remove living entities within a town's boundaries, if the town has the mob removal flag set.
  526. town_mob_removal_entities: Monster,WaterMob,Flying,Slime
  527.  
  528. # Prevent the spawning of villager babies in towns.
  529. town_prevent_villager_breeding: 'false'
  530. # Disable creatures triggering stone pressure plates
  531. disable_creature_pressureplate_stone: 'true'
  532.  
  533. # Globally remove living entities in all worlds that have their flag set.
  534. world_mob_removal_entities: Monster,WaterMob,Flying,Slime
  535.  
  536. # Prevent the spawning of villager babies in the world.
  537. world_prevent_villager_breeding: 'false'
  538.  
  539. # The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
  540. # Lower values will check all entities more often at the risk of heavier burden and resource use.
  541. # NEVER set below 1.
  542. mob_removal_speed: 5s
  543.  
  544. # permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
  545. # Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
  546. # PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
  547.  
  548. # Protect living entities within a town's boundaries from being killed by players.
  549. mob_types: Animals,NPC,Snowman,ArmorStand
  550.  
  551. # permitted Potion Types http://jd.bukkit.org/apidocs/org/bukkit/potion/PotionType.html
  552. # ABSORPTION, BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, HARM, HEAL, HEALTH_BOOST, HUNGER,
  553. # INCREASE_DAMAGE, INVISIBILITY, JUMP, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW , SLOW_DIGGING,
  554. # SPEED, WATER_BREATHING, WEAKNESS, WITHER.
  555.  
  556. # When preventing PVP prevent the use of these potions.
  557. potion_types: BLINDNESS,CONFUSION,HARM,HUNGER,POISON,SLOW,SLOW_DIGGING,WEAKNESS,WITHER
  558.  
  559. # Prevent fly and double block jump cheats.
  560. cheat_protection: 'true'
  561.  
  562. # The amount of time it takes for a protected block to regenerate. Use zero for no delay.
  563. regen_delay: 0s
  564.  
  565.  
  566. ############################################################
  567. # +------------------------------------------------------+ #
  568. # | Wilderness settings | #
  569. # +------------------------------------------------------+ #
  570. ############################################################
  571.  
  572. # These Settings defaults only. They are copied to each worlds data files upon first detection
  573. # To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
  574.  
  575. unclaimed:
  576. unclaimed_zone_build: 'false'
  577. unclaimed_zone_destroy: 'false'
  578. unclaimed_zone_item_use: 'false'
  579. unclaimed_zone_ignore: SAPLING,GOLD_ORE,IRON_ORE,COAL_ORE,LOG,LEAVES,LAPIS_ORE,LONG_GRASS,YELLOW_FLOWER,RED_ROSE,BROWN_MUSHROOM,RED_MUSHROOM,TORCH,DIAMOND_ORE,LADDER,RAILS,REDSTONE_ORE,GLOWING_REDSTONE_ORE,CACTUS,CLAY,SUGAR_CANE_BLOCK,PUMPKIN,GLOWSTONE
  580. unclaimed_zone_switch: 'false'
  581.  
  582.  
  583. ############################################################
  584. # +------------------------------------------------------+ #
  585. # | Town Notifications | #
  586. # +------------------------------------------------------+ #
  587. ############################################################
  588.  
  589. # This is the format for the notifications sent as players move between plots.
  590. # Empty a particular format for it to be ignored.
  591.  
  592. # Example:
  593. # [notification.format]
  594. # ~ [notification.area_[wilderness/town]][notification.splitter][notification.[no_]owner][notification.splitter][notification.plot.format]
  595. # ... [notification.plot.format]
  596. # ... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
  597. # ~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
  598.  
  599. notification:
  600. format: '&6 ~ %s'
  601. splitter: '&7 - '
  602. area_wilderness: '&2%s'
  603. area_wilderness_pvp: '%s'
  604. area_town: '&6%s'
  605. area_town_pvp: '%s'
  606. owner: '&a%s'
  607. no_owner: '&a%s'
  608. plot:
  609. splitter: ' '
  610. format: '%s'
  611. homeblock: '&b[Home]'
  612. outpostblock: '&b[Outpost]'
  613. forsale: '&e[For Sale: %s]'
  614. type: '&6[%s]'
  615.  
  616.  
  617. ############################################################
  618. # +------------------------------------------------------+ #
  619. # | Default Town/Plot flags | #
  620. # +------------------------------------------------------+ #
  621. ############################################################
  622.  
  623.  
  624. default_perm_flags:
  625.  
  626. # Default permission flags for residents plots within a town
  627. #
  628. # Can allies/friends/outsiders perform certain actions in the town
  629. #
  630. # build - place blocks and other items
  631. # destroy - break blocks and other items
  632. # itemuse - use items such as furnaces (as defined in item_use_ids)
  633. # switch - trigger or activate switches (as defined in switch_ids)
  634. resident:
  635. friend:
  636. build: 'true'
  637. destroy: 'true'
  638. item_use: 'true'
  639. switch: 'true'
  640. ally:
  641. build: 'false'
  642. destroy: 'false'
  643. item_use: 'false'
  644. switch: 'false'
  645. outsider:
  646. build: 'false'
  647. destroy: 'false'
  648. item_use: 'false'
  649. switch: 'false'
  650.  
  651. # Default permission flags for towns
  652. # These are copied into the town data file at creation
  653. #
  654. # Can allies/outsiders/residents perform certain actions in the town
  655. #
  656. # build - place blocks and other items
  657. # destroy - break blocks and other items
  658. # itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
  659. # switch - trigger or activate switches (as defined in switch_ids)
  660. town:
  661. default:
  662. pvp: 'false'
  663. fire: 'false'
  664. explosion: 'false'
  665. mobs: 'false'
  666. resident:
  667. build: 'true'
  668. destroy: 'true'
  669. item_use: 'true'
  670. switch: 'true'
  671. ally:
  672. build: 'false'
  673. destroy: 'false'
  674. item_use: 'false'
  675. switch: 'false'
  676. outsider:
  677. build: 'false'
  678. destroy: 'false'
  679. item_use: 'false'
  680. switch: 'false'
  681.  
  682.  
  683. ############################################################
  684. # +------------------------------------------------------+ #
  685. # | Resident settings | #
  686. # +------------------------------------------------------+ #
  687. ############################################################
  688.  
  689. resident_settings:
  690. # player is flagged as inactive after 1 hour (default)
  691. inactive_after_time: 1h
  692. # if enabled old residents will be kicked and deleted from a town
  693. # after Two months (default) of not logging in
  694. delete_old_residents:
  695. enable: 'false'
  696. deleted_after_time: 60d
  697. delete_economy_account: 'true'
  698. # The name of the town a resident will automatically join when he first registers.
  699. default_town_name: ''
  700. # If true, players can only use beds in plots they personally own.
  701. deny_bed_use: 'false'
  702.  
  703.  
  704. ############################################################
  705. # +------------------------------------------------------+ #
  706. # | Economy settings | #
  707. # +------------------------------------------------------+ #
  708. ############################################################
  709.  
  710. economy:
  711. # By default it is set to true.
  712. # Rarely set to false. Set to false if you get concurrent modification errors on timers for daily tax collections.
  713. use_async: 'true'
  714. # Prefix to apply to all town economy accounts.
  715. town_prefix: town-
  716. # Prefix to apply to all nation economy accounts.
  717. nation_prefix: nation-
  718.  
  719. spawn_travel:
  720. # Cost to use /town spawn
  721. price_town_spawn_travel: '0.0'
  722. # Cost to use '/town spawn [town]' to another town in your nation.
  723. price_town_nation_spawn_travel: '5.0'
  724. # Cost to use '/town spawn [town]' to another town in a nation that is allied with your nation.
  725. price_town_ally_spawn_travel: '10.0'
  726. # Cost to use /town spawn [town]
  727. # This is paid to the town you goto.
  728. price_town_public_spawn_travel: '10.0'
  729.  
  730. # The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
  731. price_nation_neutrality: '1000.0'
  732.  
  733. new_expand:
  734. # How much it costs to start a nation.
  735. price_new_nation: '2000.0'
  736. # How much it costs to start a town.
  737. price_new_town: '2000.0'
  738. # How much it costs to make an outpost. An outpost isn't limited to being on the edge of town.
  739. price_outpost: '1000.0'
  740. # The price for a town to expand one townblock.
  741. price_claim_townblock: '250.0'
  742. # How much it costs a player to buy extra blocks.
  743. price_purchased_bonus_townblock: '500.0'
  744. # How much every extra bonus block costs more. Set to 1 to deactivate this. 1.2 means +20% to every bonus claim block cost.
  745. price_purchased_bonus_townblock_increase: '1.0'
  746.  
  747. death:
  748. # Either fixed or percentage.
  749. # For percentage 1.0 would be 100%. 0.01 would be 1%.
  750. price_death_type: fixed
  751. # If True, only charge death prices for pvp kills. Not monsters/environmental deaths.
  752. price_death_pvp_only: 'false'
  753.  
  754. price_death: '1.0'
  755.  
  756. price_death_town: '0.0'
  757.  
  758. price_death_nation: '0.0'
  759.  
  760. banks:
  761. # Maximum amount of money allowed in town bank
  762. # Use 0 for no limit
  763. town_bank_cap: '0.0'
  764. # Set to true to allow withdrawls from town banks
  765. town_allow_withdrawls: 'true'
  766. # Maximum amount of money allowed in nation bank
  767. # Use 0 for no limit
  768. nation_bank_cap: '0.0'
  769. # Set to true to allow withdrawls from nation banks
  770. nation_allow_withdrawls: 'true'
  771. closed_economy:
  772. # The name of the account that all money that normally disappears goes into.
  773. server_account: towny-server
  774. # Turn on/off whether all transactions that normally don't have a second party are to be done with a certain account.
  775. # Eg: The money taken during Daily Taxes is just removed. With this on, the amount taken would be funneled into an account.
  776. # This also applies when a player collects money, like when the player is refunded money when a delayed teleport fails.
  777. enabled: 'true'
  778.  
  779. daily_taxes:
  780. # Enables taxes to be collected daily by town/nation
  781. # If a town can't pay it's tax then it is kicked from the nation.
  782. # if a resident can't pay his plot tax he loses his plot.
  783. # if a resident can't pay his town tax then he is kicked from the town.
  784. # if a town or nation fails to pay it's upkeep it is deleted.
  785. enabled: 'true'
  786. # Maximum tax amount allowed when using flat taxes
  787. max_tax_amount: '10000.0'
  788. # maximum tax percentage allowed when taxing by percentages
  789. max_tax_percent: '100'
  790. # The server's daily charge on each nation. If a nation fails to pay this upkeep
  791. # all of it's member town are kicked and the Nation is removed.
  792. price_nation_upkeep: '-2000.0'
  793. # The server's daily charge on each town. If a town fails to pay this upkeep
  794. # all of it's residents are kicked and the town is removed.
  795. price_town_upkeep: '-2000.0'
  796. # Uses total amount of owned plots to determine upkeep instead of the town level (Number of residents)
  797. # calculated by (number of claimed plots X price_town_upkeep).
  798. town_plotbased_upkeep: 'true'
  799. # If enabled and you set a negative upkeep for the town
  800. # any funds the town gains via upkeep at a new day
  801. # will be shared out between the plot owners.
  802. use_plot_payments: 'true'
  803.  
  804.  
  805. ############################################################
  806. # +------------------------------------------------------+ #
  807. # | Jail Plot settings | #
  808. # +------------------------------------------------------+ #
  809. ############################################################
  810.  
  811. jail:
  812. #If true attacking players who die on enemy-town land will be placed into the defending town's jail if it exists.
  813. is_jailing_attacking_enemies: 'false'
  814. #If true jailed players can use Ender Pearls but are still barred from using other methods of teleporting.
  815. jail_allows_ender_pearls: 'false'
  816. #If false jailed players can use /town leave, and escape a jail.
  817. jail_denies_town_leave: 'false'
  818.  
  819. bail:
  820. #If true players can pay a bail amount to be unjailed.
  821. is_allowing_bail: 'false'
  822. #Amount that bail costs.
  823. bail_amount: '10'
  824.  
  825.  
  826. ############################################################
  827. # +------------------------------------------------------+ #
  828. # | War settings | #
  829. # +------------------------------------------------------+ #
  830. ############################################################
  831.  
  832. war:
  833. #This setting allows you disable the ability for a nation to pay to remain neutral during a war.
  834. nation_can_be_neutral: 'true'
  835.  
  836.  
  837. ############################################################
  838. # +------------------------------------------------------+ #
  839. # | Economy Transfers During War settings | #
  840. # +------------------------------------------------------+ #
  841. ############################################################
  842.  
  843. economy:
  844. enemy:
  845. # Amount charged to place a warflag (payed to server).
  846. place_flag: '250'
  847. # Amount payed from the flagbearer to the defender after defending the area.
  848. defended_attack: '250'
  849. # Defending town pays attaking flagbearer. If a negative (attacker pays defending town),
  850. # and the attacker can't pay, the attack is canceled.
  851. townblock_won: '250'
  852. # Same as townblock_won but for the special case of winning the homeblock.
  853. homeblock_won: '1000'
  854.  
  855.  
  856. ############################################################
  857. # +------------------------------------------------------+ #
  858. # | War Event settings | #
  859. # +------------------------------------------------------+ #
  860. ############################################################
  861.  
  862. # This is started with /townyadmnin toggle war
  863.  
  864. # In peace time War spoils are accumulated from towns and nations being
  865. # deleted with any money left in the bank.
  866. #
  867. # These funds are increased during a war event upon a player death.
  868. # An additional bonus to the war chest is set in base_spoils.
  869. #
  870. # During the event a town losing a townblock pays the wartime_town_block_loss_price to the attacking town.
  871. # The war is won when the only nations left in the battle are allies, or only a single nation.
  872. #
  873. # The winning nations share half of the war spoils.
  874. # The remaining half is paid to the town which took the most town blocks, and lost the least.
  875.  
  876. event:
  877. warning_delay: '30'
  878. #If false all towns not in nations can be attacked during a war event.
  879. towns_are_neutral: 'true'
  880.  
  881. # If true and the monarch/king dies the nation is removed from the war.
  882. remove_on_monarch_death: 'false'
  883. # If enabled players will be able to break/place blocks in enemy plots during a war.
  884. allow_block_griefing: 'false'
  885.  
  886. # A townblock takes damage every 5 seconds that an enemy is stood in it.
  887. block_hp:
  888. town_block_hp: '60'
  889. home_block_hp: '120'
  890.  
  891. eco:
  892. # This amount is new money injected into the economy with a war event.
  893. base_spoils: '100.0'
  894. # This amount is taken from the losing town for each plot lost.
  895. wartime_town_block_loss_price: '250.0'
  896. # This amount is taken from the player if they die during the event
  897. price_death_wartime: '250.0'
  898.  
  899. points:
  900. points_townblock: '1'
  901. points_town: '10'
  902. points_nation: '100'
  903. points_kill: '1'
  904.  
  905. # The minimum height at which a player must stand to count as an attacker.
  906. min_height: '60'
  907.  
  908. ############################################################
  909. # +------------------------------------------------------+ #
  910. # | Flag war settings | #
  911. # +------------------------------------------------------+ #
  912. ############################################################
  913.  
  914. enemy:
  915. # If false, players won't be able to place war flags, effectively disabling warzones.
  916. allow_attacks: 'true'
  917. # If true, enemy's can only attack the edge plots of a town with war flags.
  918. only_attack_borders: 'true'
  919. # This many people must be online in target town in order to place a war flag in their domain.
  920. min_players_online_in_town: '2'
  921. # This many people must be online in target nation in order to place a war flag in their domain.
  922. min_players_online_in_nation: '2'
  923. max_active_flags_per_player: '1'
  924. flag:
  925. waiting_time: 5s
  926. # This is the block a player must place to trigger the attack event.
  927. base_block: fence
  928. # This is the block a player must place to trigger the attack event.
  929. light_block: torch
  930. beacon:
  931. # Must be smaller than half the size of town_block_size.
  932. radius: '3'
  933. # The range the beacon will be drawn in. It's flexibility is in case the flag is close to the height limit.
  934. # If a flag is too close to the height limit (lower than the minimum), it will not be drawn.
  935. height_above_flag:
  936. min: '3'
  937. max: '64'
  938. draw: 'true'
  939. wireframe_block: glowstone
  940. ############################################################
  941. # +------------------------------------------------------+ #
  942. # | Warzone Block Permissions | #
  943. # +------------------------------------------------------+ #
  944. ############################################################
  945.  
  946. warzone:
  947. # List of materaials that can be modified in a warzone.
  948. # '*' = Allow all materials.
  949. # Prepend a '-' in front of a material to remove it. Used in conjunction with when you use '*'.
  950. # Eg: '*,-chest,-furnace'
  951. editable_materials: tnt,fence,ladder,wood_door,iron_door,fire
  952. item_use: 'true'
  953. switch: 'true'
  954. # Add '-fire' to editable materials for complete protection when setting is false. This prevents fire to be created and spread.
  955. fire: 'true'
  956. explosions: 'true'
  957. explosions_break_blocks: 'true'
  958. # TODO: Blocks will not regen as of yet. Stay tuned for later changes.
  959. # Only under affect when explosions_break_blocks is true.
  960. explosions_regen_blocks: 'true'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement