Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save iamnotpayingforyourpatreon/20371ddfb318c49dda48fc537032d923 to your computer and use it in GitHub Desktop.
Save iamnotpayingforyourpatreon/20371ddfb318c49dda48fc537032d923 to your computer and use it in GitHub Desktop.
Compile & Download CoreProtect 1.21

Tutorial of Downloading and Building the CoreProtect Plugin

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.

Prerequisites

Watch these tutorial videos (very short).

Start Compiling

  • 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

AFTER USING GIT CLONE

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.

i_am_not_paying_for_your_patreon_to_get_builds_for_open_source_code_2

cd CoreProtect
mvn clean install

i_am_not_paying_for_your_patreon_to_get_builds_for_open_source_code_3

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_am_not_paying_for_your_patreon_to_get_builds_for_open_source_code_2

@Spiara
Copy link

Spiara commented Aug 6, 2024

build.gradle
[line 10] String projectVersion = '22.4'String projectVersion = '23.1'

pom.xml
[line 5] <version>22.4</version><version>23.1</version>
[line 7] <project.branch></project.branch><project.branch>master</project.branch>

@kingakis2
Copy link

thanks for share it, for anyone who don't know too much about this is very helpful

@CreeperHaed
Copy link

You also need to delete the old CoreProtect folder under Plugins/

@WeslleyHuier
Copy link

alguém poderia me mandar o arquivo .jar já atualizado para a versão 1.21? meu discord é: wssyl

@KeRimoYT
Copy link

School: 🤡
Indian tutorial guy: 🗿🗿🗿🗿

@nsvk13
Copy link

nsvk13 commented Sep 6, 2024

Thanks!

@zymonekAS
Copy link

is such a plugin considered pirated?

@CreeperHaed
Copy link

is such a plugin considered pirated?
If Buying isn't owning then Pirating isn't stealing

@spencermacca
Copy link

Absolute legend, can't believe they're gatekeeping this update, so scummy. Thanks!

@Avenred
Copy link

Avenred commented Sep 30, 2024

is such a plugin considered pirated?

No. Here is a snippet of the license for which CoreProtect is under:

You may Distribute verbatim copies of the Source form the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices anda associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package.

I'm not lawyer, but it seems compiling your own version of the plugin and then using it is totally fine

@benjith17
Copy link

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project CoreProtect: Compilation failure
[ERROR] /Users/mark/IdeaProjects/CoreProtect/src/main/java/net/coreprotect/extensions/Extensions.java:[8,9] cannot find symbol
[ERROR]   symbol:   variable DatabaseMigration
[ERROR]   location: class net.coreprotect.extensions.Extensions

@spencermacca
Copy link

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project CoreProtect: Compilation failure
[ERROR] /Users/mark/IdeaProjects/CoreProtect/src/main/java/net/coreprotect/extensions/Extensions.java:[8,9] cannot find symbol
[ERROR]   symbol:   variable DatabaseMigration
[ERROR]   location: class net.coreprotect.extensions.Extensions

Go to the CoreProtect repository, take a look at the list of commits here and download the last successfully built commit (indicated by a tick) instead of the latest one in general, that will fix your issue.

To download that specific commit, run the following commands

git clone https://github.com/PlayPro/CoreProtect/
cd <repository-directory>
git checkout <commit-hash>

The commit hash will be the 7 character string on the right of the commit (eg. fc0c8ff)

@git-jamesfrench
Copy link

Thanks!

@MiranoVerhoef
Copy link

Does anyone know how to get version V23.2 RC3?

@DereC4
Copy link

DereC4 commented Jan 9, 2025

Thanks for sharing this, even though you can still compile it yourself, I find it scummy that the original dev locked the tool behind a paywall

@Azoraqua
Copy link

Azoraqua commented Jan 9, 2025

Thanks for sharing this, even though you can still compile it yourself, I find it scummy that the original dev locked the tool behind a paywall

Imagine paying for something that someone else made in their free time, release it and maintain it…
How dare they! /s

A developer needs to make money to live too.
Besides, it’s not even fully behind a paywall, just the latest version. Which to me seems entirely reasonable.

@Tr3yWay996
Copy link

It's nothing crazy, it's just the public release that you guys build, but man your username has some cringe in it lol
I love building my things, and I like these tutorials for beginners to start with but still you're not forced

@Tr3yWay996
Copy link

Thanks for sharing this, even though you can still compile it yourself, I find it scummy that the original dev locked the tool behind a paywall

What the fuck you mean "i find it scummy" LMFAO
Do it then (any complex mc plugin), put in a lot of work, all that for free forever and we'll see where it lands

@Tr3yWay996
Copy link

Thanks for sharing this, even though you can still compile it yourself, I find it scummy that the original dev locked the tool behind a paywall

Imagine paying for something that someone else made in their free time, release it and maintain it… How dare they! /s

A developer needs to make money to live too. Besides, it’s not even fully behind a paywall, just the latest version. Which to me seems entirely reasonable.

They are just kiddos that only know how to cry, no worries.
They did the same when a popular gmod add-on came by, GWater
I know this behavior and it's so dumb lol but it's internet it's like this

@Tr3yWay996
Copy link

