bs_vip
VIP: three cosmetic tiers. No gameplay advantage..
Generated from the Lua sources in resources/[beyond]/bs_vip/. 45 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_vip:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
AllowedColours | client | client/cl_main.lua:57 | |
BoosterSkin | client | client/cl_main.lua:41 | Chosen booster skin (‘drone’|‘turret’) as its config row, or nil. |
ClosePanel | client | client/cl_main.lua:248 | |
Current | client | client/cl_main.lua:22 | |
GetTier | client | client/cl_main.lua:24 | |
HasPerk | client | client/cl_main.lua:26 | |
IsVIP | client | client/cl_main.lua:23 | |
OpenPanel | client | client/cl_main.lua:247 | |
PerkValue | client | client/cl_main.lua:27 | |
Pref | client | client/cl_main.lua:34 | Saved choice if the perk is active, else nil. |
StashSkinModel | client | client/cl_main.lua:51 | Chosen stash marker model, or nil. |
Status | client | client/cl_main.lua:58 | |
TierLevel | client | client/cl_main.lua:25 | |
CanChangeAppearance | server | server/sv_main.lua:437 | |
ChatStyle | server | server/sv_main.lua:389 | For bs_chat. nil = draw as a normal player. |
ConsumeAppearanceChange | server | server/sv_main.lua:440 | Spends the change. Call only after the new look was accepted. |
ExtraCharacterSlotsFor | server | server/sv_main.lua:404 | bs_core asks this at character select, before anything is loaded. |
GetCosmetic | server | server/sv_main.lua:374 | Stored cosmetic choice for hooks that are not drawn yet (kill feed, death screen, banner). |
GetPrefs | server | server/sv_main.lua:367 | |
GetTier | server | server/sv_main.lua:354 | |
GetTierInfo | server | server/sv_main.lua:379 | |
GetTitle | server | server/sv_main.lua:459 | |
GrantAppearanceTicket | server | server/sv_main.lua:347 | |
GrantVIP | server | server/sv_main.lua:324 | |
HasPerk | server | server/sv_main.lua:356 | |
HasUnlock | server | server/sv_main.lua:472 | |
IsVIP | server | server/sv_main.lua:353 | |
ListUnlocks | server | server/sv_main.lua:477 | |
PerkValue | server | server/sv_main.lua:359 | A number from the perk’s config (bonus, pct…) if the player has it, else default. |
RevokeVIP | server | server/sv_main.lua:326 | |
TierLevel | server | server/sv_main.lua:355 | |
ValidatePlateText | server | server/sv_main.lua:425 |
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 |
|---|---|---|---|
vip:setPref | client -> server | server/sv_main.lua:509 | |
vip:status | client -> server | server/sv_main.lua:489 |
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:hook:player:loaded | server | local | server/sv_main.lua:224 | |
bs:hook:player:unloaded | client | local | client/cl_main.lua:238 | |
bs:hook:player:unloaded | server | local | server/sv_main.lua:247 | |
bs:ui:opened | client | local | client/cl_main.lua:236 | |
bs:ui:requestClose | client | local | client/cl_main.lua:237 | |
bs:vip:sync | client | net | client/cl_main.lua:8 | |
onResourceStop | client | local | client/cl_main.lua:242 | |
playerDropped | server | local | server/sv_main.lua:256 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/grantappearance | server | server/sv_main.lua:578 | /grantappearance <id> [count] - staff gift, works for anyone. |
/grantvip | server | server/sv_main.lua:559 | /grantvip <id|license:…> <tier name or 1-3> [days] |
/revokevip | server | server/sv_main.lua:569 |
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_vip/... by another resource). Anything listed from them above is not live in this resource.
client/cl_options.lua
bs19.org · Privacy · Terms · Cookie settings