Advertisement
Guest User

Untitled

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