Tr3yWay996 commented Jan 9, 2025

V23.2 RC3

Yeah, subscribe to his Patreon it's right on it

@Tr3yWay996
Copy link

Absolute legend, can't believe they're gatekeeping this update, so scummy. Thanks!

"can't believe they're gatekeeping this update, so scummy" Bro listen to yourself speaking because its crazy what kind of bs you're spitting lol

@Tr3yWay996
Copy link

is such a plugin considered pirated?

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

@Tr3yWay996
Copy link

is such a plugin considered pirated?
If Buying isn't owning then Pirating isn't stealing

Bro can't even reply properly, it's not pirating or anything, my guy

@Tr3yWay996
Copy link

thanks for share it, for anyone who don't know too much about this is very helpful

Yeah! For once, I agree with a comment in this style, you didn't say it was "scummy" like some other dumb users here that's nice, that's actually true it's great for people who don't know they can build from source things for themselves

@Azoraqua
Copy link

Azoraqua commented Jan 9, 2025

is such a plugin considered pirated?
If Buying isn't owning then Pirating isn't stealing

Bro can't even reply properly, it's not pirating or anything, my guy

It may or may not still violate copyright laws for that matter. As copyright can prohibit redistribution. Then again, if it’s open-source, it’s unlikely to be the case.

@Azoraqua
Copy link

Azoraqua commented Jan 9, 2025

Absolute legend, can't believe they're gatekeeping this update, so scummy. Thanks!

"can't believe they're gatekeeping this update, so scummy" Bro listen to yourself speaking because its crazy what kind of bs you're spitting lol

It’s laughable even. Even worse, think about it, quite a few people make income from their server, even those made with entirely pre-made free plugins.

Yet even those people are willing to complain if they have to pay for a plugin.

@ScuroK
Copy link

ScuroK commented Jan 9, 2025

It’s simply unusual in the Spigot community to sell a plugin like that. Normally, premium plugins aren’t sold in a way that requires paying for every update. Of course, the developer can do it however he want.
but people who dont like it can also express how they feel about it.. thats it.

@DereC4
Copy link

DereC4 commented Jan 9, 2025

Alright seems like a few of you got a teeeensy bit irked at my statement over an open source video game tool. To explain a bit more, it's just pretty unusual for a sandbox video game plugin to paywall their content, because normally they are available to the public on Modrinth and Spigot sites.

As CS oriented people, y'all have the express knowledge of actually knowing how to work around all these technical hoops and that's not representative of the typical person who may be just trying to run a video game world with their friends.

Hope u guys have a good day tho; there's no need for the rudeness when we express our own opinions :D

@HaTInAnd
Copy link

HaTInAnd commented Jan 9, 2025

Thanks for sharing this, even though you can still compile it yourself, I find it scummy that the original dev locked the tool behind a paywall

Imagine paying for something that someone else made in their free time, release it and maintain it… How dare they! /s
A developer needs to make money to live too. Besides, it’s not even fully behind a paywall, just the latest version. Which to me seems entirely reasonable.

They are just kiddos that only know how to cry, no worries. They did the same when a popular gmod add-on came by, GWater I know this behavior and it's so dumb lol but it's internet it's like this

and you're some grown ass man shitting on said kids.

Like I fully resonate with the principles you guys are preaching, but he's just some college guy trying to play a kids game with his friends

And he DOES have a point in the fact that people have to go through all these steps designed to discourage players from being able to enjoy a VIDEO GAME MOD. If it's ultimately available, why not just continue releasing to the public like most Minecraft developers?

Attitudes like those above are exactly why our major gets the bad rap it does.

@Tr3yWay996
Copy link

Thanks for sharing this, even though you can still compile it yourself, I find it scummy that the original dev locked the tool behind a paywall

Imagine paying for something that someone else made in their free time, release it and maintain it… How dare they! /s
A developer needs to make money to live too. Besides, it’s not even fully behind a paywall, just the latest version. Which to me seems entirely reasonable.

They are just kiddos that only know how to cry, no worries. They did the same when a popular gmod add-on came by, GWater I know this behavior and it's so dumb lol but it's internet it's like this

and you're some grown ass man shitting on said kids.

Like I fully resonate with the principles you guys are preaching, but he's just some college guy trying to play a kids game with his friends

And he DOES have a point in the fact that people have to go through all these steps designed to discourage players from being able to enjoy a VIDEO GAME MOD. If it's ultimately available, why not just continue releasing to the public like most Minecraft developers?

Attitudes like those above are exactly why our major gets the bad rap it does.

Not a mod tho, it's not essential it's an anti grief plugin for servers meaning they complain about smth being paid, when they themselves use it on a server and its help them quite a bit, but also they don't understand why its, so-called "behind a paywall" (it's not btw), and It's not out to everyone because it's in active development and if anyone still want to have a build then they can do it, I could even make said builds (would contact the dev before so he knows I'm going to do it) so people like this, as you said, will be able to not go through all the trouble.

I'm not a "grown ass man shitting on said kids", I don't even shit on them, I just call out the outright bs they say and make others think the same way and things, it's like saying "It's scummy to make us pay for his hard work! How dare he!!" basically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment