Check out the itzg docker Minecraft server build. Not sure if it’s exactly what you’re looking for but it makes hosting a server very easy if you’re familiar with docker
Oh thanks a lot for that recommendation, I was looking for docker images but nothing seemed just right.
No worries! If you really want to save money take a look at the cloud formation (AWS) implementation of it. It would take some trial and error to find the parameters to best suit you and friends, but it uses spot pricing to take advantage of the cheapest hardware possible. It’s linked in the docs (but I always have to dig for it), so direct link is here https://github.com/vatertime/minecraft-spot-pricing
I’ll add - I struggled to find a cloud host that was actually competitive compared to game hosting companies. I went through a few before I settled on one that was so cheap I just couldn’t get close with running my own. My friends like to play with a lot of mods so we needed a decent chunk of RAM.
The only way I would get it to be viable from a financial standpoint was with cloud formation. I played around with it a bit but never ended up deploying - as I say - the host I settled on was so cheap it was just easier long term.
Interesting, thanks. Although the guide says roughly 10$ for t3.medium (2vCPU 4gb RAM) and I'm paying half of that at my current hoster for comparable specs. Still a cool guide!
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.
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..
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.
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 :)
This is how Java is intended to work, ie with the JVM.
Minecraft has specific requirements though, so best to check how the hardware is going to like it.
It's running! I had to use the same Java version but that was basically it. Maybe I'll share the start-up/persistence scripts if they're done soon-ish.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!