MyPet GUI/Menu & Command Tool
A Skript that adds a GUI/Menu for MyPet commands, and an optional tool to execute the commands.
Spigot Plugin Version of the Skript:
I made a plugin version of the skript so you don't need any dependencies except MyPet: https://www.spigotmc.org/resources/mypetgui-menu-mypet-addon.85641/
Dependencies & Requirements:
You Must have the following plugins in order for the script to work:
- MyPet Plugin
- Skript
- SkQuery (optional: if you don't want to install it, remove all "glowing" words from "MyPetGUI.sk"
Downloading:
- Download MyPetGUI.sk file and place into your "server/plugins/skript/scripts/" folder.
- Open the MyPetGUI.sk file to edit any options.
- Close and save MyPetGUI.sk file.
Installing:
- Run the command /skript reload MyPetGUI
- [Important] Add permissions
Permissions:
- mypetgui.gui (Allow players to use /pet command to open the menu)
- mypetgui.tool (Give players access to the new MyPet Command Tool)
- mypetgui.tool.cooldown.bypass (bypass the cooldown on claiming MyPet Command Tool)
Usage:
- Menu:
- If the players have the permission mypetgui.gui they can type the command "/pet" to open the MyPetGUI/Menu and click on an item to execute its command from the GUI.
- You can edit the menu name in MyPetGUI.sk options section.
- MyPet Command Tool:
- If the players have the permission mypetgui.tool they can see MyPet Command Tool in the middle of the the MyPetGUI Menu and they can claim the tool.
- Players can also claim the tool with the command /pettool to claim it.
- Claiming the tool has a 3 hours cooldown by default which can be edited in the options.
- You can edit the tool name, and item type in MyPetGUI.sk options section.
Support & Suggestions:
Feel free to add me in discord: TatoIQ#7348 or join my discord server:
http://discord.tatomc.com. If you run into any issues feel free to send them to me in discord or post them in github:
https://github.com/PotatoIQ/MyPetGUI-Skript/issues