- The skript will check if player has full inventory before giving them MyPet Command Tool.
- You can now customize the command which opens the MyPet GUI/Menu.
- You can choose what happens if player inventory is full in options. It can drop the tool under the player or send a message that their inventory is full and can't receive the item. Default to message.
Important News:
I have made a plugin version of this skript, I still haven't added MyPet Tool to it, so you can only benefit from the Menu features. It is adaptive menu, so the menu changes depending on the state of the pet.
https://www.spigotmc.org/resources/mypetgui-menu-mypet-addon.85641/