cross-posted from: https://feddit.de/post/1305653

I used to host minecraft at a gameserver hosting service where you can easily click to select mods and so on.

I figured I can host it on a more powerful cloud vserver for cheaper if I can spare the hosting tools.

Can I just copy all the game files to a new server and run it with the same command, I think Java Software works that way right? It wouldn’t care for libraries installed by the os, that correct? Both servers are Linux based, but the new one would be on ARM architecture - again, should be irrelevant thanks to Java right?

I’ll give it a try, just wanted to see if anyone has tips on what to look out for.

I figured if I get proper startup and shutdown scripts setup I could even spin down the instance when I know nobody will be playing for a while and save some money. It would cost about 50 cents per month to have a separate persistent storage where the scripts could save to / recover from…

Any thoughts would be appreciated! Cheers

  • chiisana@lemmy.chiisana.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    As long as you’ve got all the plugins, and server jar files, you’re going to be able to run on another server with appropriate Java installation. Depending on processor speed, ARM might not yield as good of TPS as the other server as most ARM processors tends to have slightly lower clock speed in favor of more cores, whereas Minecraft thrives on single processor clock speed.

    • puddy@feddit.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Thanks, that’s what I assumed. I’m hoping it’ll be easy to switch to better specs in the cloud and still affordable, especially if it’s easy to spin down the server on demand. We’re usually playing “in bursts” of a few weeks…

      • chiisana@lemmy.chiisana.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I tried this concept a while back with some of my friends… one thing I discovered with smaller communities is that activity begets activity, and same thing holds true for the lack of activity… by turning server off during perceived “off” hours to save a buck or two, it robs people of that serendipitous connection with each other when they randomly play during those off windows. Giving people the option to turn the server on, at least in my case, didn’t seem to help because they’re not looking to kick start my server when they’re on the server selection screen.

        So unless you have very dedicated community all sharing a very rigid off schedule (I.E. “we’re all in same class during these hours, so no one will be around, and everyone has the keys to start the server in case if they’re sick”), I wouldn’t recommend automation of turning on and off of the server.

        • puddy@feddit.deOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Thanks I get what you’re saying. I’m thinking more in line of “update hype has died down, everyone goes on vacation - we probably won’t play for a few weeks”. Either way I’ll be able to start it up from my smartphone at anytime so all it takes is a quick chat message to have me start it up :)