Denizen Script Commands


Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
Learn about how commands work in The Beginner's Guide.


Showing 1 out of 184 commands...
NameCreateWorld
Syntaxcreateworld [<name>] (generator:<id>) (worldtype:<type>) (environment:<environment>) (copy_from:<world>) (seed:<seed>) (settings:<json>) (generate_structures:true/false)
Short DescriptionCreates a new world, or loads an existing world.
Full DescriptionThis command creates a new minecraft world with the specified name, or loads an existing world by that name.

Optionally specify a plugin-based world generator by its generator ID.
If you want an empty void world with a void biome, you can use "denizen:void".
If you want an empty void world with vanilla biomes, you can use "denizen:void_biomes".

Optionally specify additional generator settings as JSON input.

Optionally specify a world type which can be specified with 'worldtype:' (defaults to NORMAL).
For all world types, see: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/WorldType.html

Optionally specify an environment (defaults to NORMAL, can also be NETHER, THE_END).

Optionally choose whether to generate structures in this world.

Optionally specify an existing world to copy files from.
The 'copy_from' argument is ~waitable. Refer to Language:~waitable.

It's often ideal to put this command inside Event:server prestart.
Related Tags<server.world_types> Returns a list of all world types known to the server. (...)
<server.worlds> Returns a list of all worlds.
Usage Example
# Use to create a normal world with name 'survival'
- createworld survival
Usage Example
# Use to create a flat world with the name 'superflat'
- createworld superflat worldtype:FLAT
Usage Example
# Use to create an end world with the name 'space'
- createworld space environment:THE_END
Usage Example
# Use to create a new world named 'dungeon3' as a copy of an existing world named 'dungeon_template'.
- ~createworld dungeon3 copy_from:dungeon_template
Synonyms (Search Aid)loadworld
Groupworld
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/CreateWorldCommand.java#L35