> For the complete documentation index, see [llms.txt](https://hrscripts.gitbook.io/hrscripts-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hrscripts.gitbook.io/hrscripts-documentation/resources/hrstorages/callbacks.md).

# Callbacks

HRLib Callbacks that provide several

### getAllStorages

returns an array with all the created storages in the server

<pre class="language-lua"><code class="lang-lua"><strong>local storages = HRLib.Callback('HRStorages:getAllStorages') -- Server Side
</strong><strong>local storages = HRLib.ServerCallback('HRStorages:getAllStorage') -- Client Side
</strong><strong>
</strong><strong>--[[ Result format:
</strong><strong>{
</strong><strong>    {
</strong><strong>        stashId = 'storages_0123534234',
</strong><strong>        owner = 'license:0000',
</strong><strong>        owner_name = 'James',
</strong><strong>        creation_date = '05/05/2005 | 13:25',
</strong><strong>        position = {
</strong><strong>            x = 0.0,
</strong><strong>            y = 0.0,
</strong><strong>            z = 0.0,
</strong><strong>            w = 0.0
</strong><strong>        },
</strong><strong>        loot = 'json encoded array of all the items stored in the storage'
</strong><strong>    }
</strong><strong>}
</strong><strong>]]
</strong></code></pre>
