So there's a weird bug with vanilla GUIs where there's a way to take out items by SHIFTING + RIGHT CLICKING + CLOSING INVENTORY. I can't use TuSKe due to server problems, so is there any fix?
Code:
command /test:
permission: op
trigger:
open chest inventory with 3 rows named "§c§lTest" to player
loop 27 times:
set slot (loop-integer -1) of player's current inventory to gray stained glass pane named "§r" with all flags hidden
on inventory click:
if name of event-inventory is "§c§lTest":
if event-slot is gray stained glass pane named "§r" with all flags hidden:
cancel event
stop