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

@spencermacca
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

Are you seriously this upset that you've replied to every person saying thank you to the person who made this gist? Grow up bro.
Yes, the devs need to get money from somewhere, and I totally agree that they should be compensated for the work they do, however that be.

But, do I think it's wrong that they're pretending like you can't use the plugin for free unless your server runs a version from almost a year ago? In my opinion, yeah it is.

It's OSS, and I don't take issue with the dev making people build newer versions themselves, what I take issue with is them making it seem like the ONLY way to do this is to "subscribe to the patreon!", it's wrong, and most users will end up doing that, then cancelling after one month because they got what they wanted.

What they're doing is a little slimy, regardless of how you want to put it. @ScuroK put it really well in his comment from earlier.

Please stop blowing up my notifications with your whinging @Tr3yWay996, thanks.

@spencermacca
Copy link

And also, just another note: the dev is doing more than fine for money.

Because of this strategy he's adopted where he doesn't take builds out of the development phase, and then charges for them on his patreon, he currently is sitting on 9,102 members there.

Let's say they're paying the lowest tier of $3 per month
This equates to a total of $27,306 a month for him
That equates to $327,672 a year

Because of this ludicrous amount he's making from exclusively releasing prebuilds on his patreon, he's going to continue to do so, and as far as I can tell, not officially release builds to the public for the foreseeable future.

@ScuroK
Copy link

ScuroK commented Jan 10, 2025

Exactly. Nobody question him selling something. But its a cultural matter HOW you do it and how you communicate.

@Azoraqua
Copy link

Azoraqua commented Jan 10, 2025 via email

@spencermacca
Copy link

Even if he makes ten times as much, it’s still just something that a developer made, they should be entirely free to ask for compensation if desired.That’s how it works.

I'm not gonna argue anymore, and you guys aren't gonna make me change my mind. Wasn't even really having a go at you @Azoraqua, more the guy who said I was spitting BS for simply having an opinion.

The developer has every right to monetize their work, but transparency is the important part.

If they made it clear that you DIDN'T have to buy access to the Patreon for the plugin, and outlined clear instructions on how to build it yourself, this wouldn't be a problem.

And let's not get started on the fact that they've recently added DRM to the plugin.

@Azoraqua
Copy link

Azoraqua commented Jan 10, 2025 via email

@plushycat
Copy link

This compiles 22.4, which can't run on 1.21.3+. How do we work around this?

@spencermacca
Copy link

This compiles 22.4, which can't run on 1.21.3+. How do we work around this?

Refer to what I said above about checking out a specific commit

@plushycat
Copy link

This compiles 22.4, which can't run on 1.21.3+. How do we work around this?

Refer to what I said above about checking out a specific commit

I did use the latest commit, but that didn't work, and compiled version 22.4 regardless. Am I missing something?

@JoshNotWright
Copy link

This compiles 22.4, which can't run on 1.21.3+. How do we work around this?

Refer to what I said above about checking out a specific commit

I did use the latest commit, but that didn't work, and compiled version 22.4 regardless. Am I missing something?

https://gist.github.com/iamnotpayingforyourpatreon/20371ddfb318c49dda48fc537032d923?permalink_comment_id=5145668#gistcomment-5145668

This is what did it for me

@ScuroK
Copy link

ScuroK commented Feb 15, 2025

This compiles 22.4, which can't run on 1.21.3+. How do we work around this?

Refer to what I said above about checking out a specific commit

I did use the latest commit, but that didn't work, and compiled version 22.4 regardless. Am I missing something?

https://gist.github.com/iamnotpayingforyourpatreon/20371ddfb318c49dda48fc537032d923?permalink_comment_id=5145668#gistcomment-5145668

This is what did it for me

On their discord they say it should be 23.0:
„ There's a bug that tells you in-game that version 23.1 is available, which is probably why some have set it to 23.1 when they compile. But the devleoper recommended setting it to 23.0. Basically if you set it to any number higher than 23.0 right now, there is a chance if there are untested database patches included in the source, that those patches would be prematurely applied to your database which could cause future issues.“

That makes it hard to keep tutorials up to date 🤔

@lolmak
Copy link

lolmak commented Feb 22, 2025

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

Just change some values in the following files:

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

pom.xml
[line 5] 22.423.2
[line 7] <project.branch></project.branch> → <project.branch>master</project.branch>

@Nxtyrs
Copy link

Nxtyrs commented Mar 14, 2025

