config.yml
This file contains all the general settings of the plugin and its modules.
It contains the following values:
config-versionFor internal use to convert the configuration between different versions if necessary. Do NOT change or it will break things!debugLog some debug messages about the inner working of the plugin.true/falseentries-per-pageAmount of entries that should be shown per page in chat e.g. for command help messages. Default:10players-in-infoHow many players should show up in settlement/empire member lists. Default:40command-confirm-timeHow long in seconds a player has time to confirm certain commands. Default:30seconds
storage
Settings for how to store the plugin's data. Type and access settings cannot be dynamically reloaded!
typeThe type of storage to be used. Valid values aresqlite(default) andmysqlhostSet the MySQL server's host. Default:localhostportSet the MySQL server's port. Default:3306userSet the MySQL server's user for authentication.passwordSet the MySQL server's user password for authenticationdatabaseThe MySQL database to store the data intable-prefixThe prefix to use for the tablesurl-parametersAdditional MySQL connection URL parametersqueue
Settings for how the storage save queue behaves. (Queues are fully saved on shutdown)sizeMax size of the queue before saving happens. Default:100waitTime to wait in seconds before saving queued entries. Default:2
upkeep
Settings for the settlement, empire and land upkeep/tax scheduler
hourThe hour of the day at which to run the upkeep. Default:0timezoneThe timezone the hour is in. Default:UTC
cache
Time in seconds which a resident's data stays in the cache even if it is not needed elsewhere to avoid loads.
duration-residentDefault:120seconds
settlement
Settings for settlement behaviour
creation-costHow much a player must pay to create a settlement Default:1000start-balanceHow much money a settlement starts with Default:1000max-sizeMaximum size a settlement can have (0 disables the size check) Default:30playersmax-taxMaximum value that a settlement's tax can be set to. Set to -1 to disable maximum Default:-1titles-per-rankHow many different titles can be configured for a rank Default:10
claiming
Settings for claims
disabled-worldsList of worlds in which claiming of Settlement chunks are disabled. Default:[world_nether]enemy-distanceDistance in chunks that have to be between claims of non-allied settlements Default:4max-radiusMaximum radius in chunks which can be (un)claimed with the radius (un)claiming commands Default:5close
Settings for certain actions when they are close to already existing claimsbuilding-notification
Send a warning message to players when they build close to a claimdistanceThe distance in chunks in which a settlement should get a notification when someone builds/griefs. Default:4chunks.0disables it.toggle-timeThe time in minutes after which a disabled notification will turn on again. Default:30minutes
unclaim
Settings for automatically unclaiming of claims that are too close when an alliance is disbandedgrace-daysHow many days to wait before automatically unclaiming claims that are too close when unallying. Default:4days. Set to-1to disable the automatic unclaiming of too close landsoutpostsWhether or not outposts are unclaimed.true/false
outpost
Settlement outpost settings
creation-costHow much a settlement must pay to create a new outpost. Default:0
upkeep
Settlement upkeep settings
abandon-timeThe amount of minutes that a settlement will stay abandoned after not being able to pay their upkeep. Abandoned settlements can be raided and fully accessed but nobody can claim them. Default:30minutes.inactive-timeThe amount of days that a settlement's chief can be offline until it gets deleted. Set to -1 if you don't want to delete them at all. Default:30days
empire
Settings for empire behaviour
claim-transferWhether or not a player can transfer their bought claims to an empire.true/falsecreation-costHow much a settlement must pay to create an empire Default:0start-balanceHow much money an empire starts with Default:0max-taxMaximum value that an empire's tax can be set to. Set to -1 to disable maximum Default:1000000max-sizeMaximum size an empire can have (0 disables the size check) Default:20member settlementsrename-cooldownThe cooldown in seconds after renaming an empire Default:30titles-per-rankHow many different titles can be configured for a rank Default:10
world
Settings for the automatically generated empire worlds
enabledWhether each empire should get their own world automatically generated Default:trueprefixThe prefix of all empire worlds. WARNING: Changing this with existing worlds will break them! Default:suffixThe suffix of all empire worlds. WARNING: Changing this with existing worlds will break them! Default:_DomainenvironmentThe environment of the world. Can benormal,netherorthe_end. Default:normaltypeThe type of the world. Can benormal,flat,large_biomesoramplified. Default:normalgeneratorThe name of the generator to use for the empire worlds. Set to empty to not use one. Default:generator-settingsThe settings for the defined generator Default:seedThe seed to be used for the generator. Set to empty to use a random one for each world. Default:structuresWhether or not to generate structures. Default:falseborder-radiusThe radius that an empire world will have by default. Default:500blocksregen-durationAmount of seconds an empire can regenerate their world after empire generation to find one they like. Set to -1 to allow infinite regeneration Default:3600seconds
upkeep
Empire upkeep settings
abandon-timeThe amount of minutes that an empire will stay abandoned after not being able to pay their upkeep. Abandoned empire worlds can be raided and fully accessed. Default:1440minutescostThe amount an empire needs to pay per day. Default:1000
plot
Settings for claimed plots
max-taxMaximum value that a plot's tax can be set to. Set to -1 to disable maximum Default:-1name-lengthMaximum length that plot names can be (without formatting). Cannot be longer than 255. Default:25description-lengthMaximum length that plot descriptions can be (without formatting). Default:255
modes
Mode settings of different types. Possible modes include fire spreading (firespread), any kind of explosions (explosion), pvp, hostile monster (mobspawning) and passive animal (passivespawnming) spawning.
Types:
unclaimedModes for unclaimed landunclaimableModes for worlds that have claiming disabledworldsSection to specify mode overrides in certain worldsabandoned
Modes for abandoned land ownersvillageAbandoned Village-level SettlementskingdomAbandoned Kingdom-level SettlementsempireAbandoned Empire worlds
Default settings:
# Modes in unclaimed land unclaimed: firespread: false explosion: false pvp: true mobspawning: true passivespawning: true # Settings for worlds that have claiming disabled unclaimable: firespread: false explosion: false pvp: true mobspawning: true passivespawning: true # Override modes in specific worlds worlds: Resource: explosions: true world_nether: explosions: false # Modes in abandoned settlements/empires abandoned: # Village-level Settlements village: firespread: false explosion: false pvp: true mobspawning: true passivespawning: true # Kingdom-level Settlements kingdom: firespread: false explosion: false pvp: true mobspawning: true passivespawning: true # Abandoned Empire worlds empire: firespread: false explosion: false pvp: true mobspawning: true passivespawning: true
lock
Settings for the inbuilt chest/block locking functionality
enabledEnable or disable the inbuilt locking. Default:trueonly-in-claimWhether or not locks are only allowed in settlement claims and empire worlds. Default:falsealternative-hopper-protectionThis checks if a block is protected by checking on hopper place rather than using the InventoryMoveItemEvent stealing of items. Default:trueload-queue-ticksAmount in ticks after which the chunk queue will be processed to load the locks in it. Default:20ticks
blocks: - chest - trapped_chest - dispenser - dropper - furnace - '*shulker_box' - '*_door' - '*_trapdoor' - '*_fence_gate' - '*_button' - lever - note_block - jukebox
unclaimSettings for what should happen with locks if the land gets unclaimedremoveRemove all locks in a chunk when it gets unclaimed. Default:trueremove-blockAlso remove the blocks when the locks get removed on unclaim. Default:false
portal
Settings for the inbuilt nether portal teleportation functionality
enabledEnable or disable the inbuilt portal handling. Default:trueallow-nether-teleportWhether unlinked portals should teleport to the nether like normal. Default:falseonly-inside-claimsOnly allow portals to be created and used inside of claims. Linking of portals will still be restricted to claimed land only!. Default:trueignore-unclaimable-worldsWhether portals in unclaimable worlds should just work like Vanilla nether portals. Default:false
If set totruebutonly-inside-claimsistruetoo then players will not be able to manually link to portals in unclaimable worlds
If set tofalsethen players will not be able to create portals in unclaimable worlds ifonly-inside-claimsistrue.
If set tofalseandonly-inside-claimsisfalsethen portals will just work like normal nether portals in unclaimable worlds.
teleport
Settings for teleportation
spawn-commandThe command to run to teleport the player to spawn via the GUI, when a player is kicked from a settlement's claim or when an Empire world is made private/removed. Default:
Can use{player}as a placeholder for the player's name.
If not set it will teleport to the world spawn of the default world.delay
The amount of time in seconds which a player needs to stand still before being teleported to an outpost/home. Set to 0 to instant teleport. Defaults:outpost: 3village: 3kingdom: 3empire: 3
cooldown
Seconds to wait after allowing a teleport again if user has thekingdoms.bypass.teleport-delaypermission. Defaults:outpost: 3village: 3kingdom: 3empire: 3
chat
Settings for the inbuilt chat handling
enabledEnable or disable the inbuilt chat. Default:truechat-onlyShould this plugin only handle chat and not provide any other function? Useful for cross-server chat (requires ConnectorPlugin). Default:falsereset-channels-on-loginShould all channels be set to the default config on player login or be the same as on logout. Default:truenotifySettings for the chat notificationssoundThe sound that is played when a player's name is mentioned in chat. Default:entity_experience_orb_pickupcooldownSeconds between notification sounds. Default:15seconds
placeholder-apiSettings for where the PlayerholderAPI should be integrated into the chathoverReplace placeholders in the player name hovers. Default:trueformatSettings for the channel formatschannelReplace placeholders in the channel format. Default:trueprivateReplace placeholders in the private message format. Default:true
channel-colorsThe default chat channel colors. Defaults:
channel-colors: general: white event: green local: yellow admin: dark_purple staff: gold help: white settlement: yellow trade: light_purple ally: aqua empireally: aqua empire: aqua private-sent: aqua private-received: aqua
channel-prefix-colorsThe default channel prefix colors. Defaults:
channel-prefix-colors: general: black event: green local: yellow admin: red staff: blue help: red settlement: aqua trade: light_purple ally: gold empireally: gold empire: aqua private-sent: dark_gray private-received: dark_gray
selectable-colorsThe colors that players can use for chat channels. Defaults:
selectable-colors: - blue - dark_blue - dark_green - dark_aqua - dark_red - dark_purple - gold - gray - dark_gray - green - aqua - red - light_purple - yellow - white
sidebar
Settings for the inbuilt scoreboard sidebar
enabledEnable or disable the inbuilt sidebar. Default:trueupdateSeconds between scoreboard updates. Default:1header-speedTicks for the scoreboard header animation (set to 0 to disable it). Default:2placeholder-apiWhether PlaceholderAPI placeholders should be replaced in the sidebar. Default:true
titles
Settings for player-specified titles
block-cursesWhether or not to block curses inside player-set settlement/empire titles. Default:true
chestshop
Settings for the ChestShop integration
allow-selling-below-upkeepWhether or not it is allowed for a settlement's/empire's shop to be sold to if the owner goes below their next upkeep. Default:falsenotification-cooldownThe seconds between shop transaction notifications. Default:5seconds
brewery
Settings for the Brewery integration
block-channelsPlayers with a drunkeness above that value can no longer write in the channel. Defaults:
block-channels: local: 9001 trade: 1 event: 1 general: 1 settlement: 9001 empire: 1 ally: 1 empireally: 1 admin: 9001 staff: 9001