
SMP-Starter
A Datapack / Mod that simplifies the start of a Minecraft server through a small script that opens the world border, changes the game mode, and enables PvP.
With this datapack/mod, administrators can define a spawn point for the server start and, using a simple command, set a world border, disable PvP, and switch all players to Adventure mode. When another command is executed, the world border resets to its original size with an animation, PvP is re-enabled, and all players are switched to Survival mode.
Anyone with the tag 'admin' will not be switched to any other game mode.
Usage:
- Put the file in the mods or datapack folder.
- Start the World or Server.
- Find a place where the Worldspawn should be.
- Run /function smpstart:setup
- Whitelist all your friends.
- Run /function smpstart:startsmp
Once the server start is finished, the mod/datapack can be removed without any problems.
If you find any bugs or have any datapack suggestions, please let me know on my Discord.
