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

registerHealth

registerHealth(world, settings): Disposer

Sets health’s regeneration, the seconds it waits after each hit, its colour and its label on world, as a game’s plugin does in its setup. Left unset, health never regenerates. The return puts back the engine’s while these are still the ones registered.

Parameter Type
world World
settings HealthSettings

Disposer