geforkt von Mirrors/AxiomPaperPlugin
921 B
921 B
paperweight-test-plugin
jmp's test plugin for paperweight-userdev
development
(also serves as an example until more thorough documentation is created)
note
build.gradle.kts
andsettings.gradle.kts
both contain important configuration.paperweight-userdev
automatically detects shadow and will useshadowJar
as input forreobfJar
. This means no extra configuration is required to usepaperweight-userdev
with shadow. See theshadow
branch on this repository for an exmaple usage of shadow withpaperweight-userdev
.- The
plugin-yml
andrun-paper
Gradle plugins are both optional, however I use them in almost all my plugin projects and recommend at least trying them out.plugin-yml
auto-generates your plugin.yml file from configuration in the build file, andrun-paper
allows for launching a test server with your plugin through therunServer
andrunMojangMappedServer
tasks.