Essentials "worth.yml" inconsistency
I'm trying to set prices for all items in the Essentials plugin's "worth.yml" config file.
The server is running 1.11.2.
Only some items in the config are recognized, and I don't see the problem.
For example, the line for beacon in config is
beacon: 15000.0
and the game responds correctly, when asked "/price beacon",
The line for iron horse armor is
ironhorsearmor: 44.0
but when asked "/price ironhorsearmor" (a valid name in essentials), the game answers
Why are some items unrecognized?
- All prices across the file are configued the same way
- "Working" items "work" for /price, /buy, and /sell
- "Broken" items do not work for /price, /buy, or /sell
- Examples of working items are beacons, stone, all clay colors, saplings
- Examples of broken items are carrots, all horse armors, all dye colors
Best Answer
I believe the problem from what I saw is that the official Minecraft id for iron horse armor is:
iron_horse_armor
And not,
ironhorsearmor
so I believe this is the problem I would suggest changing this and trying it again. If that doesn't fix it then its probably the actual mod and I would need to see it.
Plus if this does fix it then you will need to change the other horse armors as well.
Pictures about "Essentials "worth.yml" inconsistency"



More answers regarding essentials "worth.yml" inconsistency
Answer 2
As about everyone has said, it's iron_horse_armor, and Not IronHorseArmor. It is a "bug" with essentials that it will look for anything, even if it's not in Minecraft's code. This is especially for mods (iirc). If you have said the price, and then do
/sell hand
And if it doesn't work, you have the wrong ID.
Also, The ID of Carrot is
Carrots
As just Carrot, without an S is the crop, that grows on Soil.
The Dye Color IDs are not like INK but instead are
dye:1-14.
(If this doesn't work tell me so I can see if there's more IDs for Dye) (INK_SACK just might work though, but there's no such thing as just: blue)
It's the same with spawn eggs, There's no such thing as:
zombiespawnegg
But instead it is:
spawn_egg:1
(I don't know what the Zombie ID is, 1 should be pig.) Even though IT MIGHT BE possible that essentials has changed this and the ID has changed to: pigspawnegg, for example.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Rachel Claire, Rachel Claire, OVAN, Timur Weber


