mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-30 08:06:01 +00:00
Merge https://github.com/PaperMC/paperweight-examples into ver/1.18.2
This commit is contained in:
commit
cd9edca0e9
42
README.md
42
README.md
@ -1,2 +1,40 @@
|
|||||||
# Scissors
|
# ForkTest - A Paper fork, using paperweight
|
||||||
Scissors is a fork of Paper that aims to fix exploits possible in Creative Mode. Many of these exploits are ones that Paper's own team has either refused to fix or would have.
|
|
||||||
|
This is an example project, showcasing how to setup a fork of Paper (or any other fork using paperweight), using paperweight.
|
||||||
|
|
||||||
|
The files of most interest are
|
||||||
|
- build.gradle.kts
|
||||||
|
- settings.gradle.kts
|
||||||
|
- gradle.properties
|
||||||
|
|
||||||
|
## Tasks
|
||||||
|
|
||||||
|
```
|
||||||
|
Paperweight tasks
|
||||||
|
-----------------
|
||||||
|
applyApiPatches
|
||||||
|
applyPatches
|
||||||
|
applyServerPatches
|
||||||
|
cleanCache - Delete the project setup cache and task outputs.
|
||||||
|
createMojmapBundlerJar - Build a runnable bundler jar
|
||||||
|
createMojmapPaperclipJar - Build a runnable paperclip jar
|
||||||
|
createReobfBundlerJar - Build a runnable bundler jar
|
||||||
|
createReobfPaperclipJar - Build a runnable paperclip jar
|
||||||
|
generateDevelopmentBundle
|
||||||
|
rebuildApiPatches
|
||||||
|
rebuildPatches
|
||||||
|
rebuildServerPatches
|
||||||
|
reobfJar - Re-obfuscate the built jar to obf mappings
|
||||||
|
runDev - Spin up a non-relocated Mojang-mapped test server
|
||||||
|
runReobf - Spin up a test server from the reobfJar output jar
|
||||||
|
runShadow - Spin up a test server from the shadowJar archiveFile
|
||||||
|
```
|
||||||
|
|
||||||
|
## Branches
|
||||||
|
|
||||||
|
Each branch of this project represents an example:
|
||||||
|
|
||||||
|
- [`main` is the standard example](https://github.com/PaperMC/paperweight-examples/tree/main)
|
||||||
|
- [`submodules` shows how paperweight can be applied on a fork using the more traditional git submodule system](https://github.com/PaperMC/paperweight-examples/tree/submodules)
|
||||||
|
- [`mojangapi` shows how a fork could patch arbitrary non-git directories (such as `Paper-MojangAPI`)](https://github.com/PaperMC/paperweight-examples/tree/mojangapi)
|
||||||
|
- [`submodules-mojang` shows the same as `mojangapi`, but on the git submodules setup from `submodules`](https://github.com/PaperMC/paperweight-examples/tree/submodules-mojangapi)
|
||||||
|
Loading…
Reference in New Issue
Block a user