Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.36 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.36 KB

Allay Java Plugin Template

Welcome to the java plugin template for allay.

Prerequisites

  • Java21 or higher.
  • Allay installed.

Getting Started

  1. Clone this Repository
git clone https://github.com/AllayMC/JavaPluginTemplate.git
  1. Navigate to the Cloned Directory
cd JavaPluginTemplate
  1. Change Plugin Information
  1. Build and Run Your Plugin
gradlew shadowJar

This command will produce a .jar file in the build/libs directory. Copy the .jar file to the plugins directory of your allay server. Start the allay server and check the logs to ensure your plugin loads and operates as expected.

  1. Test Your Plugin in Gradle
gradlew runServer

This command will start an allay server with your plugin loaded. Then close allay server by clicking X in the dashboard window.

Documentation

For a deeper dive into the Allay API and its functionalities, please refer to our documentation (WIP).

License

This project is licensed under the MIT License - see the LICENSE file for details.