bs_chat
the chat, replacing the stock one.
Generated from the Lua sources in resources/[beyond]/bs_chat/. 20 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_chat:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
ApplyDisplaySettings | client | client/cl_main.lua:275 | |
GetDisplaySettings | client | client/cl_main.lua:271 | Published for the U-menu Settings page. |
GetVipStyles | client | client/cl_main.lua:94 | |
IsOpen | client | client/cl_main.lua:299 | |
SetVipStyles | client | client/cl_main.lua:95 | |
Send | server | server/sv_main.lua:99 | Server-side way for other resources to post a chat message without hand-writing the TriggerClientEvent payload. |
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:chat:say | server | net | server/sv_main.lua:58 | |
bs:hook:player:unloaded | client | local | client/cl_main.lua:195 | |
bs:ui:closed | client | local | client/cl_main.lua:82 | |
bs:ui:opened | client | local | client/cl_main.lua:75 | |
chat:addMessage | client | net | client/cl_main.lua:132 | RegisterNetEvent(name, handler) already registers the handler, so adding AddEventHandler(name, handler) runs it twice (duplicate messages). |
chat:addSuggestion | client | net | client/cl_main.lua:164 | |
chat:addTemplate | client | net | client/cl_main.lua:178 | Accepted and ignored (see addMessage). |
chat:clear | client | net | client/cl_main.lua:135 | |
chat:removeSuggestion | client | net | client/cl_main.lua:174 | |
onResourceStop | client | local | client/cl_main.lua:190 | Always release NUI focus on resource stop; a stuck focus leaves the player unable to move or look. |
playerDropped | server | local | server/sv_main.lua:94 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/bs_chat_open | client | client/cl_main.lua:57 | T via RegisterKeyMapping, rebindable in the pause menu. |
/chat | client | client/cl_main.lua:243 | |
/vipchat | client | client/cl_main.lua:100 |
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.