Release v6.0.0 #359
Closed
leviem1
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This is the single largest release in the project's history (6 years!) and introduces some major quality of life changes!
✍🏻 This template actually helps you write a plugin now!
This project previously only contained the bare minimum to build a jar file that was compatible with PaperMC and some automation around that. With this release I've added two major changes that actually provide some code that you can use in your own plugin!
I've added some code to the project that demonstrates how to create your own commands like
/example pingusing CommandAPI, and the provided code should allow you to easily add your own commands!I've also added a config loading system! The
config.ymlnow has an example configuration and the code uses Jackson and the Hibernate Validator to read the config and make sure it's valid before your plugin starts! There's examples in theREADME.mdon how to add your own config values!These features have been wired together to provide a fully functioning example plugin. You can download the JAR from the releases page and add it to your server to see it working in action!
🏗️ Build Stability Improvements
PaperMC (and Minecraft) have recently adopted a new versioning schema, and builds should no longer break unexpectedly!
Previously, PaperMC released multiple builds under a single version identifier. As a plugin developer, this means that without changing a single line of code in your project your code could suddenly fail to build because PaperMC was updated. The plugin-template used to run a weekly build to catch when an update like this created an incompatibility that needed to be addressed.
Now, PaperMC provides a unique ID for each build so you'll never receive an "unexpected update", and as such we've done away with the weekly build. This unfortunately means that you will have to modify your
build.gradlefile for each new build, however this can largely be automated using Dependabot, which the template already provides most of the setup for, short of actually enabling the service.🤖 AI Support
If the above was complete gibberish, then this is the section for you!!
A significant number of users are being referred to this project through AI tools, and are increasingly using them to accelerate the development of their Minecraft plugins. As this continues to become the norm, I've decided to add a
CLAUDE.MDfile that can be used to help inform AI agents of important context. This is a really rough first-pass and could probably use improvement, but better than nothing.What's Changed
Full Changelog: v5.0.1...v6.0.0
This discussion was created from the release Release v6.0.0.
All reactions