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

DestroyWriter

What onEntityDestroy hands a plugin’s hook, open while the hook runs: findAuthority(writer, entity) takes it for another entity the hook writes, and spawnLocal for one only this world holds. Each authority it gives reaches one entity and ends with the hook. On a world that decides outcomes it reaches every entity; on a page, only the entities the page holds alone; inside a player’s join, none, since a refused join could not take the write back.

Property Modifier Type Description
[destroyWriterBrand] readonly true -
world readonly World The world the destroy runs on, to read.