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:237Somebody stopped early.
mining:startclient -> serverserver/sv_main.lua:137
mining:swingclient -> serverserver/sv_main.lua:171The swing lands. Items are handed over at the end of the animation, so a player killed, downed or disconnected mid-swing gets nothing.

“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:87
playerDroppedserverlocalserver/sv_main.lua:243
CommandSideWhereDescription
/minednodesserverserver/sv_main.lua:254