Advertisement
Guest User

config.yml

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