Last active
August 5, 2025 23:57
-
-
Save slash1div/4a9eb50e74e303cdd55357e32d24589f to your computer and use it in GitHub Desktop.
Revisions
-
slash1div revised this gist
May 21, 2025 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -73,8 +73,12 @@ jobs: java-version: 21 distribution: temurin - name: Set version in pom.xml to 23.0 run: | sed -i '0,/<version>.*<\/version>/s//<version>23.0<\/version>/' pom.xml - name: Build with branch override run: mvn package --file pom.xml -Dproject.branch=master - name: Get correct jar id: jar -
slash1div revised this gist
May 20, 2025 . 1 changed file with 8 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -141,12 +141,15 @@ An example of the jar file's download button location is below. ### 7. Delete Your Fork Once you've downloaded your jar file, it's a good idea to delete your fork. Leaving it up might confuse others who are searching for an actual development fork of CoreProtect. To delete your fork: 1. Go to your forked repository on GitHub. 2. Click the **"Settings"** tab at the top. 3. Scroll to the bottom of the page. 4. Click **"Delete this repository"**. 5. Follow the prompts to confirm and permanently delete it.  -
slash1div revised this gist
May 20, 2025 . 1 changed file with 21 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,13 +9,13 @@ ## Why This Tutorial Exists Starting with Minecraft version **1.21**, CoreProtect no longer provides downloads unless you pay for their Patreon. The plugin still remains open source, so you can build it yourself using Java and Maven. If you're not a developer, this seemingly locks the plugin behind a paywall. Some people have switched to alternatives like **Prism**, which don't measure up at all. This has caused small servers to suffer. Some even shut down due to griefing, with no reliable way to trace or roll back the damage. I've subscribed to CORE’s Patreon and plan to continue supporting it, but not everyone can afford to do that, or let alone even use Patreon. Minecraft is largely played by kids and teens, not adults. This guide walks you through **how to build CoreProtect using GitHub only**. No Java knowledge, no downloads. I'm not a writer, just a tech guy doing his best, so hang in there with me. I barely know Java or Maven's basics myself. --- @@ -117,7 +117,7 @@ The build will start! ### 5. Open the Workflow 1. Refresh the page to see the newest workflow at the top. 2. Once the workflow finishes, you'll see a green checkmark (✅). > Note: The workflow shouldn't take longer than 2 minutes to complete. If it is still yellow, refresh again. 3. Click the title of the workflow to open it! @@ -139,10 +139,25 @@ An example of the jar file's download button location is below. --- ### 7. Delete Your Fork Leaving this fork can cause confusion to people looking for an actual fork of CoreProtect. To delete your fork: 1. Click the settings tab at the top. 2. Scroll all the way down to delete this repository. 3. Click the "Delete this Repository" button. 4. Follow all prompts to delete the repository.  --- ## You Did It! You now have the **latest version of CoreProtect**, built from source without needing to understand a single line of code (or download anything!). If you value the plugin, support [CoreProtect's Patreon](https://www.patreon.com/CoreProtect) as it will keep future development going. Although this "paywalling" may seem annoying, it is necessary to keep the project going. Show some love to the developers and it might change in the future. Thank you CORE for keeping this plugin going for so long. This is extremely rare in the Minecraft community, and deserves a lot of respect. ❤️ -
slash1div revised this gist
May 20, 2025 . 1 changed file with 36 additions and 36 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -67,23 +67,33 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Set up JDK 21 uses: actions/setup-java@v4 with: java-version: 21 distribution: temurin - name: Build with branch override run: mvn package --file pom.xml -Dproject.branch=development - name: Get correct jar id: jar run: | mkdir staging for file in target/*.jar; do if [[ "$(basename "$file")" != original-* ]]; then cp "$file" staging/ echo "jar_name=$(basename "$file")" >> "$GITHUB_OUTPUT" break fi done - name: Upload the .jar directly uses: actions/upload-artifact@v4 with: name: ${{ steps.jar.outputs.jar_name }} path: staging/${{ steps.jar.outputs.jar_name }} compression-level: 0 ``` 3. Click **"Commit changes"** in the top-right corner. @@ -92,23 +102,7 @@ jobs: --- ### 4. Run the Build 1. At the top of the page, click the **"Actions"** tab. 2. In the left sidebar, click **"Custom Fork Build"**. @@ -120,22 +114,28 @@ The build will start! --- ### 5. Open the Workflow 1. Refresh the page to see the newest workflow at the top. 2. Once the workflow finishes, you'll see a green checkmark. > Note: The workflow shouldn't take longer than 2 minutes to complete. If it is still yellow, refresh again. 3. Click the title of the workflow to open it! An example of a finished workflow is below. You will click where the arrow is.  --- ### 6. Grab the Jar 1. If the workflow is finished, you should see a jar file at the bottom of the page. 2. Click the download button next to the jar file artifact. 3. Upload that `.jar` file to your Minecraft server — you’re done! An example of the jar file's download button location is below.  --- -
slash1div revised this gist
May 19, 2025 . 1 changed file with 20 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -92,7 +92,23 @@ jobs: --- ### 4. Change the Branch 1. At the top of your page, click your repo name (e.g. `CoreProtect` or `CoreProtect-Build`). 2. In the list on the left, navigate to: `src/main/resources/plugin.yml` 3. Click the **pencil icon** (✏️) in the top-right corner to edit the file. 4. Find **line 4** and replace it with: ``` branch: developement ``` 5. Click **"Commit changes"** in the bottom-left corner.  --- ### 5. Run the Build 1. At the top of the page, click the **"Actions"** tab. 2. In the left sidebar, click **"Custom Fork Build"**. @@ -104,7 +120,7 @@ The build will start! --- ### 6. Download the Finished Build 1. Once the workflow finishes (you'll see a green checkmark), click the top result. 2. Look for **"Artifacts"** and download the `.zip` file. @@ -113,7 +129,7 @@ The build will start! --- ### 7. Grab the Right File 1. Open the zip file you downloaded. 2. **Choose the file that does _*not*_ start with `original-`**. @@ -127,6 +143,6 @@ The build will start! You now have the **latest version of CoreProtect**, built from source without needing to understand a single line of code (or download anything!). If you value the plugin, support [CoreProtect's Patreon](https://www.patreon.com/CoreProtect) as it will keep future development going. Although this "paywalling" may seem annoying, it is necessary to keep the project going. Show some love to the developers and it might change in the future. -
slash1div revised this gist
May 19, 2025 . 1 changed file with 81 additions and 26 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,33 +1,59 @@ # How to Build CoreProtect Using Only GitHub (No Coding Required!) > ✅ All you need: > - A **web browser** > - A **GitHub account** > - A bit of **patience** --- ## Why This Tutorial Exists Starting with Minecraft version **1.21**, CoreProtect no longer provides downloads unless you build it yourself using Java and Maven. If you're not a developer, this locks the plugin behind a paywall. Many people have switched to alternatives like **Prism**, which don't measure up at all. This has caused small servers to suffer, with some shutting down due to griefing. This guide walks you through **how to build CoreProtect using GitHub only**. No Java knowledge, no downloads, and no B.S. I am not a writer, just a tech guy, so try to power through. --- ## Let’s Get Started --- ### 1. Fork the Repository 1. Visit this link: > https://github.com/PlayPro/CoreProtect/fork 2. Click the **"Create fork"** button. 3. (Optional) Rename it to something like `CoreProtect-Build`.  --- ### 2. Create a New File 1. After the fork is created, you’ll be in your own copy of the CoreProtect repository. 2. Click the **"Add file"** dropdown near the top-middle of the page. 3. Select **"Create new file"**.  --- ### 3. Add Workflow Code 1. In the **file name** box at the top, paste this: ``` .github/workflows/custom-fork-build.yml ``` 2. Then paste the code below into the **big text box** underneath: ```yaml name: Custom Fork Build @@ -59,19 +85,48 @@ jobs: name: Custom Fork Build path: staging ``` 3. Click **"Commit changes"** in the top-right corner.  --- ### 4. Run the Build 1. At the top of the page, click the **"Actions"** tab. 2. In the left sidebar, click **"Custom Fork Build"**. 3. Click the **"Run workflow"** button. The build will start!  --- ### 5. Download the Finished Build 1. Once the workflow finishes (you'll see a green checkmark), click the top result. 2. Look for **"Artifacts"** and download the `.zip` file.  --- ### 6. Grab the Right File 1. Open the zip file you downloaded. 2. **Choose the file that does _*not*_ start with `original-`**. 3. Upload that `.jar` file to your Minecraft server — you’re done!  --- ## You Did It! You now have the **latest version of CoreProtect**, built from source without needing to understand a single line of code (or download anything!). If you value the plugin, support CoreProtect's [Patreon](https://www.patreon.com/CoreProtect) as it will keep future development going. Although this "paywalling" may seem annoying, it is necessary to keep the project going. Show some love to the developers and it might change in the future. -
slash1div revised this gist
May 19, 2025 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,12 +19,12 @@ After you are done, you should have the *LATEST* CoreProtect build within 5 minu You need a GitHub account. To fork the repo, click the link below and press the "Create fork" button. I'd rename it to something such as "CoreProtect-Build" so you know why the repo is in your account for future reference. https://github.com/PlayPro/CoreProtect/fork  ### Create a New File After forking, you should immediately be brought to your own repository. Near the upper middle of your screen, there is an "Add File" dropdown. Click that and then click "Create new file".  ### Paste Contents Paste the text `.github/workflows/custom-fork-build.yml` into your file name at the top left. Then paste the code below into the giant file contents box. @@ -60,18 +60,18 @@ jobs: path: staging ``` You can then create the file with the Commit Changes button on the top right.  ### Building the file On the top of the page, click the "Actions" button. After, there should be a "Custom Fork Build" in the sidebar. Click that, and there will be a "Run workflow" button. Click that and it will start running.  ### Download it! On the top of your page, click the top workflow. Wait until it completes, and download the artifact zip. You will know it is done if there is a green checkmark.  ### Grab the Correct File Inside the zip file, grab the file that **does not have** "original-" in front. You can upload this to your server to get CoreProtect!  -
slash1div created this gist
May 19, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,77 @@ # Tutorial on how to build CoreProtect, entirely on GitHub! **Only a web browser, GitHub account, and a brain required.** I am not a writer, I am just a nerdy dude who somewhat understands computers. If you have some experience with technology, you can probably power through this. CoreProtect has been what I'd call soft-paywalled starting with 1.21. What I mean is that if you have __no Java/Maven knowledge__, you cannot download CoreProtect on the latest versions. I personally see why they did this, but this has caused a fair bit of users to swap to other plugins, such as Prism, which absolutely do not compare. This is causing many small servers to crash and burn on the slightest sign of griefing. I have paid for CoreProtect's Patreon, and do support donating to them, but there is some harm from "paywalling" this way. This tutorial requires absolutely no knowledge on programming, is isolated entirely to your web browser, and takes only a few seconds to set up. After you are done, you should have the *LATEST* CoreProtect build within 5 minutes. # Let's get started. ### Fork The Github You need a GitHub account. To fork the repo, click the link below and press the "Create fork" button. I'd rename it to something such as "CoreProtect-Build" so you know why the repo is in your account for future reference. https://github.com/PlayPro/CoreProtect/fork  ### Create a New File After forking, you should immediately be brought to your own repository. Near the upper middle of your screen, there is an "Add File" dropdown. Click that and then click "Create new file".  ### Paste Contents Paste the text `.github/workflows/custom-fork-build.yml` into your file name at the top left. Then paste the code below into the giant file contents box. ```yaml name: Custom Fork Build on: workflow_dispatch: {} jobs: build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Set up JDK 22 uses: actions/setup-java@v4 with: java-version: 22 distribution: temurin - name: Build run: mvn package --file pom.xml - name: Get build artifact ready run: mkdir staging && cp target/*.jar staging - name: Upload a Build Artifact uses: actions/upload-artifact@v4 with: name: Custom Fork Build path: staging ``` You can then create the file with the Commit Changes button on the top right.  ### Building the file On the top of the page, click the "Actions" button. After, there should be a "Custom Fork Build" in the sidebar. Click that, and there will be a "Run workflow" button. Click that and it will start running.  ### Download it! On the top of your page, click the top workflow. Wait until it completes, and download the artifact zip. You will know it is done if there is a green checkmark.  ### Grab the Correct File Inside the zip file, grab the file that **does not have** "original-" in front. You can upload this to your server to get CoreProtect! 