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".
Nah! It's not, it's just that the dev give the source code for anyone to compile it, this poster didn't make anything new he just instructs more people on how to build it which isn't anything crazy