Parameters
Return value
Notes
options fields:
id(string, optional): Unique ID for the stash. If not provided, one will be autogeneratedlabel(string, required): Display name for the stashcoords(vector3 | table, optional): Location where the stash can be accessed via interaction pointmaxWeight(number, optional): Maximum weight capacity. Default: 100maxSlots(number, optional): Maximum number of slots. Default: 100radius(number, optional): Distance from which players can access the stash. Default: 3.0isPrivate(boolean, optional): If true, creates a separate inventory for each player. Default: falseallowedJobs(table, optional): Table of job names that can access the stash. If nil, stash is publictemporary(boolean, optional): If true, stash won’t be saved to database and lost on script restart. Default: falsestartingItems(table, optional): Items to add when the stash is first created. Format:{{itemName, amount, metadata}, ...}runtimeOnly(boolean, optional): If true (default), stash can only be opened programmatically. If false and coords are provided, creates client-side interaction points. Default: true
