Cuberite Forum

Full Version: Core: Any way to choose which items that can be given?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!
In the Core-plugin, there are two handy commands, /item and /give, which you can use to spawn in items. However, is there a way to choose which items that can be given with those commands, or make an item id return an "Unknown item id" message? When I tried to give myself some technical blocks in 1.7 (for example the Bed Block, ID 26), my client crashed, as you can't have technical blocks in your inventory anymore since 1.7.

The reason why I'm asking this is because I allow players on my server to give themselves items. Some of these players may try to get these technical blocks, without knowing that their client will crash.
You'd have to modify the core code.
I recommend opening an issue in the GitHub tracker for the Core with a feature request for this.