EssentialsX / Essentials

The modern Essentials suite for Spigot and Paper.
https://essentialsx.net
GNU General Public License v3.0
1.95k stars 982 forks source link

1.20 and 1.21 items not recognized by essentialsx commands like /give #5917

Closed samkee00 closed 2 months ago

samkee00 commented 2 months ago

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=9516ff0d5c7b46b384c7020cf9d94aab

Error log (if applicable)

No response

Bug description

Items added in 1.20 and 1.21, such as cherry_wood or vault respectively, aren't in items.json or recognized by essentials commands like /give. This can be bypassed by using /minecraft:give instead, but is inconvenient and could presumably be fixed by updating essentials' list of recognized items.

Steps to reproduce

  1. Try to run the /give command with an item added in 1.20 or 1.21 (ie /give samkee00 cherry_wood)

Expected behaviour

The player should receive the specified item (in this case, cherry_wood)

Actual behaviour

The text "Error: Unknown item name: cherry_wood." appears in chat

Additional Information

No response

Evidentsinger14 commented 2 months ago

Stop your server, delete /plugins/Essentials/items.json and then start the server. Try it again.

samkee00 commented 2 months ago

Stop your server, delete /plugins/Essentials/items.json and then start the server. Try it again.

I realized this almost immediately after posting this issue. So sorry