bs_vip
VIP: three cosmetic tiers. No gameplay advantage..
Generated from the Lua sources in resources/[beyond]/bs_vip/. 47 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:53 | |
BoosterSkin | client | client/cl_main.lua:37 | Chosen booster skin (‘drone’|‘turret’) as its config row, or nil. |
ClosePanel | client | client/cl_main.lua:242 | |
Current | client | client/cl_main.lua:18 | |
GetTier | client | client/cl_main.lua:20 | |
HasPerk | client | client/cl_main.lua:22 | |
IsVIP | client | client/cl_main.lua:19 | |
OpenPanel | client | client/cl_main.lua:241 | |
PerkValue | client | client/cl_main.lua:23 | |
Pref | client | client/cl_main.lua:30 | Saved choice if the perk is active, else nil. |
StashSkinModel | client | client/cl_main.lua:47 | Chosen stash marker model, or nil. |
Status | client | client/cl_main.lua:54 | |
TierLevel | client | client/cl_main.lua:21 | |
CanChangeAppearance | server | server/sv_main.lua:432 | |
ChatStyle | server | server/sv_main.lua:383 | For bs_chat. nil = draw as a normal player. |
ConsumeAppearanceChange | server | server/sv_main.lua:435 | Spends the change. Call only after the new look was accepted. |
Enabled | server | server/sv_main.lua:594 | |
ExtraCharacterSlotsFor | server | server/sv_main.lua:398 | bs_core asks this at character select, before anything is loaded. |
GetCosmetic | server | server/sv_main.lua:368 | Stored cosmetic choice for hooks not drawn yet (kill feed, death screen, banner). |
GetPrefs | server | server/sv_main.lua:362 | |
GetTier | server | server/sv_main.lua:349 | |
GetTierInfo | server | server/sv_main.lua:373 | |
GetTitle | server | server/sv_main.lua:454 | |
GrantAppearanceTicket | server | server/sv_main.lua:342 | |
GrantVIP | server | server/sv_main.lua:319 | |
HasPerk | server | server/sv_main.lua:351 | |
HasUnlock | server | server/sv_main.lua:467 | |
IsVIP | server | server/sv_main.lua:348 | |
ListUnlocks | server | server/sv_main.lua:472 | |
PerkValue | server | server/sv_main.lua:354 | A number from the perk’s config (bonus, pct…) if the player has it, else default. |
RevokeVIP | server | server/sv_main.lua:321 | |
TierLevel | server | server/sv_main.lua:350 | |
ValidatePlateText | server | server/sv_main.lua:420 |
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:505 | |
vip:status | client -> server | server/sv_main.lua:484 |
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_config:changed:bs_vip | server | local | server/sv_main.lua:587 | |
bs:hook:player:loaded | server | local | server/sv_main.lua:219 | |
bs:hook:player:unloaded | client | local | client/cl_main.lua:232 | |
bs:hook:player:unloaded | server | local | server/sv_main.lua:242 | |
bs:ui:opened | client | local | client/cl_main.lua:230 | |
bs:ui:requestClose | client | local | client/cl_main.lua:231 | |
bs:vip:sync | client | net | client/cl_main.lua:6 | |
onResourceStop | client | local | client/cl_main.lua:236 | |
playerDropped | server | local | server/sv_main.lua:251 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/grantappearance | server | server/sv_main.lua:574 | /grantappearance <id> [count] - staff gift, works for anyone. |
/grantvip | server | server/sv_main.lua:555 | /grantvip <id|license:…> <tier name or 1-3> [days] |
/revokevip | server | server/sv_main.lua:565 |
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
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.