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

requireAuthority

requireAuthority(world): Authority

world’s authority, for code outside a step: a room’s handler between steps, a test, a game played alone. Throws on a page in a room, which decides nothing: a page’s code that branches asks isAuthoritative first. A system takes its step’s authority instead.

Parameter Type
world World

Authority