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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Minecraft Forge Server

Minecraft Forge Server

Scheduled Pinned Locked Moved Solved App Wishlist
54 Posts 5 Posters 8.0k Views 6 Watching
  • 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.
  • nebulonN nebulon

    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.

    ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #15

    @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

    nebulonN 1 Reply Last reply
    0
    • ? A Former User

      @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

      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #16

      @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
      0
      • ? 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

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #17

        @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
        0
        • girishG girish

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

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #18

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

          1 Reply Last reply
          0
          • nebulonN nebulon

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

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #19

            @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
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #20

              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
              0
              • nebulonN nebulon

                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.

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by A Former User
                #21

                @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
                1
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #22

                  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
                  0
                  • nebulonN nebulon

                    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

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by A Former User
                    #23

                    @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
                    0
                    • BrutalBirdieB BrutalBirdie

                      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

                      ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by A Former User
                      #24

                      @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

                      BrutalBirdieB 2 Replies Last reply
                      0
                      • ? 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

                        BrutalBirdieB Offline
                        BrutalBirdieB Offline
                        BrutalBirdie
                        Partner
                        wrote on last edited by
                        #25

                        @atrilahiji will try that.

                        Like my work? Consider donating a drink. Cheers!

                        1 Reply Last reply
                        0
                        • ? 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

                          BrutalBirdieB Offline
                          BrutalBirdieB Offline
                          BrutalBirdie
                          Partner
                          wrote on last edited by BrutalBirdie
                          #26

                          @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 drink. Cheers!

                          ? 1 Reply Last reply
                          0
                          • BrutalBirdieB 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]\\]

                            ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #27

                            @brutalbirdie 😧

                            BrutalBirdieB 1 Reply Last reply
                            0
                            • ? A Former User

                              @brutalbirdie 😧

                              BrutalBirdieB Offline
                              BrutalBirdieB Offline
                              BrutalBirdie
                              Partner
                              wrote on last edited by BrutalBirdie
                              #28

                              @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 drink. Cheers!

                              BrutalBirdieB 1 Reply Last reply
                              0
                              • BrutalBirdieB 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]);
                                
                                BrutalBirdieB Offline
                                BrutalBirdieB Offline
                                BrutalBirdie
                                Partner
                                wrote on last edited by BrutalBirdie
                                #29

                                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 drink. Cheers!

                                ? 1 Reply Last reply
                                0
                                • BrutalBirdieB BrutalBirdie

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

                                  ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #30

                                  @brutalbirdie Lol true that should work

                                  1 Reply Last reply
                                  0
                                  • ? Offline
                                    ? Offline
                                    A Former User
                                    wrote on last edited by A Former User
                                    #31

                                    @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
                                    1
                                    • nebulonN Offline
                                      nebulonN Offline
                                      nebulon
                                      Staff
                                      wrote on last edited by
                                      #32

                                      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
                                      2
                                      • nebulonN nebulon

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

                                        ? Offline
                                        ? Offline
                                        A Former User
                                        wrote on last edited by
                                        #33

                                        @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
                                        0
                                        • girishG Offline
                                          girishG Offline
                                          girish
                                          Staff
                                          wrote on last edited by
                                          #34

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

                                          ? 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search