Builtin Library
README.md
PlayerSpawn
A world entity that spawns players from a prototype. It carries the fields describing how spawning happens: which prototype to instantiate, the team and role assigned to spawned players, a maxPlayers cap (0 = unbounded), the spawnPolicy (how many players spawn from this point), and the placement (where a spawned player is positioned). The entity's own transform is the spawn point when placement is at_spawn_transform. In edit mode it draws an orange silhouette outline at the spawn point and surfaces its own setup-validation messages (missing or mis-targeted prototype) on the component's error channel.
Location: src/lua/lib/components/PlayerSpawn.component