Create Instance/World (Section) — Skript
Addon: Skript · Category: Section
Syntax
create instance [container] (and store it|stored) in %objects%Description
Creates a new instance container or a shared instance. Instances are Minestom's lightweight world equivalent. Shared instances are an ultra lightweight 'world' that share the chunk data (blocks) from its parent world. Entities are not shared.
- Entries dynamic lighting -> boolean file -> string file dimension -> string (only used if world was made after 26.1, example: minecraft:overworld) loader -> anvil/polar (Anvil is the world format that Minecraft uses and Polar was custom in-memory format made for smaller worlds by hollowcube for Minestom) dimension -> dimensiontype preload biome -> biome (fills the entire world with the provided biome) [async] preload option -> normal/strict (strict will not allow default generation of new chunks, even blank ones, as the player travels the world) preload chunk amount -> number (the radius in chunks to preload when there is no world file to read chunks from, defaults to the server's chunk view distance) generator -> section allowing custom generation of each chunk as the world loads (complex generation not recommended as it can get laggy with Skript)
Examples
create biome under "test:lobby" stored in {_b}:
sky color: rgb(111, 223, 249)
fog color: rgb(253, 252, 198)
foliage color: rgb(71, 255, 0)
water color: rgb(111, 223, 249)
create instance container stored in {-worlds::lobby}:
loader: polar
file: "worlds/lobby/lobby.polar"
preload biome: {_b}
async preload option: strict