1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Script Outline GUI 1.1.0

A simple function to outline any GUI

  1. MinecraftMan1013
    Contributors:
    MinecraftMan1013, Zabrid, iPlexy
    Supported Minecraft Versions:
    • 1.14, 1.15, 1.16, 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 (Text):
    1. command /outlinegui:
    2.     permission: op
    3.     trigger:
    4.         set {_gui} to a chest inventory with 5 rows with name "&eTest Inventory"
    5.         set {_gui} to outlineGUI({_gui}, 5, black stained glass pane named "&a")
    6.         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 (Text):
    1. command /outlinegui:
    2.     permission: op
    3.     trigger:
    4.         set {_gui} to a chest inventory with 5 rows with name "&eTest Inventory"
    5.         set {_gui} to outlineGUI({_gui}, inventory size of {_gui}, black stained glass pane named "&a")
    6.         open {_gui} to player

Recent Updates

  1. More Function Fixes
  2. Function Fix