Skript-AnvilGUI a skript addon to (finally) add AnvilGUIs in Skript.
An AnvilGUI, completely created in Skript
Code (Text):
[/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
This is a Skript that creates a counter for companies in a RolePlay server.
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