From 74a211bc88b18ffa2b2b376f988959394f71ab81 Mon Sep 17 00:00:00 2001 From: alexcrea <42614139+alexcrea@users.noreply.github.com> Date: Wed, 18 Sep 2024 12:47:30 +0200 Subject: [PATCH] Update default configs --- defaultconfigs/1.18/config.yml | 52 +++++++++++++++++++++++- defaultconfigs/1.21/config.yml | 41 +++++++++++++++++-- defaultconfigs/1.21/enchant_conflict.yml | 3 ++ defaultconfigs/1.21/unit_repair_item.yml | 2 + 4 files changed, 93 insertions(+), 5 deletions(-) diff --git a/defaultconfigs/1.18/config.yml b/defaultconfigs/1.18/config.yml index 5cc0929..5b47ec4 100644 --- a/defaultconfigs/1.18/config.yml +++ b/defaultconfigs/1.18/config.yml @@ -55,7 +55,36 @@ unit_repair_cost: 1 # Valid values include 0 to 1000 sacrifice_illegal_enchant_cost: 1 -# Default limit to apply to any enchants missing from override_limits +# Allow using color code and hexadecimal color. +# +# Color code are prefixed by "&" and hexadecimal color by "#". +# Color code will not be applied if it colors nothing. "&&" can be used to write "&". +allow_color_code: false +allow_hexadecimal_color: false + +# Toggle if color should only be applicable if the player a certain permission. +# +# permission are "ca.color.code" for use of color code and "ca.color.hex" for use of hexadecimal color. +permission_needed_for_color: true + +# Xp cost if the player use color in the items name on rename. +# +# Valid values include 0 to 1000. +use_of_color_cost: 0 + +# Work penalty increase the price for every anvil use. +# This config allow you to choose the comportment of work penalty. +# Vanilla work penalty formula can be represented as 2 * previous_penalty + 1. with start value equal to 0 +# See https://minecraft.wiki/w/Anvil_mechanics#Anvil_uses for more detail +# +# Valid work penalty type is: +# - default: work penalty added and increased +# - increase_only: work penalty increased but not added +# - add_only: work penalty added but not increased +# - disabled: work penalty disabled +work_penalty_type: default + +# Default limit to apply to any enchants missing from enchant_limits # # Valid values include 1 to 1000 default_limit: 5 @@ -108,6 +137,9 @@ enchant_limits: quick_charge: 3 soul_speed: 3 swift_sneak: 3 + density: 5 + breach: 4 + wind_burst: 3 # Multipliers used to calculate the enchantment's value in repair/combining # @@ -241,6 +273,15 @@ enchant_values: vanishing_curse: item: 8 book: 4 + density: + item: 1 + book: 1 + breach: + item: 4 + book: 2 + wind_burst: + item: 4 + book: 2 # Whether to show debug logging debug_log: false @@ -248,4 +289,11 @@ debug_log: false # Whether to show verbose debug logging debug_log_verbose: false -configVersion: 1.4.5 +# In case something when wrong with CustomAnvil packet manager. +# If you see "missing class exception" or similar you may test this. +# If enabled and Protocolib absent or disabled "Replace to expensive" will not work. +# ProtocoLib may also be used if the server is in an "unsupported" version even if this option is disabled. +force_protocolib: false + +configVersion: 1.6.2 +lowMinecraftVersion: '1.21' diff --git a/defaultconfigs/1.21/config.yml b/defaultconfigs/1.21/config.yml index 0ad3def..5b47ec4 100644 --- a/defaultconfigs/1.21/config.yml +++ b/defaultconfigs/1.21/config.yml @@ -55,7 +55,36 @@ unit_repair_cost: 1 # Valid values include 0 to 1000 sacrifice_illegal_enchant_cost: 1 -# Default limit to apply to any enchants missing from override_limits +# Allow using color code and hexadecimal color. +# +# Color code are prefixed by "&" and hexadecimal color by "#". +# Color code will not be applied if it colors nothing. "&&" can be used to write "&". +allow_color_code: false +allow_hexadecimal_color: false + +# Toggle if color should only be applicable if the player a certain permission. +# +# permission are "ca.color.code" for use of color code and "ca.color.hex" for use of hexadecimal color. +permission_needed_for_color: true + +# Xp cost if the player use color in the items name on rename. +# +# Valid values include 0 to 1000. +use_of_color_cost: 0 + +# Work penalty increase the price for every anvil use. +# This config allow you to choose the comportment of work penalty. +# Vanilla work penalty formula can be represented as 2 * previous_penalty + 1. with start value equal to 0 +# See https://minecraft.wiki/w/Anvil_mechanics#Anvil_uses for more detail +# +# Valid work penalty type is: +# - default: work penalty added and increased +# - increase_only: work penalty increased but not added +# - add_only: work penalty added but not increased +# - disabled: work penalty disabled +work_penalty_type: default + +# Default limit to apply to any enchants missing from enchant_limits # # Valid values include 1 to 1000 default_limit: 5 @@ -260,5 +289,11 @@ debug_log: false # Whether to show verbose debug logging debug_log_verbose: false -configVersion: 1.4.5 -lowMinecraftVersion: 1.21 +# In case something when wrong with CustomAnvil packet manager. +# If you see "missing class exception" or similar you may test this. +# If enabled and Protocolib absent or disabled "Replace to expensive" will not work. +# ProtocoLib may also be used if the server is in an "unsupported" version even if this option is disabled. +force_protocolib: false + +configVersion: 1.6.2 +lowMinecraftVersion: '1.21' diff --git a/defaultconfigs/1.21/enchant_conflict.yml b/defaultconfigs/1.21/enchant_conflict.yml index c1fded8..dc3e951 100644 --- a/defaultconfigs/1.21/enchant_conflict.yml +++ b/defaultconfigs/1.21/enchant_conflict.yml @@ -360,16 +360,19 @@ restriction_density: - density notAffectedGroups: - mace + - enchanted_book restriction_breach: enchantments: - breach notAffectedGroups: - mace + - enchanted_book restriction_wind_burst: enchantments: - wind_burst notAffectedGroups: - mace + - enchanted_book mace_enchant_conflict: enchantments: - density diff --git a/defaultconfigs/1.21/unit_repair_item.yml b/defaultconfigs/1.21/unit_repair_item.yml index 2902cce..ec548c6 100644 --- a/defaultconfigs/1.21/unit_repair_item.yml +++ b/defaultconfigs/1.21/unit_repair_item.yml @@ -188,3 +188,5 @@ warped_planks: wooden_shovel: 0.25 wooden_hoe: 0.25 shield: 0.25 +breeze_rod: + mace: 0.25