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

resources

const resources: PluginFactory<[ResourcesOptions & object], PluginMade<readonly [SystemDefinition<"rules", true, Both, "regenerate">], Readonly<Record<never, never>>, Readonly<Record<never, never>>, never, Readonly<Record<never, never>>, Readonly<Record<never, never>>, { amounts: SaveDeclaration<ZodMiniObject<{ amounts: ZodMiniRecord<ZodMiniString<string>, ZodMiniNumber<number>>; }, $strip>, readonly ["entity", "player"], readonly [SaveHandle<"player" | "entity">]>; }>>

The resources: health’s regeneration, and each resource a game defines, such as mana, rage or stamina.