{"repo":"flytegg/twilight","free":true,"listed":false,"github":"https://github.com/flytegg/twilight","clone":"git clone https://github.com/flytegg/twilight.git","description":"A Kotlin API for Spigot/Paper servers providing essential utilities to streamline development.","language":"Kotlin","stars":81,"topics":["api","minecraft","paper","spigot","twilight","java","kotlin"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Twilight ✨ Twilight is an API for developers creating plugins for Spigot (or forks like Paper, Purpur, Pufferfish etc.) 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 compatibility is not guaranteed. For support, questions or to chat with the team, come join the Discord: Table of Contents - Extension Functions - Events - Custom Events - Additional Events - Custom ChatClickEvent - Scheduler - Scoreboard - Sidebars - Below Name Display - Tab List (Player List Header/Footer) - Player Prefixes and Suffixes - GUI Builder - Databases - MongoDB - SQL (MySQL, Postgres) - Ternary Operator - UUID ⟷ Name - Redis - String Key-Value Pairs - Publishing Messages - Redis Listeners (PubSub) - Files Extensions - Symbols - Libraries - GSON Setup Twilight should be bundled within your plugin. Add the following repository and dependency to your build tool: Maven Gradle (Groovy DSL) Gradle (Kotlin DSL) Certain features of Twilight require configuration, which can be done via the Twilight class. To set up a Twilight class instance, you can use the twilight function as shown below: If you want to make use of environment variables (.env files), you can configure your usage of these here, like so: The above are the default env configuration settings. If you useDifferentEnvironments , you'll","default_branch":null,"files":null,"tree":[],"storefront":"/r/flytegg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/flytegg/twilight/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}