Sueta

Skript-AnvilGUI [Skript Addon]

1.10

Working AnvilGUIs in Skript!

·Script

Skript-AnvilGUI
a skript addon to (finally) add AnvilGUIs in Skript.

upload_2023-5-22_20-37-45.png
An AnvilGUI, completely created in Skript

The Code
[/LEFT]
command /anvilgui:
    trigger:
        set {_gui} to a new anvil gui named "&0Password Required" with text "Type password"
        set left item of {_gui} to emerald with lore "&aCONFIRM"
        open anvil gui {_gui} to player

DOCUMENTATION

Skript that uses AnvilGUIs

This is a Skript that creates a counter for companies in a RolePlay server.

YouTube

How does this work?
This addon uses the library AnvilGUI to create Anvil interfaces in Skript. The anvils created already have useful properites (such as unstealable items) so you don't have to handle cancelling all the inventory clicks.

Right now the addon works with any version from 1.12.2 to 1.21, but with newer releases it'll have to wait for the library AnvilGUI to update (if necessary). Please open an issue on github whenever there's a breaking update, so I can take notice. Thanks ;)

Contacts
TG: @DereWah
Discord: DereWah#8414

Similar projects

Script →