sebinside / CraftBlock

CraftBlock stands for "Craft Attack 3 Skyblock" and is an expert skyblock modpack for Minecraft.
GNU Lesser General Public License v2.1
41 stars 17 forks source link

Add Island management mod for multiplayer servers #151

Open J0B10 opened 2 years ago

J0B10 commented 2 years ago

An Island management mod is needed to manage the community server. FTB Team Islands could be a valid option.

The mod must be capable of handling structures bigger than 32x32x32 (max .nbt structure size).

It must also be checked whether a server only mod is sufficient or if it must be present in the client too.

If no such mod can be found we could try doing this via world edit.

J0B10 commented 2 years ago

We (mainly @voruti and me) discussed this topic in #craftblock on discord and tested a few things. Here our results:

Void Island Control / FTB Team Islands

Both mods allow generating a new island when he runs a command. The island must be provided as .nbt files.

Pre-Generated world

We can just copy the region files to generate new islands. This will make them appear 32 chunks (512 Blocks) apart which is quite a good distance. To save some work this python script may be used:

import shutil
for x in range(0, 16):
    for y in range(0, 16):
        if x!=0 or y!=0:
            shutil.copyfile("r.0.0.mca", f"r.{x}.{y}.mca")

This test created a world with 256 islands. The world was about 1.8 GB big. The script can easily be adapted for more islands. Here ist the created world: 📁 template.7z

We would need some command block or open computers setup to teleport new players to an island.