Resource icon
  • 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!

Contributors
MinecraftMan1013, Zabrid, iPlexy
Supported Minecraft Versions
  1. 1.14
  2. 1.15
  3. 1.16
  4. 1.17
This script is a simple function. All you need to do in order to use this function is create a GUI, then format it as you like, and use this function to format the edges.

Here is a simple example of how you could use this.
Code:
command /outlinegui:
    permission: op
    trigger:
        set {_gui} to a chest inventory with 5 rows with name "&eTest Inventory"
        set {_gui} to outlineGUI({_gui}, 5, black stained glass pane named "&a")
        open {_gui} to player

With Skellett
If you have Skellett, you can use the Size of inventory expression for the second parameter (https://skripthub.net/docs/?id=567)

Example with Skellett:
Code:
command /outlinegui:
    permission: op
    trigger:
        set {_gui} to a chest inventory with 5 rows with name "&eTest Inventory"
        set {_gui} to outlineGUI({_gui}, inventory size of {_gui}, black stained glass pane named "&a")
        open {_gui} to player
Author
MinecraftMan1013
Downloads
820
Views
820
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from MinecraftMan1013

Latest updates

  1. More Function Fixes

    Fixed outlining last row (thanks @Zabrid) Added a message for if the GUI size is too big
  2. Function Fix

    Fixed the function parameter by adding a parameter for the size