Skip to content

bs_stash

buried stashes: a cache only the person who dug it knows about.

Generated from the Lua sources in resources/[beyond]/bs_stash/. 15 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_stash: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
stash:buryclient -> serverserver/sv_main.lua:110
stash:fillclient -> serverserver/sv_main.lua:250Filling the hole in: only when empty and only by the owner.
stash:mineclient -> serverserver/sv_main.lua:161Everything this character buried.
stash:openclient -> serverserver/sv_main.lua:223
stash:probeclient -> serverserver/sv_main.lua:197
stash:renameclient -> serverserver/sv_main.lua:175VIP convenience (bs_vip ‘stashName’): rename your own stash without digging it up.

“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:hook:player:spawnedclientlocalclient/cl_main.lua:383
bs:stash:fillclientnetclient/cl_main.lua:296
bs:stash:openclientnetclient/cl_main.lua:274
bs:stash:refreshclientlocalclient/cl_main.lua:219bs_vip renamed a stash: pull the new names.
onResourceStopclientlocalclient/cl_main.lua:391
playerDroppedserverlocalserver/sv_main.lua:274
CommandSideWhereDescription
/buryclientclient/cl_main.lua:323
/mystashesclientclient/cl_main.lua:355
/stashesserverserver/sv_main.lua:280