
World Start Commands
Execute commands when starting to play! Multiplayer friendly and fully customizable
Screenshots


About this Mod
Overview
This Mod/Datapack can execute any command on starting a world
The default way of the world counting as "started" is, when a player picks up any wooden log.
Once all players have done so, the commands get executed and you're ready to play!
Usage
This pack is intended to use for modpacks or other projects where a special setup has to be done before being able to properly play.
All commands which you want to have executed have to be written in the "setup.mcfunction" under data/world_start/functions. (Copy the file onto desktop, edit it, replace old one)
Why two versions
I've decided to make two seperate versions of this pack. One, which is very simple and easy to use and another, fancier version. The fancy version keeps track of who has already "started" and once all players did, it will count down and then "start" the world. The two function identically, it's just for personal preferrence if you like it simple or fancy.
How to customize
You will have to edit the pack/mod to write the commands into it. Here is a detailed step by step guide for this:
Mod version:
- Rename the mod file from .jar to .zip.
- Follow instructions for datapack version.
- Once you're done, rename it back to .jar
Datapack version:
- Open the .zip file and find the "setup.mcfunction" under data/world_start/functions .
- Copy the file onto your desktop (out of the .zip archive).
- Open the file with any text editor.
- You should find the command "say setup complete". This is the default example command.
- For the fancy version, it has two more commands, which just clear a few displays. (Do not remove)
- Delete the default command and add the commands you need to the file. Don't include the slash. Command execution order is the top command first and bottom one last. All happen at the same time though.
- Once all commands are written down, save it and place it back in the .zip folder. It will ask to if you wish to replace the old file which you do.
- The pack is done! Now you just have to load it into Minecraft and you're ready to go!
- If the world is already running, you will have to do /reload to apply the changes to the game.
Setting a different start
The way of detecting if a player has started to play is by an invisible advancement. It detects if the player has obtained any wooden log and gives a function if they have. This is of course also customizable. I recommend reading the wiki page about advancement triggers if you want to change the way the world starts. Just replace the "world_start" advancement in the pack.
Other
Of course you can use this in your modpack. Feel free to edit this to your liking and include it. I just dont want you to publish this exact version with one tiny change and claim it as your own.
The datapack is marked as incompatible for some versions, but it should still work fine.
Available Versions
How to Install World Start Commands on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (1.20.6).
Install Mod
Open the mod browser in the dashboard and search for "World Start Commands". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.6, 1.20.5, 1.20.4 (+31 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
World Start Commands server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.
Is World Start Commands compatible with datapack and fabric and forge and neoforge and quilt?
World Start Commands officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.20.6, 1.20.5, 1.20.4. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with World Start Commands – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if World Start Commands consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install World Start Commands with just one click on your server.