10-06-2014, 05:34 AM
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.
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.