SHARE
TWEET

Townyconfig

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