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:131
stash:fillclient -> serverserver/sv_main.lua:293FILLING THE HOLE IN. Only when it is empty, and only by its owner.
stash:mineclient -> serverserver/sv_main.lua:184Everything THIS character buried.
stash:openclient -> serverserver/sv_main.lua:257
stash:probeclient -> serverserver/sv_main.lua:229
stash:renameclient -> serverserver/sv_main.lua:199VIP convenience (bs_vip ‘stashName’): rename one of your own stashes 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:425
bs:stash:fillclientnetclient/cl_main.lua:332
bs:stash:openclientnetclient/cl_main.lua:309
bs:stash:refreshclientlocalclient/cl_main.lua:245bs_vip renamed a stash: pull the new names.
onResourceStopclientlocalclient/cl_main.lua:433
playerDroppedserverlocalserver/sv_main.lua:317
CommandSideWhereDescription
/buryclientclient/cl_main.lua:365
/mystashesclientclient/cl_main.lua:397
/stashesserverserver/sv_main.lua:323