bs_mining
gathering: mining rock and felling timber, loudly.
Generated from the Lua sources in resources/[beyond]/bs_mining/. 6 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_mining:Name(...) from the same side.
None.
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 |
|---|---|---|---|
mining:abort | client -> server | server/sv_main.lua:258 | Somebody stopped early. |
mining:start | client -> server | server/sv_main.lua:151 | |
mining:swing | client -> server | server/sv_main.lua:193 | THE SWING LANDS. Separated from the start so the items are handed over at the END of the animation, not the beginning: a player who is killed, downed or disconnected mid-swing… |
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:mining:work | client | net | client/cl_main.lua:114 | |
playerDropped | server | local | server/sv_main.lua:264 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/minednodes | server | server/sv_main.lua:275 |
bs19.org · Privacy · Terms · Cookie settings