daily pastebin goal
16%
SHARE
TWEET

Towny Config.yml

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