bs_admin
staff menu.
Generated from the Lua sources in resources/[beyond]/bs_admin/. 31 entries. The description column is the comment above the line in the code, so if it’s empty nobody wrote one yet.
Exports
Section titled “Exports”Call with exports.bs_admin:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
IsGodmode | client | client/cl_main.lua:1191 | |
IsAdmin | server | server/sv_main.lua:52 | Export: is this player staff. |
IsSuperAdmin | server | server/sv_main.lua:58 |
Callbacks
Section titled “Callbacks”Server callbacks are called from a client with BSB.Await(name, timeoutMs, ...). Client callbacks are called from the server with BSB.AwaitClient(src, name, timeoutMs, ...).
| Name | Direction | Where | Description |
|---|---|---|---|
admin:action | client -> server | server/sv_main.lua:1181 | |
admin:players | client -> server | server/sv_main.lua:64 | |
admin:whoami | client -> server | server/sv_main.lua:44 |
Events
Section titled “Events”“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).
| Name | Side | Type | Where | Description |
|---|---|---|---|---|
bs_guard:detection | client | net | client/cl_main.lua:181 | live refresh of the GUARD tab when bs_guard reports a new detection |
bs:admin:freeze | client | net | client/cl_main.lua:1118 | |
bs:admin:heal | client | net | client/cl_main.lua:1141 | |
bs:admin:kill | client | net | client/cl_main.lua:1137 | |
bs:admin:prefs:apply | client | net | client/cl_main.lua:660 | Each toggle is applied by calling its own action, not by repeating the natives, so the logic stays in one place. |
bs:admin:prefs:request | server | net | server/sv_prefs.lua:110 | Requested by the client once it has loaded and knows it is staff. |
bs:admin:prefs:save | server | net | server/sv_prefs.lua:86 | Sent by the client on every toggle change. |
bs:admin:teleportTo | client | net | client/cl_main.lua:1099 | |
bs:admin:tpCoords | client | net | client/cl_main.lua:1062 | |
bs:admin:vehiclesDeleted | client | net | client/cl_main.lua:1106 | Broadcast so /dv (and the menu’s delete) removes the car for everyone watching. |
bs:hook:player:died | client | local | client/cl_zspectate.lua:232 | A staff member who dies while spectating still needs their body back. |
bs:hook:player:spawned | client | local | client/cl_main.lua:704 | |
bs:hook:player:unloaded | client | local | client/cl_main.lua:1174 | |
bs:ui:opened | client | local | client/cl_main.lua:1161 | One menu at a time, see the note in bs_inventory. |
bs:ui:panic | client | local | client/cl_main.lua:1167 | /refreshui hard reset, see bs_inventory. |
onResourceStop | client | local | client/cl_main.lua:1153 | The menu must never survive into a state where the player can’t close it. |
playerDropped | server | local | server/sv_prefs.lua:132 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/ammo | client | client/cl_main.lua:1195 | /ammo - same action as the menu button, for topping up mid-test with the menu closed. |
/car | client | client/cl_main.lua:840 | |
/devcar | client | client/cl_main.lua:871 | /devcar <model> - spawns a car like the world would: its own generated plate and DB row, no key in your pocket. |
/dv | client | client/cl_main.lua:926 | /dv [radius]. The server does the deleting (owned cars are stored, not lost; see deleteVehicles). |
/heal | client | client/cl_main.lua:953 | |
/prefsdebug | server | server/sv_prefs.lua:148 | /prefsdebug checks the five things a toggle needs to survive a relog: table exists, identifier resolved, staff check passes, row exists, client asked and applied it. |
/zforce | client | client/cl_zspectate.lua:252 | Force-spawn is also a command, so it can be repeated without the menu closing. |
/zspectate | client | client/cl_zspectate.lua:237 |
Files not loaded
Section titled “Files not loaded”These Lua files are on disk but no pattern in fxmanifest.lua loads them (or they are only pulled in with @bs_admin/... by another resource). Anything listed from them above is not live in this resource.
client/cl_mapteleports.lua
bs19.org · Privacy · Terms · Cookie settings
Cookies and outside content
The site only needs two essential cookies to keep you logged in and protect forms. Videos and streams from YouTube and Twitch load from their servers, which can set their own cookies, so they stay off until you say yes. Nothing is pre-ticked and you can change your mind any time with "Cookie settings" at the bottom of every page. Details.
Questions about the server, the framework or the site? A real person reads this, usually within a day.