Sueta

GUIControlsAPI -- Make Custom GUIs EASILY!!! (1.14-1.16)

1.2

Scrollable GUI framework for your server, provides controls you can use.

·Plugin

GUIControlsAPI
A powerful GUI system for Bukkit developers, supporting labels, buttons, checkboxes, lights, and even scroll bars!
Features

  1. EASY usage!
  2. SCROLLABLE interface!
  3. Text input support!
  4. Updatable GUI

Usage
1. Add Jitpack Repository in your pom.xml

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

2. Add dependency to your pom.xml

<dependency>
    <groupId>com.github.DefinitlyEvil</groupId>
    <artifactId>GUIControlsAPI</artifactId>
    <version>1.2</version>
</dependency>

3. Make a simple Window

public static void test_updated(Player p) {
        Window w = new Window("Test Window", 36, 20) {
            @Override
            public void onOpenInternal(HumanEntity target) {
                target.sendMessage("wow you opened timer! ");
            }

            @Override
            public boolean onCloseInternal(HumanEntity target) {
                target.sendMessage("ok closed");
                return true;
            }

            @Override
            public void onDestroy() {
                System.out.println("destroyed");
            }
        };

        w.open(p, null);
    }

Screenshots


Similar projects

Plugin →