Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
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
Category | Developer Tools |
---|---|
Published on | December 30, 2023 |
License | MIT |
Downloads | 9 |
Stars | 3 |
Watchers | 1 |
Library
Pinned Versions
Pages
Members
Owner