Welcome to the java plugin template for allay.
- Java21 or higher.
- Allay installed.
- Clone this Repository
git clone https://github.com/AllayMC/JavaPluginTemplate.git
- Navigate to the Cloned Directory
cd JavaPluginTemplate
- Change Plugin Information
- Rename package name from
org.allaymc.javaplugintemplate
toyour.group.name.and.pluginname
- Edit build.gradle.kts and settings.gradle.kts
- Edit plugin.json
- Reload gradle
- 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.
For a deeper dive into the Allay API and its functionalities, please refer to our documentation (WIP).
This project is licensed under the MIT License - see the LICENSE file for details.