Closed SHPkingdoms closed 9 years ago
This is the section you need to reconfigure:
min_plot_distance_from_town_plot: '5'
min_distance_from_town_homeblock: '25'
max_distance_between_homeblocks: '10'
Your max distance between homeblocks cannot be smaller than the other two settings. Raise it above 25 or change the min distance from town homeblock to something lower.
In the future use pastebin.com to link your config.
im am the owner of my server. and when i try to make a new town it states: "[Towny] This area is too far away from other towns." and when i get closer to other towns it states "[Towny] This area is too close to another towns." and the worst part is ill stand on one block it will say im too far and ill go one block back and it says im to far help plz this is the config for towny i have set up
version:
This is the current version of Towny. Please do not edit.
version: 0.90.0.0
This is for showing the changelog on updates. Please do not edit.
last_run_version: 0.90.0.0
Minimum required version of CraftBukkit. Please do not edit.
bukkit_version: '2918'
The language file you wish to use
language: english.yml
############################################################
+------------------------------------------------------+
| Permission nodes |
+------------------------------------------------------+
############################################################
Possible permission nodes
#
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.
towny.cheat.bypass : User is able to use any fly mods and double block jump (disables towny cheat protection for this user).
towny.top : User can access the command towny top
towny.town.* : User has access to all town permission nodes.
towny.town.new :User is able to create a town
towny.town.delete :User is able to delete their town
towny.town.claim : User is able to expand his town with /town claim
towny.town.plot : User is able to use the /plot commands
towny.town.resident : User is able to join towns upon invite.
towny.town.toggle._: User can access all town toggle commands (if a mayor or assistant).
towny.town.toggle.pvp
towny.town.toggle.public
towny.town.toggle.explosions
towny.town.toggle.fire
towny.town.toggle.mobs
towny.nation._ : User has access to all town permission nodes.
towny.nation.new :User is able to create a nation
towny.nation.delete :User is able to delete their nation (if king)
towny.nation.rename :User is able to rename their nation (if king/assistant)
towny.nation.grant-titles :User is able to grant titles/surnames to the nation residents (if King)
towny.wild._: User is able to build/destroy in wild regardless.
towny.wild.build
towny.wild.destroy
towny.wild.switch
towny.wild.item_use
towny.wild.block.[block id]._ : User is able to edit [block id] in the wild.
towny.wild.build.[block id]
towny.wild.destroy.[block id]
towny.wild.switch.[block id]
towny.wild.item_use.[block id]
#
towny.claimed.* : User can build/destroy/switch/item_use in all towns.
towny.claimed.build : User can build in all towns.
towny.claimed.destroy : User can destroy in all towns.
towny.claimed.switch : User can switch in all towns.
towny.claimed.item_use : User can use use items in all towns.
towny.claimed.alltown.* : User is able to edit specified/all block types in all towns.
towny.claimed.alltown.build.[block id]
towny.claimed.alltown.destroy.[block id]
towny.claimed.alltown.switch.[block id] : User can switch specified/all block types in all towns.
towny.claimed.alltown.item_use.[block id]
towny.claimed.owntown.* : User is able to edit specified/all block types in their own town (ALL plots, including resident owned).
towny.claimed.owntown.build.[block id]
towny.claimed.owntown.destroy.[block id] : (handy to allow clearing of snow '78')
towny.claimed.owntown.switch.[block id]
towny.claimed.owntown.item_use.[block id]
towny.claimed.townowned.* : User is able to edit specified/all block types in their towns owned plots (Town only, not resident owned).
towny.claimed.townowned.build.[block id]
towny.claimed.townowned.destroy.[block id] : (handy to allow clearing of snow '78' on town owned roads/plots)
towny.claimed.townowned.switch.[block id]
towny.claimed.townowned.item_use.[block id]
#
towny.town.spawn.*: Grants all Spawn travel nodes
towny.town.spawn.town : Ability to spawn to your own town.
towny.town.spawn.nation : Ability to spawn to other towns in your nation.
towny.town.spawn.ally : Ability to spawn to towns in nations allied with yours.
towny.town.spawn.public : Ability to spawn to unaffilated public towns.
#
these will be moved to permissions nodes at a later date
permissions: ''
############################################################
+------------------------------------------------------+
| Town and Nation levels |
+------------------------------------------------------+
############################################################
levels:
default Town levels.
town_level:
upkeepModifier: 1.0 namePostfix: ' (Metropolis)' mayorPrefix: 'Lord ' mayorPostfix: '' townBlockLimit: 448 namePrefix: '' numResidents: 28
default Nation levels.
nation_level:
+------------------------------------------------------+
| Town Claim/new defaults |
+------------------------------------------------------+
town:
Default public status of the town (used for /town spawn)
default_public: 'true'
Default Open status of the town (are new towns open and joinable by anyone at creation?)
default_open: 'false'
Default tax settings for new towns.
default_taxes:
Default amount of tax of a new town. This must be lower than the economy.daily_taxes.max_tax_percent setting.
Limits the maximum amount of bonus blocks a town can buy.
max_purchased_blocks: '0'
maximum number of plots any single resident can own
max_plots_per_resident: '100'
Maximum number of towns allowed on the server.
town_limit: '50'
Minimum number of plots any towns plot must be from the next town's own plots.
This will prevent town encasement to a certain degree.
min_plot_distance_from_town_plot: '5'
Minimum number of plots any towns home plot must be from the next town.
This will prevent someone founding a town right on your doorstep
min_distance_from_town_homeblock: '25'
Maximum distance between homblocks.
This will force players to build close together.
max_distance_between_homeblocks: '10'
The maximum townblocks available to a town is (numResidents * ratio).
Setting this value to 0 will instead use the level based jump values determined in the town level config.
town_block_ratio: '8'
The size of the square grid cell. Changing this value is suggested only when you first install Towny.
Doing so after entering data will shift things unwantedly. Using smaller value will allow higher precision,
at the cost of more work setting up. Also, extremely small values will render the caching done useless.
Each cell is (town_block_size * town_block_size * 128) in size, with 128 being from bedrock to clouds.
town_block_size: '16'
############################################################
+------------------------------------------------------+
| Default new world settings |
+------------------------------------------------------+
############################################################
These flags are only used at the initial setup of a new world.
Once Towny is running each world can be altered from within game
using '/townyworld toggle'
new_world_settings:
Default for new worlds to have towny enabled.
using_towny: 'true'
pvp:
Set if PVP is enabled in this world
mobs:
world_monsters_on is a global flag setting per world.
explosions:
Allow explosions in this world
fire:
Allow fire to be lit and spread in this world.
Prevent Endermen from picking up and placing blocks.
enderman_protect: 'true'
Disable players trampling crops
disable_player_crop_trampling: 'true'
Disable creatures trampling crops
disable_creature_crop_trampling: 'true'
World management settings to deal with un/claiming plots
plot_management:
############################################################
+------------------------------------------------------+
| Global town settings |
+------------------------------------------------------+
############################################################
global_town_settings:
can residents/Allies harm other residents when in an area with pvp enabled? Other than an Arena plot.
friendly_fire: 'true'
Players within their town or allied towns will regenerate half a heart after every health_regen_speed seconds.
health_regen: speed: 3s enable: 'true'
Allow towns to claim outposts (a townblock not connected to town).
allow_outposts: 'true'
Allow the use of /town spawn
allow_town_spawn: 'true'
Allow regular residents to use /town spawn [town](TP to other towns if they are public).
allow_town_spawn_travel: 'true'
Allow regular residents to use /town spawn [town] to other towns in your nation.
allow_town_spawn_travel_nation: 'true'
Allow regular residents to use /town spawn [town] to other towns in a nation allied with your nation.
allow_town_spawn_travel_ally: 'true'
If non zero it delays any spawn request by x seconds.
teleport_warmup_time: '0'
Respawn the player at his town spawn point when he/she dies
town_respawn: 'false'
Town respawn only happens when the player dies in the same world as the town's spawn point.
town_respawn_same_world_only: 'false'
Prevent players from using /town spawn while within unclaimed areas and/or enemy/neutral towns.
Allowed options: unclaimed,enemy,neutral
prevent_town_spawn_in: enemy
Enables the [~Home] message.
If false it will make it harder for enemies to find the home block during a war
show_town_notifications: 'true'
############################################################
+------------------------------------------------------+
| Plugin interfacing |
+------------------------------------------------------+
############################################################
plugin:
Valid load and save types are: flatfile, mysql, sqlite, h2.
database: database_load: flatfile database_save: flatfile
interfacing:
day_timer:
The number of hours in each "day".
Lots of messages to tell you what's going on in the server with time taken for events.
debug_mode: 'false'
Info tool for server admins to use to query in game blocks and entities.
info_tool: CLAY_BRICK
Spams the player named in dev_name with all messages related to towny.
dev_mode: enable: 'false' dev_name: ElgarL
Record all messages to the towny.log
logging: 'true'
If true this will cause the log to be wiped at every startup.
reset_log_on_boot: 'true'
############################################################
+------------------------------------------------------+
| Filters colour and chat |
+------------------------------------------------------+
############################################################
filters_colour_chat:
This is the name given to any NPC assigned mayor.
npc_prefix: NPC
Regex fields used in validating inputs.
regex: name_filter_regex: '[ /]' name_checkregex: ^[a-zA-Z0-9.[]-]$ string_checkregex: ^[a-zA-Z0-9\s.[]-]$ name_removeregex: '[^a-zA-Z0-9.[]-]'
modify_chat:
Maximum length of Town and Nation names.
############################################################
+------------------------------------------------------+
| block/item/mob protection |
+------------------------------------------------------+
############################################################
protection:
Items that can be blocked within towns via town/plot flags
259 - flint and steel
325 - bucket
326 - water bucket
327 - lava bucket
351 - bone/bonemeal
359 - shears
368 - ender pearl
374 - glass bottle
385 - fire charge
item_use_ids: FLINT_AND_STEEL,BUCKET,WATER_BUCKET,LAVA_BUCKET,MINECART,STORAGE_MINECART,INK_SACK,SHEARS,ENDER_PEARL,GLASS_BOTTLE,FIREBALL,ARMOR_STAND
Items which can be blocked or enabled via town/plot flags
25 - noteblock
54 - chest ...etc
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
permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
Remove living entities within a town's boundaries, if the town has the mob removal flag set.
town_mob_removal_entities: Monster,WaterMob,Flying,Slime
Prevent the spawning of villager babies in towns.
town_prevent_villager_breeding: 'false'
Disable creatures triggering stone pressure plates
disable_creature_pressureplate_stone: 'true'
Globally remove living entities in all worlds that have their flag set.
world_mob_removal_entities: Monster,WaterMob,Flying,Slime
Prevent the spawning of villager babies in the world.
world_prevent_villager_breeding: 'true'
The maximum amount of time a mob could be inside a town's boundaries before being sent to the void.
Lower values will check all entities more often at the risk of heavier burden and resource use.
NEVER set below 1.
mob_removal_speed: 5s
permitted entities http://jd.bukkit.org/apidocs/org/bukkit/entity/package-summary.html
Animals, Chicken, Cow, Creature, Creeper, Flying, Ghast, Giant, Monster, Pig,
PigZombie, Sheep, Skeleton, Slime, Spider, Squid, WaterMob, Wolf, Zombie
Protect living entities within a town's boundaries from being killed by players.
mob_types: Animals,NPC,Snowman,ArmorStand
permitted Potion Types http://jd.bukkit.org/apidocs/org/bukkit/potion/PotionType.html
ABSORPTION, BLINDNESS, CONFUSION, DAMAGE_RESISTANCE, FAST_DIGGING, FIRE_RESISTANCE, HARM, HEAL, HEALTH_BOOST, HUNGER,
INCREASE_DAMAGE, INVISIBILITY, JUMP, NIGHT_VISION, POISON, REGENERATION, SATURATION, SLOW , SLOW_DIGGING,
SPEED, WATER_BREATHING, WEAKNESS, WITHER.
When preventing PVP prevent the use of these potions.
potion_types: BLINDNESS,CONFUSION,HARM,HUNGER,POISON,SLOW,SLOW_DIGGING,WEAKNESS,WITHER
Prevent fly and double block jump cheats.
cheat_protection: 'true'
The amount of time it takes for a protected block to regenerate. Use zero for no delay.
regen_delay: 0s
############################################################
+------------------------------------------------------+
| Wilderness settings |
+------------------------------------------------------+
############################################################
These Settings defaults only. They are copied to each worlds data files upon first detection
To make changes for each world edit the settings in the relevant worlds data file 'plugins/Towny/data/worlds/'
unclaimed: unclaimed_zone_build: 'true' unclaimed_zone_destroy: 'true' unclaimed_zone_item_use: truee 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 unclaimed_zone_switch: 'true'
############################################################
+------------------------------------------------------+
| Town Notifications |
+------------------------------------------------------+
############################################################
This is the format for the notifications sent as players move between plots.
Empty a particular format for it to be ignored.
Example:
[notification.format]
~ [notification.area[wilderness/town]][notification.splitter][notification.[no]owner][notification.splitter][notification.plot.format]
... [notification.plot.format]
... [notification.plot.homeblock][notification.plot.splitter][notification.plot.forsale][notification.plot.splitter][notification.plot.type]
~ Wak Town - Lord Jebus - [Home] [For Sale: 50 Beli] [Shop]
notification: format: '&6 ~ %s' splitter: '&7 - ' area_wilderness: '&2%s' area_wilderness_pvp: '%s' area_town: '&6%s' area_town_pvp: '%s' owner: '&a%s' no_owner: '&a%s' plot: splitter: ' ' format: '%s' homeblock: '&b[Home]' outpostblock: '&b[Outpost]' forsale: '&e[For Sale: %s]' type: '&6[%s]'
############################################################
+------------------------------------------------------+
| Default Town/Plot flags |
+------------------------------------------------------+
############################################################
default_perm_flags:
Default permission flags for residents plots within a town
#
Can allies/friends/outsiders perform certain actions in the town
#
build - place blocks and other items
destroy - break blocks and other items
itemuse - use items such as furnaces (as defined in item_use_ids)
switch - trigger or activate switches (as defined in switch_ids)
resident: friend: build: 'true' destroy: 'true' item_use: 'true' switch: 'true' ally: build: 'false' destroy: 'false' item_use: 'false' switch: 'false' outsider: build: 'false' destroy: 'false' item_use: 'false' switch: 'false'
Default permission flags for towns
These are copied into the town data file at creation
#
Can allies/outsiders/residents perform certain actions in the town
#
build - place blocks and other items
destroy - break blocks and other items
itemuse - use items such as flint and steel or buckets (as defined in item_use_ids)
switch - trigger or activate switches (as defined in switch_ids)
town: default: pvp: 'true' fire: 'false' explosion: 'false' mobs: 'false' resident: build: 'true' destroy: 'true' item_use: 'true' switch: 'true' ally: build: 'false' destroy: 'false' item_use: 'false' switch: 'false' outsider: build: 'false' destroy: 'false' item_use: 'false' switch: 'false'
############################################################
+------------------------------------------------------+
| Resident settings |
+------------------------------------------------------+
############################################################
resident_settings:
player is flagged as inactive after 1 hour (default)
inactive_after_time: 1h
if enabled old residents will be kicked and deleted from a town
after Two months (default) of not logging in
delete_old_residents: enable: 'false' deleted_after_time: 60d delete_economy_account: 'true'
The name of the town a resident will automatically join when he first registers.
default_town_name: ''
If true, players can only use beds in plots they personally own.
deny_bed_use: 'false'
############################################################
+------------------------------------------------------+
| Economy settings |
+------------------------------------------------------+
############################################################
economy:
By default it is set to true.
Rarely set to false. Set to false if you get concurrent modification errors on timers for daily tax collections.
use_async: 'true'
Prefix to apply to all town economy accounts.
town_prefix: town-
Prefix to apply to all nation economy accounts.
nation_prefix: nation-
spawn_travel:
Cost to use /town spawn
The daily upkeep to remain neutral during a war. Neutrality will exclude you from a war event, as well as deterring enemies.
price_nation_neutrality: '100.0'
new_expand:
How much it costs to start a nation.
death:
Either fixed or percentage.
banks:
Maximum amount of money allowed in town bank
closed_economy:
The name of the account that all money that normally disappears goes into.
daily_taxes:
Enables taxes to be collected daily by town/nation
############################################################
+------------------------------------------------------+
| Jail Plot settings |
+------------------------------------------------------+
############################################################
jail:
If true attacking players who die on enemy-town land will be placed into the defending town's jail if it exists.
is_jailing_attacking_enemies: 'false'
If true jailed players can use Ender Pearls but are still barred from using other methods of teleporting.
jail_allows_ender_pearls: 'false'
If false jailed players can use /town leave, and escape a jail.
jail_denies_town_leave: 'false'
bail:
If true players can pay a bail amount to be unjailed.
############################################################
+------------------------------------------------------+
| War settings |
+------------------------------------------------------+
############################################################
war:
This setting allows you disable the ability for a nation to pay to remain neutral during a war.
nation_can_be_neutral: 'true'
############################################################
+------------------------------------------------------+
| Economy Transfers During War settings |
+------------------------------------------------------+
############################################################
economy: enemy:
Amount charged to place a warflag (payed to server).
############################################################
+------------------------------------------------------+
| War Event settings |
+------------------------------------------------------+
############################################################
This is started with /townyadmnin toggle war
In peace time War spoils are accumulated from towns and nations being
deleted with any money left in the bank.
#
These funds are increased during a war event upon a player death.
An additional bonus to the war chest is set in base_spoils.
#
During the event a town losing a townblock pays the wartime_town_block_loss_price to the attacking town.
The war is won when the only nations left in the battle are allies, or only a single nation.
#
The winning nations share half of the war spoils.
The remaining half is paid to the town which took the most town blocks, and lost the least.
event: warning_delay: '30'
If false all towns not in nations can be attacked during a war event.
############################################################
+------------------------------------------------------+
| Flag war settings |
+------------------------------------------------------+
############################################################
enemy:
If false, players won't be able to place war flags, effectively disabling warzones.
############################################################
+------------------------------------------------------+
| Warzone Block Permissions |
+------------------------------------------------------+
############################################################
warzone:
List of materaials that can be modified in a warzone.