Advertisement
Guest User

Config.yml

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