Advertisement
Diamond_Cat

Towny Config.yml in progress

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