Letting players run their own world/server

I want to add a new feature in my server that almost no server has, letting players run their own world very easily inside my server, similar to what Hypixel has with their SMP thingy. What server software or plugins do I need to be able to create this. I have done some research already but wasn’t able to find a lot. Thanks lot in advance for reacting and helping me out!
107 Replies
Admincraft Meta
Admincraft Meta6mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by uekc#0
Skullians
Skullians6mo ago
This is a very complicated question Hypixel is very complicated in some sense, you’d have to use something like Kube (likely) to create mini servers for players to join
Louis_Dew
Louis_DewOP6mo ago
What is Kube?
adis
adis6mo ago
Kubernetes to orchestrate containerized server instances
Skullians
Skullians6mo ago
^^
Louis_Dew
Louis_DewOP5mo ago
Is there any documentation that would explain how I use that for Minecraft servers etc?
Skullians
Skullians5mo ago
not really because it’s so complicated discord.gg/helpchat you could try ask in there for someone who’s knowledgable or @AeonRemnant could point you somewhere
AeonRemnant
AeonRemnant5mo ago
Have you got any Docker experience?
Louis_Dew
Louis_DewOP5mo ago
A little
QarthO
QarthO5mo ago
keep in mind this can be an expensive task to achieve
Louis_Dew
Louis_DewOP5mo ago
Could u elaborate?
𝖄𝖔𝖚𝖗𝕹𝖔𝖙𝕷𝖚𝖎𝖘
U need lots of resources if u want lots of players
Louis_Dew
Louis_DewOP5mo ago
resources as in people or servers?
Skullians
Skullians5mo ago
servers it also requires a fair bit of maintenance
Louis_Dew
Louis_DewOP5mo ago
The resources I have tho Its just the knownledge that I dont have
SilentBot
SilentBot5mo ago
There's multiple ways to do it, dedicated server per player, dedicated dimension per player, a hybrid of the two, everyone in the same world but spaced far apart (if the world size is restricted), etc.
Louis_Dew
Louis_DewOP5mo ago
And what do you think is the best option?
SilentBot
SilentBot5mo ago
Depends on the requirements for the personal dimensions/servers It really just sounds like realms, but with a hub world at this point
Louis_Dew
Louis_DewOP5mo ago
I think I would want dedicated server per player. Just don't know how to realize it Wouldn't it work similar to how minigames like bedwars work?
SilentBot
SilentBot5mo ago
You would need some plugin/software to create new servers, you would need a backend where those servers live Pterodactyl or underlaying Kubernetes/Docker
Skullians
Skullians5mo ago
^
SilentBot
SilentBot5mo ago
You would need to dynamically add the players own server to a proxy Add permissions to allow people into x servers or allow friends to invite other friends
Skullians
Skullians5mo ago
things like bedwars have x amount of instances "idle" ready to accept players when one instance is full and about to start, a new one would be spun up
SilentBot
SilentBot5mo ago
You could dynamically spin up and down the servers based on players being online, etc.
Skullians
Skullians5mo ago
^^
Louis_Dew
Louis_DewOP5mo ago
So bedwars does not work dynamically
Skullians
Skullians5mo ago
to some degree it does
SilentBot
SilentBot5mo ago
Depends on the setup
Skullians
Skullians5mo ago
^ like silent said, you need some orchestrator to monitor each server and control them and the sub-servers need to be able to communicate with each other, when they should be terminated etc error handling
Louis_Dew
Louis_DewOP5mo ago
This is really complicated. I think this will require me to do a lot of research
SilentBot
SilentBot5mo ago
It is complicated Also figuring out how you charge for the servers is another hard part, as resources aren't free
Louis_Dew
Louis_DewOP5mo ago
Do you guys maybe have a tutorial/docs where I can start
Skullians
Skullians5mo ago
there are basically none
Louis_Dew
Louis_DewOP5mo ago
People with ranks could acces it
Skullians
Skullians5mo ago
consider looking at kubernetes
Skullians
Skullians5mo ago
Skullians
Skullians5mo ago
get yourself familiar with that, docker, etc you either do this yourself, or you pay someone (likely a considerable amount of money) for consultation & setup
Louis_Dew
Louis_DewOP5mo ago
Is it possible to all do this inside pterodactyl panel or am I being delusional
SilentBot
SilentBot5mo ago
This would be a bespoke setup, so there's no docs out there for it. That's a one time fee (I assume?), which isn't sustainable. You in theory could, yes But the load balancing part becomes a little harder as you'd need to calculate which node the server should go on yourself, rather than docker swarm / kubernetes deciding it
Louis_Dew
Louis_DewOP5mo ago
Hmm, I also have Shards in my server (a currceny that has to be bought with real money). I could use that
Skullians
Skullians5mo ago
if it pulls in enough profit to pay then sure
SilentBot
SilentBot5mo ago
You could, but idk why people would pick that over the alternatives you shared above which I believe are free?
Skullians
Skullians5mo ago
it also depends on how many players you expect too
Louis_Dew
Louis_DewOP5mo ago
How did you guys obtain this knownledge?
Skullians
Skullians5mo ago
you're going to need more resources if you'll have more players playing the minigames concurrently
SilentBot
SilentBot5mo ago
By being a software dev by trade and working on systems like this outside of Minecraft It's basically a server host
Skullians
Skullians5mo ago
I've never touched Kube, I'm just relaying my personal view on it, as well as what I've learned while being in this community :LUL:
SilentBot
SilentBot5mo ago
With less/more steps depending how you cut it
Louis_Dew
Louis_DewOP5mo ago
Hypixel has a similar feature in their server and also works with ranks to be able to acces it
Skullians
Skullians5mo ago
Yes well hypixel makes millions of dollars a year
SilentBot
SilentBot5mo ago
But more people are likely to buy ranks on hypixel :>
Skullians
Skullians5mo ago
Concepts
Production-Grade Container Orchestration
Skullians
Skullians5mo ago
gives you a decent understanding of the usecases and how it works
Louis_Dew
Louis_DewOP5mo ago
Thanks!
Skullians
Skullians5mo ago
no problem
Louis_Dew
Louis_DewOP5mo ago
Understandable But right now I just want to realize it without essentialy putting it in production
Skullians
Skullians5mo ago
hypixel also has dozens of paid devs that maintain and develop these things honestly, just FAFO! (not in a bad way)
Louis_Dew
Louis_DewOP5mo ago
👍👍👍
SilentBot
SilentBot5mo ago
Try it with ptero to begin with, as that will be the easier approach Plugin to create servers when a command is run Add them to the proxy And allow players to type /server newserver To start with Then you can start plumbing it up to more features
Skullians
Skullians5mo ago
also (I think) you'll need a proxy that supports registering and removing servers in runtime velocity can't do that iirc
Skullians
Skullians5mo ago
Something like RustyConnecotr really shines in that sector
GitHub
GitHub - Aelysium-Group/rusty-connector: A player and server connec...
A player and server connection manager for Velocity based Minecraft Networks! - Aelysium-Group/rusty-connector
SilentBot
SilentBot5mo ago
There are plugins that allow you to Yeah
Skullians
Skullians5mo ago
.. by itself*
Louis_Dew
Louis_DewOP5mo ago
Right now I already run an SMP server, with a Velocity proxy. So its not possible to do that inside my current server?
Skullians
Skullians5mo ago
RustyConnector is a plugin you add to the frontend and backend that allows registering new servers
Louis_Dew
Louis_DewOP5mo ago
aaah great
Skullians
Skullians5mo ago
frontend being proxy and backend being your SMP*
AeonRemnant
AeonRemnant5mo ago
Right so I’m hopping back in after reading this. 1. Don’t use Docker Swarm, it’s a buggy mess not suited for prod. 2. If you want to use Kubernetes you need AT LEAST a year of experience actually running the thing in production, either in your lab or in real world, before you should feel stable running it solo. That or buy someone that can. The other way to do this is to use a custom program and Docker to dynamically spin up containers as you need them. This is maybe functionality coming to RC soon.
Louis_Dew
Louis_DewOP5mo ago
So Kubernetes is not essential to realize this?
SilentBot
SilentBot5mo ago
Depends how you want it to scale But it's not required
Nathan C.
Nathan C.5mo ago
Great idea
SilentBot
SilentBot5mo ago
Realistically, it could probably be profitable if you upsell stuff like charging for more resources (could use slots but meh), charging to keep it loaded when no players are online and maybe other optional stuff like a global market (opt in, if no creative), chunk loading, ability to invite players to your world to spectate, etc.
AeonRemnant
AeonRemnant5mo ago
No. But no matter what, if you want to scale like Hypixel does then you NEED custom software. It's just not attainable without something custom.
SilentBot
SilentBot5mo ago
Wonder how much storage you'd save if on something like the above, you have 10 seeds pre-generated and use diff based storage for each SMP Guess if you're using a docker image per seed, the overlay fs handles this for you already.
AeonRemnant
AeonRemnant5mo ago
I should say that Kubernetes isn't anywhere near as scary as it used to be, the tooling is much better than it used to be and the skillset is more common. I'm tackling the same goal you are and Kubernetes is the obvious pick if you can handle using it.
SilentBot
SilentBot5mo ago
Maybe treat it as seasonal seeds or something to incentivise it and allow players to race against one another in the same conditions?
Jyrotec
Jyrotec5mo ago
hi, on top of all of the other suggestions from everybody else, you also have the option of utilizing the player servers plugin. It does exactly what you want, allows players to create their own independent manageable servers that are linked to your proxy network. https://www.spigotmc.org/resources/playerservers.79587/ Here’s the link, though I highly recommend joining the discord, the dev is awesome and actively works to improve and fix whatever bugs or glitches you come across. hope this helps
Louis_Dew
Louis_DewOP5mo ago
Thanks to all the people who made suggestions or comments. This will help a lot! I'm going to try various methods and see if it works
cal
cal5mo ago
sounds like minehut icl
SilentBot
SilentBot5mo ago
Pretty much
! Tiny Helius
! Tiny Helius5mo ago
Hey there is a plugin called loom https://builtbybit.com/resources/loom.28043/?ref=discover . You may use it to let your players own their own worlds. Hope this helped!
BuiltByBit
Loom
Your world is your personal space
ProGamingDk
ProGamingDk5mo ago
ehhh
No description
ProGamingDk
ProGamingDk5mo ago
15 usd for this? level of customizability
Skullians
Skullians5mo ago
the wiki is kind of bad not many updates
Jyrotec
Jyrotec5mo ago
plugin wise, this is much better and free https://www.spigotmc.org/resources/playerservers.79587/
Louis_Dew
Louis_DewOP5mo ago
Sooo, I can use plugins instead of using custom programs with docker or kubernetes?
Jyrotec
Jyrotec5mo ago
independent servers instead of worlds provides the same level of customizability as a normal server would, dev is currently working on providing a web admin platform for player management of their backend yes, but i cant vouch for whether the other methods utilizing custom programs would be most reliable/better. i have experience using the player servers plugin and has thus far suited my needs well
Louis_Dew
Louis_DewOP5mo ago
Then I'm gonna use plugins as it is much easier to work with lol Thanks for helping btw!
Jyrotec
Jyrotec5mo ago
just as a note of caution, you will most likely encounter some janky stuff as the plugin is still in active development. if you havent joined the discord, i highly recommend doing so cause he'll help you out with whatever you come across no worries
Louis_Dew
Louis_DewOP5mo ago
I already joined 😁
Jyrotec
Jyrotec5mo ago
👍
Louis_Dew
Louis_DewOP5mo ago
Do you think its a good feature to add to a server?
Jyrotec
Jyrotec5mo ago
sure, as long as you have the resources to act as your friends hosts. i introduced it for some of my buddies and they enjoyed it. was easy for them to use and served their purposes it really depeonds on your set up and what your plan is
Louis_Dew
Louis_DewOP5mo ago
I'm planning to add it to my public servers, players will have to pay Shards (currency in my server that has to be bought with real money) to be able to make a server. Kinda like Hypixel
Jyrotec
Jyrotec5mo ago
what is your current playerbase how many do you anticipate will use this feature
Louis_Dew
Louis_DewOP5mo ago
Very small, we are new
Jyrotec
Jyrotec5mo ago
whats your host plan?
Louis_Dew
Louis_DewOP5mo ago
Don't know tbh I have a dedicated server hosted by hetnzer
Jyrotec
Jyrotec5mo ago
specifications?
Louis_Dew
Louis_DewOP5mo ago
No description
Louis_Dew
Louis_DewOP5mo ago
For now, I plan to keep this feature small
Jyrotec
Jyrotec5mo ago
depending on how many servers youre running as part of your main network, you should be able to manage a fair deal of independent servers i wouldnt think more than 10 at a time though
Louis_Dew
Louis_DewOP5mo ago
And over time scale it as demand grows
Jyrotec
Jyrotec5mo ago
you can set ddr4 limits in the config.yml well experiment and see
Louis_Dew
Louis_DewOP5mo ago
great Im happy I can just use plugins, otherwise it would take a very long time to set up more then enough for now
Jyrotec
Jyrotec5mo ago
follow the instructions in the server or plugin page yeah like i said, im sure there are better methods out there for doing what you want but based on your needs currently, this will probablt suffice
! Tiny Helius
! Tiny Helius5mo ago
This is a really good option ngl

Did you find this page helpful?