Does anyone know how to fix this? theres more errors below that but it just says that a class is the wrong version and that it should be 61.0 instead of the current 65.0
image

@ashap5
Copy link

ashap5 commented Mar 14, 2025

Does anyone know how to fix this? theres more errors below that but it just says that a class is the wrong version and that it should be 61.0 instead of the current 65.0 image

it is trying to compile using java17
change your default java to 21

@Nxtyrs
Copy link

Nxtyrs commented Mar 14, 2025

Does anyone know how to fix this? theres more errors below that but it just says that a class is the wrong version and that it should be 61.0 instead of the current 65.0 image

it is trying to compile using java17 change your default java to 21

thats weird... i downloaded java 21 and changed the path thing, ill try it again thanks

@Nxtyrs
Copy link

Nxtyrs commented Mar 14, 2025

image
Still didnt work

@ashap5
Copy link

ashap5 commented Mar 15, 2025

hmm try using openjdk and not temurin

@ashap5
Copy link

ashap5 commented Mar 15, 2025

jdk21-openjdk 21.0.6.u7-2
this version worked for me
but i am on linux so not sure about windows
i can send you the compiled file if you want

@Nxtyrs
Copy link

Nxtyrs commented Mar 15, 2025

jdk21-openjdk 21.0.6.u7-2 this version worked for me but i am on linux so not sure about windows i can send you the compiled file if you want

thanks, ill try that

@Nxtyrs
Copy link

Nxtyrs commented Mar 15, 2025

it still didnt work... could you please send me the compiled file? thanks

@Nxtyrs
Copy link

Nxtyrs commented Mar 16, 2025

nevermind... just fixed the issue, make sure to set the system variable 'JAVA_HOME' to java version 21, not just the path one, and verify it with mvn --version
image
image

@TheDogg
Copy link

TheDogg commented Mar 25, 2025

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

Just change some values in the following files:

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

pom.xml [line 5] 22.423.2 [line 7] <project.branch></project.branch> → <project.branch>master</project.branch>

Question for you, I can't find a build.gradle file in the repo, is that normal?

@fufu-girl-meow
Copy link

why are we even arguing about compiling a free open source project?

@CreeperHaed
Copy link

why are we even arguing about compiling a free open source project?

Its only free until Version 1.20.6, and 1.21.x is Paid

@fufu-girl-meow
Copy link

why are we even arguing about compiling a free open source project?

Its only free until Version 1.20.6, and 1.21.x is Paid

still, it's open-source which mean anyone can compile it if they want to. just like plotsquared.

@Azoraqua
Copy link

People just can’t stand it that a developer charges money for their own god damn work. And are of the opinion that if it’s given for free before that the developer owes them to keep it free.

— A fellow developer’s perspective.

@ScuroK
Copy link

ScuroK commented Apr 30, 2025

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…

@joex92
Copy link

joex92 commented May 11, 2025

People just can’t stand it that a developer charges money for their own god damn work. And are of the opinion that if it’s given for free before that the developer owes them to keep it free.

— A fellow developer’s perspective.

they are not charging for the product itself, they are charging for a service... said service is "the compiled tool AND direct support for it", which means you can compile it by yourself if you want, but you WON´T get support for it... that's what an OPEN SOURCE PROJECT is, the code is free for everyone to use it under the condition of crediting them (if you use it on other projects)... no one is "angry" that a dev is making a living from it, you are the one angry because not everyone is willing to pay, I bet you are angry also for people cracking Adobe, poor "indie company making a living out of their shitty software"... deal with it, don't try to play SWJ and make yourself look in the eyes of others, that just makes you pathetic...

@DeveloperAnonymous
Copy link

People just can’t stand it that a developer charges money for their own god damn work. And are of the opinion that if it’s given for free before that the developer owes them to keep it free.
— A fellow developer’s perspective.

they are not charging for the product itself, they are charging for a service... said service is "the compiled tool AND direct support for it", which means you can compile it by yourself if you want, but you WON´T get support for it... that's what an OPEN SOURCE PROJECT is, the code is free for everyone to use it under the condition of crediting them (if you use it on other projects)... no one is "angry" that a dev is making a living from it, you are the one angry because not everyone is willing to pay, I bet you are angry also for people cracking Adobe, poor "indie company making a living out of their shitty software"... deal with it, don't try to play SWJ and make yourself look in the eyes of others, that just makes you pathetic...

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?! Pika_wow

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.

@Azoraqua
Copy link

Azoraqua commented May 16, 2025 via email

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