API reference
These pages are made by scripts/gen-api.mjs reading the Lua files, not written by hand. If something is missing here its not registered with a plain string name (or it lives in a file the scanner skips).
Run it again after changing code:
npm run gen:api# ornode scripts/gen-api.mjs "../resources/[beyond]"| Resource | What it is | Exports | Callbacks | Events | Commands |
|---|---|---|---|---|---|
| bs_admin | staff menu | 3 | 3 | 14 | 8 |
| bs_assets | streamed assets (models, textures, audio) | 0 | 0 | 0 | 0 |
| bs_atlas | the Node Atlas: a live, zoomable map of the zombie simulation | 0 | 1 | 3 | 0 |
| bs_bodily | Infrequent bodily needs and the N-key needs wheel | 0 | 2 | 3 | 1 |
| bs_boosters | single-use personal buffs (3 slots, PvE only) | 7 | 0 | 8 | 0 |
| bs_building | barricades, campfires, workbenches and somewhere to wake up | 8 | 8 | 12 | 1 |
| bs_chat | the chat, replacing the stock one | 6 | 0 | 11 | 3 |
| bs_cinecam | cinematic free camera and recording tools | 0 | 1 | 3 | 3 |
| bs_config | F1 admin configuration console - live tunables, profiles, audit log | 5 | 0 | 7 | 3 |
| bs_core | standalone RPG / zombie survival framework core | 53 | 5 | 31 | 13 |
| bs_drugs | drugs, cigarettes, addiction and withdrawal | 2 | 0 | 9 | 0 |
| bs_economy | vendors, loot tables and gathering | 2 | 1 | 4 | 0 |
| bs_emotes | survivor actions, emotes and clothing | 23 | 0 | 10 | 16 |
| bs_esx_bridge | Compatibility shim - lets ESX-authored scripts run against BeyondSurvival | 1 | 0 | 7 | 0 |
| bs_events | scheduled world events: airdrops, supply stashes, convoys, horde waves | 0 | 2 | 10 | 1 |
| bs_extraction | PVP City Zone: raid zones, extraction points, rogue/bounty | 5 | 1 | 6 | 1 |
| bs_faction_bases | Faction flags, bases, permissions, reclaiming and storage | 13 | 15 | 8 | 2 |
| bs_factions | BeyondSurvival faction service | 42 | 52 | 19 | 12 |
| bs_gadgets | deployable gadgets (2 slots): drone, turret, medic beacon, decoy, riot shield | 7 | 0 | 31 | 0 |
| bs_guard | anti-cheat DETECTION layer (log + alert staff only, never kicks/bans) | 6 | 3 | 15 | 1 |
| bs_interactions | dot targeting, world interactions, searchable containers | 12 | 3 | 4 | 1 |
| bs_inventory | grid inventory, containers, crafting and settings | 43 | 23 | 35 | 2 |
| bs_loading | loading screen | 0 | 0 | 0 | 0 |
| bs_medical | going down instead of dying, bleeding out, and being picked up | 8 | 15 | 26 | 1 |
| bs_menu | the pause-style hub: inventory, stats, skills, settings | 3 | 1 | 6 | 1 |
| bs_mining | gathering: mining rock and felling timber, loudly | 0 | 3 | 2 | 1 |
| bs_multichar | character select and creator with a live 3D preview | 1 | 3 | 4 | 1 |
| bs_radial | the radial menu every other resource opens | 6 | 0 | 3 | 0 |
| bs_recycler | Rust-style recyclers: feed a machine loot, get materials back | 0 | 4 | 6 | 1 |
| bs_scenes | notes survivors leave on the world | 3 | 3 | 4 | 6 |
| bs_scoreboard | who is here, and who has done the most | 1 | 1 | 2 | 2 |
| bs_skills | skill trees, perks and the effects they actually apply | 19 | 4 | 8 | 2 |
| bs_stash | buried stashes: a cache only the person who dug it knows about | 0 | 6 | 6 | 3 |
| bs_traders | SCUM-style NPC traders and mission givers | 1 | 20 | 17 | 4 |
| bs_ui | HUD, notifications and shared NUI shell | 31 | 0 | 15 | 7 |
| bs_vehicles | vehicles that belong to somebody, wear out, and carry things | 21 | 24 | 23 | 6 |
| bs_vip | VIP: three cosmetic tiers. No gameplay advantage. | 32 | 2 | 8 | 3 |
| bs_weapons | weapon attachments as real items, on a wheel | 18 | 4 | 13 | 5 |
| bs_world | dead world: no traffic, no pedestrians, custom blackout | 9 | 3 | 7 | 1 |
| bs_zombiepeds | streamed zombie ped models | 0 | 0 | 0 | 0 |
| bs_zombies | server-synced walkers: one list, one health pool, hosted AI, individual-zombie simulation | 45 | 9 | 55 | 36 |
| bs_zombiesfx | zombie vocal audio (replaces vanilla ped pain waves) | 0 | 0 | 0 | 0 |
| nodes | the sector map, served as a web panel | 0 | 0 | 0 | 2 |
bs19.org · Privacy · Terms · Cookie settings