forked from ShaneBeeStudios/SurvivalPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
Config
VetheonGames edited this page Sep 12, 2021
·
4 revisions
You can disable certain features or change values by doing the following:
- Open plugins/SurvivalPlus
- Open config.yml
- Save the file after editing and reload.
Let's take a look at the config.yml
This is the default config. During updates, when values change, you will most likely lose the notes for the config. You can get these back by deleting your config or checking back here.
# Settings
# Notes in this config are lost on updates if the config file changes
# If you would like to see the notes, delete this file and it will regenerate with notes
# (Make sure to backup your config file)
# Preset language file includes in-game messages, item names, lore, etc.
# Language options are EN (English) or CN (Chinese)
Language: EN
MultiWorld:
# Enable the SurvivalPlus resource pack for players
EnableResourcePack: true
# The link to the pack, you can put a custom link here if need be
ResourcePackURL: https://www.dropbox.com/s/fq6or9vvcup7wvd/SP-1.14v6.zip?dl=1
# Notify players when they log in if they deny the resource pack
NotifyMessage: true
# The distance from the player at which other players will see their chat messages
# -1 = disabled
LocalChatDist: -1
# Disable player's coords in the Minecraft debug screen
NoPos: true
# When a player joins, they will get a link to a simple starter guide
WelcomeGuide:
Enabled: true
# Only send to players the first time they log in
NewPlayersOnly: false
# Delay in seconds until this message appears
Delay: 5
Survival:
# When enabled, the basic custom SurvivalPlus items will be included in the game
Enabled: true
# With this enabled, players will only be able to craft items which they have unlocked recipes for
LimitedCrafting: false
# If true, all custom recipes will be unlocked when a player joins
# If false, recipes will be unlocked as a player advances thru the game
Unlock-all-recipes-on-join: false
# With these enabled, players will only be able to break most blocks with the correct tools
BreakOnlyWith:
Axe: true
Pickaxe: true
Shovel: true
Shears: true
Sickle: true
# Enable each sickle individually
# (note: if BreakOnlyWith.Sickle = false or Survival.Enabled = false, these will be ignored)
# (note: diamond and iron sickles rely on stone sickles in their recipe, so its best to leave stone enabled if diamond or iron are enabled)
Sickles:
Flint: true
Stone: true
Iron: true
Diamond: false
# With this enabled, players will need a hammer in their off hand to place most buildable blocks
PlaceOnlyWith:
Hammer: true
# The rates at which items will drop (Value between 0.01 -> 1.0)
DropRate:
# Dropped when breaking gravel
Flint: 0.5
# Dropped when breaking leaves
Stick: 0.25
# Enables custom torch recipes
Torch: true
# Enables updating trade options for merchants (ie: Villagers) with custom items equivalent to the trade option
# Ex: An armorer offers diamond chestplate -> diamond chestplate with the slowness attribute
# Ex: A toolsmith offers diamond hoe -> diamond sickle
UpdateMerchantTrades: true
Mechanics:
# This is an experimental feature, I recommend not using it
SharedWorkbench: false
# When enabled the night will not skip to day when players sleep
Prevent-Night-Skip: false
# When enabled, players will slow down when wearing heavy armor such as diamond or gold armor
SlowArmor: true
# Enables recipes for reinforced leather armor
ReinforcedLeatherArmor: true
# When enabled, players will only be able to shoot a bow/crossbow from their main hand
# They will also need to have arrows in their offhand to shoot a bow/load a crossbow
Bow: true
# Enables the recurved bow and crossbow
RecurveBow: true
# Enables grappling hooks
GrapplingHook: true
# Enables the medical kit
MedicalKit: true
# Reduced recipes for iron/gold nuggets
ReducedIronNugget: true
ReducedGoldNugget: true
# Shows the players different status levels in a scoreboard
StatusScoreboard: true
# Interval for alert messages [in seconds] (Currently used to warn players when thirst/nutrients are low)
AlertInterval: 20
# Applies hunger to players when eating raw meat
RawMeatHunger: true
# Players can empty potions in a workbench
EmptyPotions: true
# When consuming poisonous potatoes, apply a few extra effects to the player
PoisonousPotato: true
# Eating cookies will boost a player's health
CookieHealthBoost: true
# Eating beetroots will boost a player's strength
BeetrootStrength: true
# Players will need to eat a different variety of foods to stay nourished
FoodDiversity:
enabled: true
# Max level for each nutritional value
max-level:
carbs: 50000
salts: 50000
proteins: 50000
# Each nutrition section has different effects when player's levels are too low
effects:
carbs:
# Exhaustion amplifier will differ based on server difficulty level
exhaustion-amplifier:
easy: 2
normal: 4
hard: 8
salts:
exhaustion-amplifier: 1
# Status effects/amplifiers can differ based on server difficulty level
status-effects:
normal:
# The effect (uses Bukkit PotionEffectTypes)
# You can find these effects here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
effect: WEAKNESS
# The amplifying level (0 = tier 1, 1 = tier 2)
amplifier: 0
# The time in seconds this effect will last for
duration: 20
hard:
effect: WEAKNESS
amplifier: 1
duration: 20
proteins:
exhaustion-amplifier: 1
# Status effects/amplifiers can differ based on server difficulty level
status-effects:
normal:
effect: WEAKNESS
amplifier: 0
duration: 20
hard:
effect: WEAKNESS
amplifier: 1
duration: 20For a more detailed description of the thirst system, check out the Hydration Wiki
Thirst:
Enabled: true
# The level of thirst a player starts out with (max = 40)
Starting-Amount: 30
# The level of thirst a player gets after respawning after death (max = 40)
Respawn-Amount: 30
# Enables 3 different levels of water (dirty, clean, purified)
PurifyWater: true
MeltSnow: true
# The rate at which a player's thirst level will drop (value from 0.01 -> 1.0)
DrainRate: 1.0
# If player is in a HOT biome, drain 1 extra thirst point every X seconds
# This helps speed up thirst draining when a player is in a hot biome like the desert or savannah
# (ex: at a rate of 30, thirst drops 2 points a minute, which means the player would lose all thirst in 20 minutes)
# If set to 0, this will be disabled
HeatDrain: 30
# If player is in the nether, drain 1 extra thirst point every X seconds
# This helps speed up thirst draining when a player is in the nether
# (ex: at a rate of 30, thirst drops 2 points a minute, which means the player would lose all thirst in 20 minutes)
# If set to 0, this will be disabled
NetherDrain: 30
# The amount of damage a player takes when their thirst level is empty
DamageRate: 1.0
# The level of thirst that will be replenished when a player consumes this item
Replenish-Level:
beetroot-soup: 6
melon-slice: 6
mushroom-stew: 12
water-bowl: 10
coffee: 23
cold-milk: 15
hot-milk: 10
milk-bucket: 30
honey-bottle: 16
# Only used if PurifyWater is enabled
dirty-water: 13
clean-water: 18
purified-water: 23
# This can be used for any other water bottle (such as custom ones or just vanilla water bottles)
# If you do not want players to get thirst from other water bottles leave this at 0
other-water: 0
# Only used if PurifyWater is disabled
water: 18