papermc-plugin-starter
papermc-plugin-starter copied to clipboard
PaperMC Plugin Starter project.
PaperMC Plugin Starter
This project is a template to start coding your plugin in no time.
Unlike the previous version of this template (see legacy branch), this one work both on Linux and Windows, as long as
you have docker installed.
NOTE: If you want to use minecraft version 1.16.5 or earlier, you'll need to switch to the legacy branch.
Development Requirements
- JDK 17
- Docker (if you want to lazily setup your test server)
Changing the dependency version
- Open the
build.gradlefile. - Locate the
implementationline under thedependenciescategory. - Change the
versionproperty to your needs.
Changing the minecraft version for Docker
Just change the value of PAPER_VERSION in the .env file. You can also use a specific build by changing the value
of PAPER_BUILD. You'll probably need to rebuild the image.
Please note that
PAPER_VERSIONneed to be a version group, not a specific minecraft version (eg:1.19and not1.19.x).
Manual installation (Linux Only)
Requirements
- curl
- jq
- JDK 17
Steps
- Run the
start.shscript by providing the minecraft version group (and optionally the paper build you want to download)./start.sh(ifPAPER_VERSIONset in.env)PAPER_VERSION=1.19 ./start.shPAPER_VERSION=1.19 PAPER_BUILD=138 ./start.sh
- Probably accept EULA in
eula.txtand modify your server properties. - Enjoy
Or simply use the Start Local run configuration in IntelliJ...
If you want to download a new jar file, you'll have to remove the existing one.