This tutorial will explain from nothing how to build/create a Minecraft Bukkit/Spigot/Paper Plugin for 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).
- Install Maven on Windows 11 https://www.youtube.com/watch?v=YTvlb6eny_0
- Install Git https://www.youtube.com/watch?v=cJTXh7g-uCM
The repostitory link can be found by clicking the green "Code" button on the project's GitHub page and clicking the copy icon.
Example of the repo link: https://github.com/PlayPro/CoreProtect.git
You will see Cloning into 'FOLDER NAME'...
after cloning. This is the folder name.
We will be using your Desktop as our location.
Right click the "Start" or "Windows" icon on your taskbar.
Click "Command Prompt".
Type the following commands.
cd Desktop
git clone <INSERT THE REPOSITORY LINK HERE>
cd <FOLDER NAME>
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\PLUGIN NAME.jar
Do not use the .jar labelled "original".
Hello, trying to do this with Oraxen and cannot seem to get it to work? The build keeps on failing.