This is a template repository for creating Minecraft plugins using Kotlin for Paper, Bungee and Velocity. It provides a multi-module structure using Gradle, perfect for developers looking to add modularity to their servers/plugins.
Note
Looking for a single-module template? Click here to check it out!
- A pre-configured Gradle setup for building Paper plugins with Kotlin. The built-in libraries contains:
- A basic plugin template with sample code to get you started.
- Integration with Paper API for Minecraft plugin development.
- A well-organized project structure to keep your code clean and maintainable.
Before you begin, ensure you have met the following requirements:
- Java Development Kit (JDK) 8 or later
- Gradle or the built-in wrapper
- Paper server software (I'd assume you want to test your code...)
To get started with this template, follow these steps:
- Click on the "Use this template" button at the top of this repository to create a new repository based on this template.
- Clone your new repository to your local machine using Git:
git clone https://github.com/your-username/repository-name.git
- Open the project in your preferred Kotlin-compatible IDE (e.g., IntelliJ IDEA).
- Customize the project information in all the build files and modules
You can build all of your modules using Gradle:
./gradlew build
This command will compile all your code into one plugin and place it in the /build/ folder
- You can add more modules by clicking File → New → Project → Module and select your settings.
- Remember to change the plugin's package and information on the
<moduleName>/src/main/kotlin/resources/plugin.yml
file. - You can learn more about Lamp by clicking here.
- We have a great community at learnspigot.com. You should definitely check it out! #notsponsored
- Feel free to implement anything you need and wish! The code is all yours.
This project is licensed under the MIT License. See the LICENSE file for details.