Adds display cases for your items!
Getting a display case:
- Currently, the only way to get a display case is by using the command /display give. This command requires the permission display.give
Placing a display case:
- Simply place the display case anywhere you want. They work and look best when placed on top of a block, but anywhere will work.
- This requires the permission display.place
Putting an item in a display case:
- There are two different ways of putting an item in a display case
- If you right click while your MineCraft character is standing, then one of your currently held item's will be placed in the display case.
- Alternatively, if you're sneaking and right click the display case, the whole stack of what you're holding will be placed in the display case.
- This requires the permission display.put
Adding an item to a display case:
- This feature only applies when there is already an item in the display case. To add an item to the display case, two conditions need to be met:
- The item you're trying to add has to be exactly the same as the item already in the display case and,
- There has to be less than 64 of them already in the display case
- To actually do this, right click on the display while a) holding the item and b) sneaking in game.
- This requires the permission display.put as well
Taking an item out of a display case:
- You have to be the owner of the item in the display case to be able to take it out. Simply right click to take the item back.
- This also requires the permission display.put
Viewing the item in a display case:
- Left clicking a display case with an item in it will show a GUI with the item in it, so that player's are able to inspect the item. This does not require a permission.
Changing the options of a display case:
- In the same GUI as when viewing the item, there will be a blue slot that only works for the owner of the item. Left clicking this will cycle through the currently supported options, and right clicking will cycle through the settings for whichever option is currently selected.
- Inherently, this requires the permission display.put
Picking up a display case:
- Simply left click the display case while sneaking to pick it up. This will only work if there is not currently an item in said display case.
- This requires the permission display.place
Retrieving your items if a display case goes missing:
- If a display case is ever removed from a world, no matter how, the item in the display case is not lost. The owner of the item will be able to use /display items to view and retrieve the item(s) which were lost.
That should cover how you interact with a display case. There is only one command, and it's only used to give yourself a display case, so probably not worth going over.
This skript requires
SkBee (for the display cases) and
skript-gui (for inspecting the item). Specifically, this was coded using Skript 2.6.4, SkBee 2.15 and skript-gui 1.3.
If you have any suggestions or if you find any bugs/glitches, let me know here or on discord
@cheezburga
Credit for the concept goes to @_dialed on Discord!