Improve build guide
This commit is contained in:
parent
f43b17078e
commit
2890f00acd
2 changed files with 17 additions and 10 deletions
|
@ -14,7 +14,7 @@ Stuff no<sub><sup>t many</sup></sub> other plugins do.
|
|||
Dependencies:
|
||||
- **1.21.1 and newer**
|
||||
- [ProtocolLib](https://www.spigotmc.org/resources/protocollib.1997/)
|
||||
- To use modules marked <sup><sub>N</sub></sup>, you must use a JAR made precisely for your server version.
|
||||
- To use modules marked <sup><sub>N</sub></sup>, you must use a JAR [made for the exact server version.](/Minecon724/tweaks724/src/branch/master/docs/BUILDING.md)
|
||||
|
||||
# Features
|
||||
|
||||
|
|
|
@ -1,10 +1,17 @@
|
|||
1. Download BuildTools, move it into an empty directory and open terminal
|
||||
2. Download Minecraft sources:
|
||||
First, download NMS. There are two ways:
|
||||
|
||||
- Use `tools/download_nms.sh`
|
||||
- Download BuildTools, move it into an empty directory and run:
|
||||
```
|
||||
java -jar BuildTools.jar --rev 1.21.4 --remapped
|
||||
```
|
||||
You must run this for every version you want to build for.
|
||||
|
||||
3. Clone this repository:
|
||||
|
||||
|
||||
Then build the plugin:
|
||||
|
||||
1. Clone this repository:
|
||||
```
|
||||
git clone https://git.m724.eu/Minecon724/tweaks724
|
||||
cd tweaks724
|
||||
|
@ -13,13 +20,13 @@
|
|||
```
|
||||
git checkout tags/tweaks-0.1.12
|
||||
```
|
||||
4. To compile for native version:
|
||||
2. For the "native" version:
|
||||
```
|
||||
./mvnw package
|
||||
```
|
||||
To compile for another version:
|
||||
For another compatible version:
|
||||
```
|
||||
./mvnw package -Dproject.craftbukkit.version=v1_21_R3 -Dproject.minecraft.version=1.21.4
|
||||
```
|
||||
|
||||
5. Look for `tweaks-0.1.12+1.21.4.jar` in `target/`
|
||||
Look for `tweaks-0.1.12+1.21.4.jar` in `target/`
|
Loading…
Add table
Reference in a new issue