Skip to content

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.

Call with exports.bs_mining:Name(...) from the same side.

None.

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, ...).

NameDirectionWhereDescription
mining:abortclient -> serverserver/sv_main.lua:258Somebody stopped early.
mining:startclient -> serverserver/sv_main.lua:151
mining:swingclient -> serverserver/sv_main.lua:193THE 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…

“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).

NameSideTypeWhereDescription
bs:mining:workclientnetclient/cl_main.lua:114
playerDroppedserverlocalserver/sv_main.lua:264
CommandSideWhereDescription
/minednodesserverserver/sv_main.lua:275