Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

isWorldSaveKept

isWorldSaveKept(world, save): boolean

Whether world’s game keeps save in a world’s record: a plugin’s save of the world’s scope by its handle, or a worldSaves entry by the trait its each keeps. Kept in a game played alone, which keeps the player’s one world, or one whose rooms hold worlds, unless an override or the game’s saves: false turns it off. What a plugin whose state spans two saves checks as the world is made, so the two are on together or not at all, as carrying() checks its custody beside its stores.

Parameter Type
world World
save Trait | SaveHandle<"player" | "world" | "entity">

boolean