Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server config for armor does not work #19

Open
carlosr9 opened this issue Oct 22, 2023 · 0 comments
Open

Server config for armor does not work #19

carlosr9 opened this issue Oct 22, 2023 · 0 comments

Comments

@carlosr9
Copy link

carlosr9 commented Oct 22, 2023

It is a modded server. I can't get the changed parameters for the armors in the config file to apply.
However, they do work in the client config.

It seems that the client-side config has priority over the server-side config.

Minecraft version: 1.19.2
Mod version: 0.3.3

#Set the values for armor.
	[items.armor]

		#Set the defense value of an armor item. May not work on modded armors, please file an issue if that's the case. Example (without the leading #):
		#"minecraft:golden_chestplate" = 10
		[items.armor.defense]
			"fromtheshadows:diabolium_chest" = 9
			"fromtheshadows:diabolium_leggings" = 7
			"born_in_chaos_v1:dark_metal_armor_chestplate" = 9
			"stalwart_dungeons:chorundum_armor_leggings" = 7

		#Set the toughness value of an armor item. May not work on modded armors, please file an issue if that's the case. Example (without the leading #):
		#"minecraft:golden_boots" = 1
		[items.armor.toughness]
			"born_in_chaos_v1:dark_metal_armor_helmet" = 3.5
			"born_in_chaos_v1:dark_metal_armor_chestplate" = 3.5
			"born_in_chaos_v1:dark_metal_armor_leggings" = 3.5
			"born_in_chaos_v1:dark_metal_armor_boots" = 3.5
			"fromtheshadows:diabolium_helmet" = 2.8
			"fromtheshadows:diabolium_chest" = 2.8
			"fromtheshadows:diabolium_leggings" = 2.8

		#Set the knockback resistance of an armor item. May not work on modded armors, please file an issue if that's the case. Example (without the leading #):
		#"minecraft:golden_leggings" = 0.1
		[items.armor.knockback_resistance]
			test = 0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant