GUIControlsAPI
A powerful GUI system for Bukkit developers, supporting labels, buttons, checkboxes, lights, and even scroll bars!
Features
- EASY usage!
- SCROLLABLE interface!
- Text input support!
- Updatable GUI
Usage
1. Add Jitpack Repository in your pom.xml
Code (Text):
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
2. Add dependency to your pom.xml
Code (Text):
<dependency>
<groupId>com.github.DefinitlyEvil</groupId>
<artifactId>GUIControlsAPI</artifactId>
<version>1.2</version>
</dependency>
3. Make a simple Window
Code (Java):
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
![[IMG]](/proxy/image?url=https%3A%2F%2Fraw.githubusercontent.com%2FDefinitlyEvil%2FGUIControlsAPI%2Fmaster%2Fscreenshot%2Finput.png)