- 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.
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:
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