This tutorial will explain from nothing how to build/create the CoreProtect plugin or 1.21 from it's source code on GitHub.
I am assuming you don't know anything and don't have anything installed and are using a Windows device.
Watch these tutorial videos (very short).
- You must use Java JDK 21. Download here. https://adoptium.net/temurin/releases/?version=21&os=windows&arch=x64
- Install Maven on Windows 11 https://www.youtube.com/watch?v=YTvlb6eny_0
- Install Git https://www.youtube.com/watch?v=cJTXh7g-uCM
-
Right click the "Start" or "Windows" icon on your taskbar.
-
Click "Command Prompt".
-
Type the following commands.
cd Desktop
git clone https://github.com/PlayPro/CoreProtect.git
You need to go to Desktop\CoreProtect\src\main\resources\plugin.yml and open the "plugin.yml" file in Notepad.
Change branch: ${project.branch}
to branch: developement
on line 4.
cd CoreProtect
mvn clean install
This process will take a while. You should see [INFO] BUILD SUCCESS when it is complete.
The plugin jar will be outputted in the FOLDER NAME\target\CoreProtect-version.jar
Do not use the .jar labelled "original".
I'll put a end to the madness that is this debate:
Essentials, which is MUCH bigger plugin than CoreProtect, supplies dev builds for 1.21 free of charge and the plugin is, I'll shock all of you, well, alive and frequently updated (more than CO) despite having no paywalls! Crazy, ikr?!
Paywalls are not the way to go, it only drives people away.
There are stuff that we call "donations", "kindness", "generosity", etc. that you all seems to forget.