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".
They even give instructions how to compile it on their own discord. If they dont want people to have this option they would not allow it.
they let people choose: pay monthly for maximum comfort or compile it.
what a stupid discussion here…