#Making a fork
1 messages · Page 1 of 1 (latest)
- clone the spigot repo
- run buildtools, not sure if using --remapped is required, but cannot hurt
- run ./applyPatches.sh with a path to your buildtools/work/... directory
- open it in IntelliJ, should work
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
the most important thing is at the waaaay bottom
this part is very important
Thank you alex
oh my bad
do not fork spigot, but craftbukkit
and apply the patches there
then after you did that, you can actually "mvn install" craftbukkit, after that you can fork spigot and also compile that
do you wanna add any API changes too?
or just craftbukkit/spigot itself?
okay, then
- clone bukkit. do your changes. change either the version in bukkit's pom, e.g. to <version>1.19.3-R0.1-SNAPSHOT-MYFORK, or add a <classifier>MYFORK
- clone craftbukkit, do what I said above, and there you also gotta change the <dependency> of bukkit to your MYFORK version, after you're done do makePatches.sh or whats it called
- clone spigot and change dependency from spigot also to your own version
that should be everything
tysm
np
tbh I have never did any changes to spigot, only craftbukkit and bukkit
but I am like 99% sure this should do it
Alright
I guess I make a folder, then clone in sub dirs?
Like
ForkName/Bukkit
ForkName/CraftBukkit
ForkName/Spigot
doesnt really matter where you do it
as mvn install will install it to your local repo anyway
Alright, thanks
just be sure to change the version everytime to your own custom one
@dire drum Doing a test, just adding System.out.println("Advancement: " + minecraftkey); to the first line of the Advancement constructor, do I just use rebuildPatches.sh to update patches, and then rebuild?