Host multiple servers on one PC?

Ly
- in Servers
11

I'm currently creating my own server network in Minecraft. I have the following questions:

1. How can I host multiple servers on one PC without interfering with each other?

2. How do I make someone click on a sign, for example, and then be redirected to another server. PS on Server 1 I use Spigot on Server 2 Sponge

3. How can I make someone buy something on my Buycraft website and the commands are then executed on both servers.

4. Is there a command that allows certain players to join the server even though it is full.

Please answer even if you only know a thing or two. I'm thankful for every help.

PS my servers are both on 1.12.2

cu

Just take VirtualBox, then VMs with Ubuntu, and then the server apps. You can virtualize an entire data center (provided there's enough RAM and CPU on the host).

No

In itself it should work as you run multiple servers on one device, you just have to run the servers in different folders and adjust the ports of the servers. Otherwise, an alternative would also be that you work with virtual machines / PCs, then the servers would be completely separate.

De

1. That the servers do not interfere can be reached through different ports - which you can change in the Server.properties take one server then hooks eg 25567 instead of the standard 25565.

2. You can do this with special software such as Bungeecord or Waterfall - ed has plugins.

3. You also have to see if there's a plugind for Buycraft for Bungeecord.

4. I think you can also set this via Bungeecord.

Ly

What is Bungeecord?

my

A lot of computing power is always lost with a VM.

cu

No, especially computing power (CPU) can be virtualized particularly well.

In contrast to I / O.

my

If I start a VM with my small quad core and only surf the Internet, then everything is already there. Playing videos is a pain.

cu

See exactly what I'm saying.

my

No?

cu

Video output is a lot of I / O, and in your config it is very likely that it is poorly or not at all hardware-accelerated. Since a VM has a lot of overhead.

Virtualizing pure CPU has little overhead.

De

A kind of server that simply forwards to other servers.