World Start Commands

Quick rating

World Start Commands

No reviews yet

Execute commands when starting to play! Multiplayer friendly and fully customizable

Mod Loaders
Datapack
Forge
NeoForge
Fabric
Quilt
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Optional
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
Fancy_V1+mod
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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:

  1. Rename the mod file from .jar to .zip.
  2. Follow instructions for datapack version.
  3. Once you're done, rename it back to .jar

Datapack version:

  1. Open the .zip file and find the "setup.mcfunction" under data/world_start/functions .
  2. Copy the file onto your desktop (out of the .zip archive).
  3. Open the file with any text editor.
  4. You should find the command "say setup complete". This is the default example command.
  5. For the fancy version, it has two more commands, which just clear a few displays. (Do not remove)
  6. 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.
  7. 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.
  8. The pack is done! Now you just have to load it into Minecraft and you're ready to go!
  9. 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.

Screenshots

Gallery

  • Pack Icon
    Pack Icon
  • Example commands
    Example commands keep commands in this format. No slash before the command!!

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works