Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Minecraft Forge Server

    App Wishlist
    5
    54
    1395
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • girish
      girish Staff last edited by

      I think @MooCloud_Matt was in the market for this. He has some experience with running minecraft servers and mods.

      1 Reply Last reply Reply Quote 0
      • murgero
        murgero App Dev @Guest last edited by

        @atrilahiji I already have a spigot build - probably a really good base for forge server. It should be on my cloudron git account.

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~
        Matrix: @murgero:urgero.org

        BrutalBirdie 1 Reply Last reply Reply Quote 0
        • BrutalBirdie
          BrutalBirdie Staff @murgero last edited by

          And I have my base for a papermc server 😄

          (ps: My version has a problem where the web console displays no text but works 🤷 might fix this if I find the time)

          Paper is a high performance fork of the Spigot Minecraft Server that aims to fix gameplay and mechanics inconsistencies as well as to improve performance.

          https://git.cloudron.io/BrutalBirdie/papermc-minecraft-app/-/tree/feature/v1.6.5

          Like my work? Consider donating a beer 🍻 Cheers!

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by A Former User

            I packaged it up and it seems to be working. I streamed the process and the VOD is here: https://video.lahijiapps.dev/videos/watch/0b3e1f74-d86f-460e-b3aa-604923371dbe

            Open to feedback, both on the video and the packaged app (Yes I realize the music is too quiet and I forgot to switch OBS to my screen for a while)

            Edit: Got biome o plenty working
            e7e217f3-3248-46f9-8f20-9d4f9553726f-image.png

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User last edited by

              @girish would there be a possibility of having this on the store or do you look for more votes? Of course I want to try to clean this up a bit before it makes it there and have no problems updating it

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @Guest last edited by

                @atrilahiji that will be great, would love to have this on the store.

                ? 2 Replies Last reply Reply Quote 0
                • ?
                  A Former User @girish last edited by

                  @girish cool I’ll work on cleaning it up a bit

                  1 Reply Last reply Reply Quote 1
                  • ?
                    A Former User @girish last edited by A Former User

                    @girish Only thing is there doesn't appear to be an obvious way to automate the forge installer. Its a .jar file that launches a UI where you select the install location. Right now I am running the install locally and uploading the unpacked files directly to the repo.

                    Their download page is here: http://files.minecraftforge.net/

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User last edited by

                      Re-made the repo so it has its own git history to make it a bit cleaner. Link here: https://git.cloudron.io/AtriLahiji/minecraft-forge-app

                      murgero 1 Reply Last reply Reply Quote 1
                      • murgero
                        murgero App Dev @Guest last edited by

                        @atrilahiji Make sure that plugins are in /app/data and can write to the plugin folder - otherwise any plugin you toss at this should in theory work

                        --
                        https://urgero.org
                        ~ Professional Nerd. Freelance Programmer. ~
                        Matrix: @murgero:urgero.org

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @murgero last edited by

                          @murgero That does appear to be the case with the current release I have, at least from my testing

                          1 Reply Last reply Reply Quote 1
                          • nebulon
                            nebulon Staff last edited by

                            I was just testing the app a bit and while I have no clue what the difference really is, it seems to mostly work 😉

                            The logs and command interface in the app UI does not seem to work though as well as @atrilahiji what was the reason to put the actual server code (the .jars) into the git repo?

                            Ideally we would fetch those from some upstream repo with just the pinned version number, if possible.

                            ? 2 Replies Last reply Reply Quote 0
                            • ?
                              A Former User @nebulon last edited by A Former User

                              @nebulon I mean it’s pretty much a lightly modified version on your minecraft package. I’ll take a look at the console issues though.

                              For the jar files sitting in the package, this was initially because the install process requires running an installer jar file that uses a GUI to choose whether to install the client or server. I’m still trying to find a way to clean this up

                              girish 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @nebulon last edited by

                                @nebulon I was thinking of hosting them somewhere else. But I’m checking to see what the process of building it from source looks like

                                nebulon 1 Reply Last reply Reply Quote 0
                                • nebulon
                                  nebulon Staff @Guest last edited by

                                  @atrilahiji well if there is a valid reason, then I don't think it is an issue to have the jar files in the repo.

                                  ? 1 Reply Last reply Reply Quote 0
                                  • girish
                                    girish Staff @Guest last edited by

                                    @atrilahiji Can you put something in the README on how you downloaded those jar files? That way, we can also know how to update it later.

                                    ? 1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @girish last edited by

                                      @girish yeah for sure. I’ll add that in a bit here

                                      1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @nebulon last edited by

                                        @nebulon Perfect. I dont mind keeping them stored on a static file server too. But yeah the purpose of this is for mods compatible with Forge: https://www.curseforge.com/minecraft/mc-mods?filter-game-version=2020709689%3A7498&filter-sort=4

                                        1 Reply Last reply Reply Quote 0
                                        • nebulon
                                          nebulon Staff last edited by

                                          Ah nice, I guess it would also be good if you could describe how to use such mods with this app package. I have only personally used the stock server thus far.

                                          ? 1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @nebulon last edited by A Former User

                                            @nebulon I added some quick guides. Might add have time to make a video or write a longer guide tomorrow. But I added some instructions in the README.

                                            Also the frontend console issue is fixed and I bumped the forge version.

                                            https://git.cloudron.io/AtriLahiji/minecraft-forge-app/-/releases/0.2.0

                                            1 Reply Last reply Reply Quote 1
                                            • nebulon
                                              nebulon Staff last edited by

                                              Great, I think we are close to getting this into the app library. I've forked your repo into the cloudron namespace and you should be a "developer" for that repo at https://git.cloudron.io/cloudron/minecraft-forge-app

                                              ? 1 Reply Last reply Reply Quote 0
                                              • ?
                                                A Former User @nebulon last edited by A Former User

                                                @nebulon cool. Yeah the only thing I was thinking of changing there was hosting the actual server jar files and libs in a file storage server somewhere to reduce the bloat of the repo. Do you think that or the current method make the most sense?

                                                1 Reply Last reply Reply Quote 0
                                                • ?
                                                  A Former User @BrutalBirdie last edited by A Former User

                                                  @brutalbirdie also perhaps this change I made to mine will help get the terminal working for yours? https://git.cloudron.io/cloudron/minecraft-forge-app/-/commit/b49f9b9ce3620dde5ca82aa4394345630120b251#d7eea7e71cfc09240e80c27cf7a3c1b6b21de82b

                                                  You’d have to see what the papermc server spits out

                                                  BrutalBirdie 2 Replies Last reply Reply Quote 0
                                                  • BrutalBirdie
                                                    BrutalBirdie Staff @Guest last edited by

                                                    @atrilahiji will try that.

                                                    Like my work? Consider donating a beer 🍻 Cheers!

                                                    1 Reply Last reply Reply Quote 0
                                                    • BrutalBirdie
                                                      BrutalBirdie Staff @Guest last edited by BrutalBirdie

                                                      @atrilahiji That wont work for me 😄
                                                      My Console output looks like this.

                                                      Feb 08 17:14:35 [16:14:35 INFO]: [Vault] No new version available
                                                      Feb 08 19:42:41 [18:42:41 INFO]: CONSOLE issued server command: /help
                                                      Feb 08 19:42:41 [18:42:41 INFO]: To view help from the console, type '?'.
                                                      Feb 08 19:42:55 [18:42:55 INFO]: -------------------- Help --------------------
                                                      

                                                      so I would have to match \[\d+\:\d+\:\d+\s[INFO|WARN|ERROR]\]

                                                      Like my work? Consider donating a beer 🍻 Cheers!

                                                      ? 1 Reply Last reply Reply Quote 0
                                                      • ?
                                                        A Former User @BrutalBirdie last edited by

                                                        @brutalbirdie 😧

                                                        BrutalBirdie 1 Reply Last reply Reply Quote 0
                                                        • BrutalBirdie
                                                          BrutalBirdie Staff @Guest last edited by BrutalBirdie

                                                          @atrilahiji I will test this

                                                          .toString().split(/[\d+\:\d+\:\d+\s(INFO|WARN|ERROR)]\:\s/)[2]);
                                                          

                                                          Tested it with jsfiddle and regex101

                                                          text = "Feb 08 17:14:35 [16:14:35 INFO]: [Vault] No new version available";
                                                          console.log(text.toString().split(/\[\d+\:\d+\:\d+\s(INFO|WARN|ERROR)\]\:\s/)[2]);
                                                          

                                                          Like my work? Consider donating a beer 🍻 Cheers!

                                                          BrutalBirdie 1 Reply Last reply Reply Quote 0
                                                          • BrutalBirdie
                                                            BrutalBirdie Staff @BrutalBirdie last edited by BrutalBirdie

                                                            Well ... silly me did a copy-paste mistake and forgot the \ at the first [
                                                            also why not this RegEx \[.*\]\:\s a lot simpler.

                                                            Like my work? Consider donating a beer 🍻 Cheers!

                                                            ? 1 Reply Last reply Reply Quote 0
                                                            • ?
                                                              A Former User @BrutalBirdie last edited by

                                                              @brutalbirdie Lol true that should work

                                                              1 Reply Last reply Reply Quote 0
                                                              • ?
                                                                A Former User last edited by A Former User

                                                                @nebulon FYI I submitted a PR to the repo https://git.cloudron.io/cloudron/minecraft-forge-app/-/merge_requests/1

                                                                This should clean it up a bit more. Let me know if theres anything else you need from my end on getting this up and running as a proper app. Again, I am perfectly willing to be in charge of submitting MRs for any updates to take a bit of the load off of @staff

                                                                1 Reply Last reply Reply Quote 1
                                                                • nebulon
                                                                  nebulon Staff last edited by

                                                                  yes thanks, saw that. I still have to play this through on my own to see what this business with the jar files is 😉

                                                                  ? 1 Reply Last reply Reply Quote 2
                                                                  • ?
                                                                    A Former User @nebulon last edited by

                                                                    @nebulon For sure, thanks! Yeah if you have any ideas about that let me know. I'm a bit lost with trying to run a jar headless if it relies on options to be selected in the GUI and there is no documentation that indicates that it can be run headless

                                                                    1 Reply Last reply Reply Quote 0
                                                                    • girish
                                                                      girish Staff last edited by

                                                                      Iirc, a jar is just a zip file. So maybe the files are inside it as resources.

                                                                      ? 1 Reply Last reply Reply Quote 0
                                                                      • ?
                                                                        A Former User @girish last edited by A Former User

                                                                        @girish Found this when unpacking the installer jar file...
                                                                        Screen Shot 2021-02-08 at 6.30.38 PM.png

                                                                        I have basically 0 knowledge about Java. Does this mean anything to anyone?
                                                                        Screen Shot 2021-02-08 at 6.33.16 PM.png

                                                                        girish 1 Reply Last reply Reply Quote 0
                                                                        • girish
                                                                          girish Staff @Guest last edited by

                                                                          @atrilahiji Ah, good catch. I guess we can put in a link to https://www.patreon.com/LexManos in the DESCRIPTION/Doc link and maybe also setup some patreon from our side if we decide to publish it. I am not sure how popular forge is, but we can scale that amount based on usage.

                                                                          ? 1 Reply Last reply Reply Quote 0
                                                                          • ?
                                                                            A Former User @girish last edited by

                                                                            @girish Yeah thats going to be troublesome. I suppose from your end its a huge issue if the maintainer feels ripped off here. I suppose it really doesn't matter if it remains as an unlisted app for the moment (unless you think its ok... I definitely prefer having it listed but I get it if thats not possible). Either way I'll add proper attribution and patreon links.

                                                                            Would you like me to reach out to the developer?

                                                                            girish 1 Reply Last reply Reply Quote 0
                                                                            • girish
                                                                              girish Staff @Guest last edited by

                                                                              @atrilahiji Yes, agreed. I think since there is a special comment about automating the installation, we should check regardless of the license. Please do reach out to them and ask how he/she feels about it.

                                                                              ? 3 Replies Last reply Reply Quote 0
                                                                              • ?
                                                                                A Former User @girish last edited by

                                                                                @girish Ok sent him a message. Waiting for a reply. I'll let you know what comes of this.

                                                                                1 Reply Last reply Reply Quote 0
                                                                                • ?
                                                                                  A Former User @girish last edited by

                                                                                  @girish C940F49E-B4CB-4324-B5ED-3A9906D82E96.jpeg

                                                                                  I asked my brother about this since he’s more experienced with forge. Looks like this works...

                                                                                  Still waiting to hear back from the developer

                                                                                  1 Reply Last reply Reply Quote 1
                                                                                  • ?
                                                                                    A Former User last edited by A Former User

                                                                                    Pushed an MR for 0.4.0 with proper automation. That message from my brother saved the day 🙂

                                                                                    Made a new one... no conflicts this time.

                                                                                    1 Reply Last reply Reply Quote 2
                                                                                    • ?
                                                                                      A Former User @girish last edited by A Former User

                                                                                      @girish So this developer is not awfully responsive. I tried a DM via his community discord and a message on patreon (threw him $7 since I automated it for my server at least). Not sure how to proceed. I guess I'm on the fence about this because on one hand I think this would be an excellent app to have but on the other hand, if usage picks up here he may actually have a tangible loss in ad revenue?

                                                                                      girish 1 Reply Last reply Reply Quote 0
                                                                                      • girish
                                                                                        girish Staff @Guest last edited by

                                                                                        @atrilahiji Maybe we can publish, and then based on usage, we (as in, Cloudron the company) is happy to setup some monthly patreon based on usage/installs.

                                                                                        But also, let's put the patreon link in the description and also in the app's home page. I haven't looked into the app but is this using the same UI as the other minecraft apps? If so, let's change the HTML of the landing page there to have a link to their patreon.

                                                                                        ? 2 Replies Last reply Reply Quote 1
                                                                                        • ?
                                                                                          A Former User @girish last edited by A Former User

                                                                                          @girish Oh sure, that makes sense. I messaged one of their other devs and he confirmed the main dev often doesnt reply or see messages. And that as far as he's concerned he doesn't have an issue with it. And yeah I can throw that up onto the repo in another MR if you want. I am going to support this guy so I can clear my conscience lol.

                                                                                          And to answer your question yeah the repo is honestly mostly the same as the current MC apps. I'll keep an eye on releases so I can update this. Also, to clarify I am currently using a beta release of forge in the repo to match the minecraft version we use in the other apps.

                                                                                          1 Reply Last reply Reply Quote 1
                                                                                          • ?
                                                                                            A Former User @girish last edited by

                                                                                            @girish New MR here: https://git.cloudron.io/cloudron/minecraft-forge-app/-/merge_requests/4

                                                                                            Screenshot of the frontend change:
                                                                                            041a7a23-37cf-4aaa-8830-702c358396ee-image.png

                                                                                            murgero 1 Reply Last reply Reply Quote 1
                                                                                            • murgero
                                                                                              murgero App Dev @Guest last edited by

                                                                                              @atrilahiji Did you fix the issue where the original app (Minecraft Java Server) has memory-issues in browser causing the browser to crash/freeze?

                                                                                              --
                                                                                              https://urgero.org
                                                                                              ~ Professional Nerd. Freelance Programmer. ~
                                                                                              Matrix: @murgero:urgero.org

                                                                                              ? 1 Reply Last reply Reply Quote 0
                                                                                              • ?
                                                                                                A Former User @murgero last edited by

                                                                                                @murgero Huh I forked the java edition repo but never explicitly fixed something like that. Never really noticed that as an issue. Was this ever fixed in the Java edition repo?

                                                                                                1 Reply Last reply Reply Quote 0
                                                                                                • ?
                                                                                                  A Former User last edited by A Former User

                                                                                                  Huh the maintainer made it so only friends on discord could message him directly (or blocked me... can't tell) shortly after my DM. No reply. Seems like a cool guy...

                                                                                                  girish 1 Reply Last reply Reply Quote 0
                                                                                                  • girish
                                                                                                    girish Staff @Guest last edited by

                                                                                                    @atrilahiji Oh, I imagine life as an OSS maintainer of a popular OSS project is hard...

                                                                                                    ? 1 Reply Last reply Reply Quote 0
                                                                                                    • ?
                                                                                                      A Former User @girish last edited by

                                                                                                      @girish yeah fair enough. I’m sure he’s busy.

                                                                                                      Oh by the way, is there anything else you can think of for a release? I can make changes he’s tomorrow but it makes sense to add them to the current MR before merging since it hasn’t been merged yet.

                                                                                                      girish 1 Reply Last reply Reply Quote 0
                                                                                                      • girish
                                                                                                        girish Staff @Guest last edited by

                                                                                                        @atrilahiji nope, I think we are good for publishing it. I will check with @nebulon

                                                                                                        ? 1 Reply Last reply Reply Quote 0
                                                                                                        • ?
                                                                                                          A Former User @girish last edited by

                                                                                                          @girish nice! Can’t wait! 😁

                                                                                                          1 Reply Last reply Reply Quote 1
                                                                                                          • nebulon
                                                                                                            nebulon Staff last edited by nebulon

                                                                                                            Alright, I've pushed an app package with the current version updated to base image v3 now. It is available as unstable for the moment.

                                                                                                            I will close this topic since further package/app issues should be reported in the minecraft forum section: https://forum.cloudron.io/category/49/minecraft

                                                                                                            @atrilahiji great work on the package! 🙂

                                                                                                            1 Reply Last reply Reply Quote 4
                                                                                                            • girish
                                                                                                              girish Staff last edited by

                                                                                                              It seems papermc is packaged here - https://gitlab.com/rs2009-subgroups/servers/cloudron.papermc.app . Not sure if the author is on this forum.

                                                                                                              1 Reply Last reply Reply Quote 0
                                                                                                              • First post
                                                                                                                Last post
                                                                                                              Powered by NodeBB