Banner for SkQuery GUI

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
I believe it's possible. You could use SkStuff's custom NBT option to create the item in the GUI. I have never used NBT for banners, but I would assume it is not that difficult.
 
Well, I wouldn't suggest you to use SkQuery guis. It works but most of times you had bugs with it, making the items drop or format player's inventory.

You can use SkStuff to use nbt or just get the item with that command and set the item to a variable.
code_language.skript:
command /setbanner:
    trigger:
        set {BannerItem] to player's tool

To using it in a gui, You can use TuSKe. It has a better gui manager, with similiar format from SkQuery
code_language.skript:
command /gui:
    trigger:
        open virtual chest named "Example" to player
        format gui slot 13 of player with {BannerItem} named "Example"
 
Status
Not open for further replies.