worlds.yml

This file sits alongside youer.yml, both under the youer-config/ folder.

Do I need to edit it manually?

Usually not. Every operation can be done in-game with commands:

  • /worlds setspawn — set the spawn point
  • /worlds setname — change the display name
  • /worlds addinfo — write a description
  • /worlds difficulty — adjust difficulty
  • /worlds gamemode — set the game mode

But there are scenarios where you may want to edit the file directly — for example, to manually restore a mistakenly deleted entry, batch-adjust parameters across multiple worlds, or set a world border.


Config Entries in Detail

Basic Info

yaml

name — display name The name shown in the GUI. Chinese is allowed, e.g. Main City, Skyblock Survival, to help players identify the world. Defaults to the same as the folder name.

info — description text Shown under the world name in the GUI. Write a short sentence so players know what the world is for. Defaults to -/-.

seed — world seed The seed randomly generated when the world was created. Usually no need to change unless you want a specific world regenerated with a particular seed.

environment — environment type This world's dimension type. Possible values:

ValueDescription
NORMALOverworld style
NETHERNether style
THE_ENDEnd style
CUSTOMCustom dimension

Spawn Point

yaml

The position where a player appears when teleported to this world. Set in-game with /worlds setspawn and it writes here automatically. If no spawn point is set, it defaults to coordinates 0, topmost block, 0.


Difficulty

yaml

This world's difficulty. Possible values:

ValueIn-game difficulty
PEACEFULPeaceful
EASYEasy
NORMALNormal
HARDHard

In-game, use /worlds difficulty <number>; numbers 0-3 map to the four above.


Game Mode

yaml

The game mode a player is automatically switched to upon entering this world. Only applies to non-OP players.

Possible values:

ValueMode
SURVIVALSurvival
CREATIVECreative
ADVENTUREAdventure
SPECTATORSpectator

This setting is optional; if omitted, the mode is not auto-switched and the player's own current mode is used.


Terrain Type

yaml

These two flags are set automatically when the world is created. A void world has no terrain except a small spawn platform; a super-flat world is endless flat ground.


Keep Spawn Loaded

yaml

Whether to keep the spawn-chunk always loaded (even when no one is nearby). Default true.

For normal worlds, keep the default. If the world is very large and you want to save resources, set it to false.


World Border

yaml

Players cannot go beyond this range. Unit is blocks, centered on the spawn point. For example, setting it to 10000 means players can only move within ±5000.


Whether Managed by Youer

yaml

youer — whether this world was created by Youer's world-management feature. true means it auto-loads on next startup; false means it won't. If you change a world to true, it will auto-load after restart.

ismods and modName — if the world was created by a mod, the corresponding mod ID is marked automatically. When the mod is uninstalled, these worlds' configs are cleaned up automatically, leaving no junk data. You generally don't need to manage these two fields manually.


Full Example

Below is a complete example configuring two worlds:

yaml
© 2019-2026 MohistMCUnofficial Minecraft product. Not approved by or associated with Mojang or Microsoft.