Hey guys. I maked test plugin. I make nbt tag, tile etc. It dont send error. It worked. It only make chest sound but dont send chest window. Please help me.
That's outdated Use the https://github.com/Muqsit/InvMenu virion. It makes creating and managing fake inventories very simple. Spoiler: InvMenu example PHP: $menu = InvMenu::create(InvMenu::TYPE_CHEST);$menu->getInventory()->setContents([ Item::get(Item::DIAMOND_SWORD), Item::get(Item::DIAMOND_PICKAXE)]);/** @var Player $player */$menu->send($player);
Think of a viron like a book store, you get the books you need and only the books you need not the whole book store.
that's not a good analogy for virons. I recommend reading this: https://github.com/poggit/support/blob/master/virion.md
@robske_110 (Tim) That is my analogy of what I have on it, although the resource you provided is good.