-
Notifications
You must be signed in to change notification settings - Fork 0
Home
timsixth edited this page Jul 6, 2024
·
10 revisions
Simple library to create custom GUI in YAML files.
JavaDocs: https://timsixth.pl/javadocs/gui_api/2.8.0/
- Generating GUI's from YAML files.
- Two options of GUI storage - InMemory (Default) or InYAML
- Process system (You can open GUI, next open another GUI, your data haven't gone , you can transfer them to next GUI. This system can be used in plugin which you need configuration in GUI for user friendly)
Maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.timsixth.T-GuiApi</groupId>
<artifactId>core</artifactId> <!-- Adds main library. Type processes to add processes to your plugin -->
<version>{VERSION}</version>
</dependency>
Gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.timsixth:T-GuiApi:{VERSION}'
}
Shading
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>pl.timsixth.guilibrary.core</pattern>
<shadedPattern>{YOUR_PACKAGE}.guilibrary.core</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>>com.github.timsixth.T-GuiApi:core</artifact>
<excludeDefaults>false</excludeDefaults>
<includes>
<include>{YOUR_PACKAGE}.guilibrary.core</include>
</includes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>