bs_skills
skill trees, perks and the effects they actually apply.
Generated from the Lua sources in resources/[beyond]/bs_skills/. 34 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_skills:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
GetEffects | client | client/cl_main.lua:82 | Every modifier currently applying, as a flat table, for panels that list all effects. |
GetLevels | client | client/cl_main.lua:70 | |
GetSkillLevel | client | client/cl_main.lua:66 | |
GetTrees | client | client/cl_main.lua:73 | Tree definitions for UIs to draw. |
HasFlag | client | client/cl_main.lua:105 | Named capabilities: ‘executioner’, ‘break_fall’. |
HasPerk | client | client/cl_main.lua:60 | |
IsDodging | client | client/cl_dodge.lua:687 | For bs_zombies’ claw: a dodge in progress beats a grab. |
NeedMultiplier | client | client/cl_main.lua:92 | 1.0 = normal drain. bs_core’s needs tick multiplies by this. |
StealthMultiplier | client | client/cl_main.lua:100 | 1.0 = seen at the normal distance. |
AddSkillXP | server | server/sv_main.lua:194 | |
ForceRespec | server | server/sv_main.lua:475 | Wipes every perk and refunds points even when there is nothing to undo, so staff can reset a test character. |
GetSkillLevel | server | server/sv_main.lua:200 | |
GetSkills | server | server/sv_main.lua:271 | |
GrantPerk | server | server/sv_main.lua:444 | |
HasPerk | server | server/sv_main.lua:206 | |
LootBonus | server | server/sv_main.lua:220 | Extra loot draws, read by bs_interactions and bs_zombies. |
PerkCatalogue | server | server/sv_main.lua:497 | Every perk that exists, for the staff menu’s list. |
RevokePerk | server | server/sv_main.lua:461 | |
RewardMultiplier | server | server/sv_main.lua:274 | bs_core asks this before paying out any action. |
SetSkillLevel | server | server/sv_main.lua:426 |
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 |
|---|---|---|---|
skills:list | client -> server | server/sv_main.lua:382 | |
skills:respec | client -> server | server/sv_main.lua:393 | Respec: wipes perks and refunds points. |
skills:train | client -> server | server/sv_main.lua:351 | Spend a point on training instead of a perk, so an unspent point is useful at level 1 when every perk is still locked. |
skills:unlock | client -> server | server/sv_main.lua:305 | Reserve the unlock synchronously with a per-entry pendingUnlock marker before the yielding SpendSkillPoints call, so a double-click or back-to-back request cannot pay twice. |
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:112 | |
bs:hook:player:spawned | client | local | client/cl_dodge.lua:674 | Damage modifiers are reset by the engine on respawn, so re-apply. |
bs:hook:player:unloaded | server | local | server/sv_main.lua:121 | |
bs:skills:levelUp | client | net | client/cl_main.lua:24 | Level-up sound goes through bs_ui’s WebAudio player (own cue in bs_ui/html/sound), not a GTA native sting. |
bs:skills:sync | client | net | client/cl_main.lua:32 | |
bs:ui:panic | client | local | client/cl_dodge.lua:675 | |
onResourceStop | client | local | client/cl_dodge.lua:677 | |
playerDropped | server | local | server/sv_main.lua:126 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/skilltest | client | client/cl_skilldebug.lua:185 | |
/skillxp | server | server/sv_main.lua:519 |
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.