bs_ui
HUD, notifications and shared NUI shell.
Generated from the Lua sources in resources/[beyond]/bs_ui/. 54 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_ui:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
ApplyFilter | client | client/cl_filter.lua:127 | |
ApplyHudSettings | client | client/cl_hud.lua:63 | |
Close | client | client/cl_nui.lua:84 | |
CloseFieldMap | client | client/cl_fieldmap.lua:154 | |
FilterPresets | client | client/cl_filter.lua:119 | The list the pickers are built from (Settings and the cinematic camera). |
GetHudSettings | client | client/cl_hud.lua:64 | |
GetPartyHudPref | client | client/cl_partyhud.lua:51 | |
GetUiScale | client | client/cl_uiscale.lua:32 | |
IsFieldMapOpen | client | client/cl_fieldmap.lua:155 | |
IsFocused | client | client/cl_nui.lua:86 | |
IsSoundLive | client | client/cl_sound.lua:290 | Is anything still playing under this id? |
LevelUpSequence | client | client/cl_levelup.lua:50 | |
MoveSoundAt | client | client/cl_sound.lua:280 | Move a playing sound. |
Notify | client | client/cl_notify.lua:25 | |
Open | client | client/cl_nui.lua:83 | |
OpenFieldMap | client | client/cl_fieldmap.lua:153 | |
PlaySound2D | client | client/cl_sound.lua:295 | Non-positional sound (menus, notifications, hitmarkers, level-up sting). |
PlaySoundAt | client | client/cl_sound.lua:275 | |
ResetMinimapRect | client | client/cl_hud.lua:171 | |
RestoreFilter | client | client/cl_filter.lua:130 | Restore the saved gameplay look after a menu camera releases its own grade. |
Send | client | client/cl_nui.lua:85 | |
SetBigmap | client | client/cl_hud.lua:113 | |
SetMinimap | client | client/cl_hud.lua:172 | |
SetMinimapRect | client | client/cl_hud.lua:170 | |
SetPartyHudPref | client | client/cl_partyhud.lua:52 | |
SetUiScale | client | client/cl_uiscale.lua:33 | |
SkillLevelSequence | client | client/cl_levelup.lua:51 | |
StopSoundTag | client | client/cl_sound.lua:287 | Stop with a fade. fadeMs is optional; nil uses the short default. |
SuspendFilter | client | client/cl_filter.lua:153 | Suspend, for anything that owns the screen briefly (death fade, cutscene, character select). |
Notify | server | server/sv_main.lua:16 | |
NotifyAll | server | server/sv_main.lua:17 |
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, ...).
None.
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:factions:sync | client | net | client/cl_partyhud.lua:66 | |
bs:hook:player:levelUp | client | local | client/cl_hud.lua:348 | |
bs:hook:player:loaded | client | local | client/cl_hud.lua:309 | |
bs:hook:player:money | client | local | client/cl_notify.lua:36 | |
bs:hook:player:spawned | client | local | client/cl_notify.lua:49 | |
bs:hook:player:unloaded | client | local | client/cl_fieldmap.lua:136 | |
bs:hook:player:xp | client | local | client/cl_hud.lua:324 | XP popup: the moment the player sees the reward land. |
bs:squad:sync | client | net | client/cl_partyhud.lua:65 | |
bs:ui:announce | client | net | client/cl_announce.lua:3 | |
bs:ui:closed | client | local | client/cl_hud.lua:180 | Another panel closing must not switch the radar off while the field map owns it. |
bs:ui:levelCard | client | local | client/cl_hud.lua:330 | The card is drawn here; the sequence (card, sound, music) is owned by cl_levelup.lua via bs:ui:levelCard. |
bs:ui:opened | client | local | client/cl_fieldmap.lua:132 | Panels |
bs:ui:panic | client | local | client/cl_hud.lua:216 | |
bs:ui:settingsChanged | client | local | client/cl_sound.lua:36 | Player preferences arrive after the HUD state is restored. |
onClientResourceStop | client | local | client/cl_blurguard.lua:34 | Case the watchdog misses: a resource that faded the blur in and then stopped, so its close handler never runs. |
onResourceStop | client | local | client/cl_fieldmap.lua:138 | The timecycle is engine state, not resource state, so a restart leaves the grade applied. |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/hud | client | client/cl_hud.lua:364 | |
/leveltest | client | client/cl_levelup.lua:54 | Test commands: /leveltest 12 plays the character sequence at level 12, /leveltest 4 skill plays the skill one. |
/refreshui | client | client/cl_nui.lua:72 | /refreshui - panic button for every player. |
/soundstat | client | client/cl_sound.lua:352 | /soundstat - shows what the mixer is doing. |
/soundtest | client | client/cl_sound.lua:313 | /soundtest <file> [distance] - plays a file to check it is present and audible. |
/uiscale | client | client/cl_uiscale.lua:35 | |
/unblur | client | client/cl_blurguard.lua:54 | /unblur - manual escape hatch if the watchdog misses something. |
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.