Skip to content

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:

Terminal window
npm run gen:api
# or
node scripts/gen-api.mjs "../resources/[beyond]"
ResourceWhat it isExportsCallbacksEventsCommands
bs_adminstaff menu33178
bs_assetsstreamed assets (models, textures, audio)0000
bs_atlasthe Node Atlas: a live, zoomable map of the zombie simulation0130
bs_bodilyInfrequent bodily needs and the N-key needs wheel0231
bs_boosterssingle-use personal buffs (3 slots, PvE only)7080
bs_buildingfaction bases: pieces, code locks, utilities, raids and decay1926284
bs_chatthe chat, replacing the stock one60113
bs_cinecamcinematic free camera and recording tools0133
bs_configF1 admin configuration console - live tunables, profiles, audit log5073
bs_corestandalone RPG / zombie survival framework core5453412
bs_craftingcrafting queues, stations, cooking, gathering, farming and traps819220
bs_drugsdrugs, cigarettes, addiction and withdrawal2090
bs_economyvendors, loot tables and gathering2140
bs_emotessurvivor actions, emotes and clothing2301016
bs_esx_bridgeCompatibility shim - lets ESX-authored scripts run against BeyondSurvival1070
bs_eventsscheduled world events: airdrops, supply stashes, convoys, horde waves02101
bs_extractionPVP City Zone: raid zones, extraction points, rogue/bounty5161
bs_faction_basesFaction flags, bases, permissions, reclaiming and storage151690
bs_factionsBeyondSurvival faction service45601911
bs_gadgetsdeployable gadgets (2 slots): drone, turret, medic beacon, decoy, riot shield70310
bs_gatesmap gates you push open by hand, driven by the native door system0081
bs_guardanti-cheat DETECTION layer (log + alert staff only, never kicks/bans)63151
bs_interactionsdot targeting, world interactions, searchable containers12341
bs_inventorygrid inventory, containers, crafting and settings5521362
bs_jobsfaction jobs: job board, contracts, mechanic garage, gunsmith, hunting, fishing, rebels339302
bs_loadingloading screen0000
bs_medicalgoing down, bleeding out, injuries, infection and treatment1420401
bs_menuthe pause-style hub: inventory, stats, skills, settings3161
bs_mininggathering: mining rock and felling timber, loudly0321
bs_multicharcharacter select and creator with a live 3D preview1341
bs_radialthe radial menu every other resource opens6030
bs_recyclerfuel-driven recyclers at fixed spots, hand dismantle yields6360
bs_scenesnotes survivors leave on the world3346
bs_scoreboardwho is here, and who has done the most1122
bs_skillsskill trees, perks and the effects they actually apply20482
bs_stashburied stashes: a cache only the person who dug it knows about0663
bs_testertester menu (F4). Self-only test tools for granted testers and staff.315120
bs_tradersSCUM-style NPC traders and mission givers320184
bs_uiHUD, notifications and shared NUI shell310167
bs_vehiclesvehicles that belong to somebody, wear out, and carry things3526318
bs_vipVIP: three cosmetic tiers. No gameplay advantage.33293
bs_weaponsweapon attachments as real items, on a wheel195155
bs_worlddead world: no traffic, no pedestrians, custom blackout11371
bs_zombiepedsstreamed zombie ped models0000
bs_zombiesserver-synced walkers: one list, one health pool, hosted AI, individual-zombie simulation5096440
bs_zombiesfxzombie vocal audio (replaces vanilla ped pain waves)0000
nodesthe sector map, served as a web panel0002