Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Flyte

A feature-packed API for Spigot/Paper Minecraft servers providing essential utilities to streamline development.

Twilight ✨

Twilight is an API for developers creating plugins for Spigot or Paper based Minecraft servers. It contains a wide range of utilities and QOL improvements, from inventories, to schedulers and databases.

Twilight is built using Kotlin, and is recommended for usage with. Many features of Twilight should work with plain Java, though compatability is not guaranteed.

Setup

Twilight should be bundled within your plugin. Add the following repository and dependency to your build tool:

Maven

<repository>
    <id>flyte-repository-releases</id>
    <name>Flyte Repository</name>
    <url>https://repo.flyte.gg/releases</url>
</repository>

<dependency>
  <groupId>gg.flyte</groupId>
  <artifactId>twilight</artifactId>
  <version>1.0.33</version>
</dependency>

Gradle (Groovy DSL)

maven {
    url "https://repo.flyte.gg/releases"
}

implementation "gg.flyte:twilight:1.0.33"

Gradle (Kotlin DSL)

maven("https://repo.flyte.gg/releases")

implementation("gg.flyte:twilight:1.0.33")

Certain features of Twilight require configuration, which can be done via the Twilight class. To setup a Twilight class instance, you can use the twilight function as shown below:

val twilight = twilight(this)

Information

CategoryDeveloper Tools
Published onDecember 30, 2023
LicenseMIT
Downloads5
Stars2
Watchers1
Library

Pinned Versions

Members

Avatar for Flyte

Flyte

Owner