Minecraft server software oriented towards patching Creative Mode exploits.
Go to file
2021-06-20 02:08:02 -05:00
build-data Bump paperweight 2021-06-20 02:08:02 -05:00
gradle/wrapper Updates for paperweight 1.0.3 2021-06-16 01:28:10 -05:00
patches/server Updates for paperweight 1.0.3 2021-06-16 01:28:10 -05:00
.editorconfig its working now 2021-06-12 20:04:04 +02:00
.gitattributes its working now 2021-06-12 20:04:04 +02:00
.gitignore Initial 2021-06-12 14:09:34 +02:00
build.gradle.kts Bump paperweight 2021-06-20 02:08:02 -05:00
gradle.properties Bump paperweight 2021-06-20 02:08:02 -05:00
gradlew Update for new paperweight 2021-06-12 23:44:00 -05:00
gradlew.bat Initial 2021-06-12 14:09:34 +02:00
README.md Explain branches in readme 2021-06-16 02:11:04 -05:00
settings.gradle.kts Updates for paperweight 1.0.3 2021-06-16 01:28:10 -05:00

ForkTest - A Paper fork, using paperweight

This is an example project, showcasing how to setup a fork of paper (or well, any project), using paperweight.

The interesting part of this is in the build gradle

paperweight {
    serverProject.set(project(":ForkTest-Server"))

    usePaperUpstream(providers.gradleProperty("paperRef")) { // specified in gradle.properties
        withPaperPatcher {
            apiPatchDir.set(layout.projectDirectory.dir("patches/api"))
            apiOutputDir.set(layout.projectDirectory.dir("ForkTest-API"))

            serverPatchDir.set(layout.projectDirectory.dir("patches/server"))
            serverOutputDir.set(layout.projectDirectory.dir("ForkTest-Server"))
        }
    }
}

Tasks

Paperweight tasks
-----------------
applyPatches
cleanCache - Delete the project setup cache and task outputs.
patchPaperApi
patchPaperServer
rebuildPaperApi
rebuildPaperServer
rebuildPatches
runDev - Spin up a non-shaded non-remapped test server
runShadow - Spin up a test server from the shadowJar archiveFile

Branches

Each branch of this project represents an example: