Skip to content

World Init Commands

XYAT edited this page Oct 3, 2026 · 1 revision

English | 简体中文

World Init Commands

Runs a list of commands the first time a world is loaded, for example to set game rules or the time in a modpack. Loading the world again does not run them again.

The settings are in config/kineticcore/world_init.toml:

[world_init]
enable = true
commands = ["gamerule keepInventory true", "time set day", "say World Initialized!"]
  • Each entry is one command, without / (a leading / is removed).
  • Commands run with server permission.

Clone this wiki locally