# Exports

## Server Exports

### openMenu

<pre class="language-lua" data-full-width="false"><code class="lang-lua">---@param identifier integer
<strong>exports['axr_octastore']:openMenu(identifer);
</strong></code></pre>

### getAccountData

<pre class="language-lua" data-full-width="false"><code class="lang-lua">---@param identifier integer
---@return table?nil
<strong>local accountData = exports['axr_octastore']:getAccountData(identifer);
</strong>
</code></pre>

### getPlayerPlan

<pre class="language-lua" data-full-width="false"><code class="lang-lua">---@param identifier integer
---@return integer
<strong>local plan = exports['axr_octastore']:getPlayerPlan(identifer);
</strong></code></pre>

### getPlayerPlanName

{% code fullWidth="false" %}

```lua
---@param identifier integer
---@return string
local playerName = exports['axr_octastore']:getPlayerPlanName(identifer);
```

{% endcode %}

### getUsernameByIdentifier

{% code fullWidth="false" %}

```lua
---@param identifier integer
---@return string
local username = exports['axr_octastore']:getUsernameByIdentifier(identifer);
```

{% endcode %}

### getPlayerPosts

{% code fullWidth="false" %}

```lua
---@param identifier integer
---@return table
local playerPosts = exports['axr_octastore']:getPlayerPost(identifer);
```

{% endcode %}

### updateUserAccount

{% code fullWidth="false" %}

```lua
---@param identifier integer
---@param key string
---@param value any
---@param updateDB boolean
exports['axr_octastore']:updateUserAccount(identifer, key, value, updateDB);
```

{% endcode %}

### getAccountStats

{% code fullWidth="false" %}

```lua
---@param identifier integer
---@return table : {sales : integer, plan : integer, current_posts: integer}
local accountStats = exports['axr_octastore']:getAccountStats(identifer);
```

{% endcode %}

### hasPlayerLockerProduct

{% code fullWidth="false" %}

```lua
---@param identifier integer
---@param locker_id string
---@return boolean
local hasLocker = exports['axr_octastore']:hasPlayerLockerProduct(identifer, locker_id);
```

{% endcode %}

### getPlayerLockerProducts

{% code fullWidth="false" %}

```lua
---@param identifier integer
---@param locker_id string
---@return table
local LockerProducts = exports['axr_octastore']:getPlayerLockerProducts(identifer, locker_id);
```

{% endcode %}

### createLockerParcel

<pre class="language-lua" data-full-width="false"><code class="lang-lua">---@param identifier integer
---@param locker_id string
---@param items table
---@return boolean
<strong>local created = exports['axr_octastore']:createLockerParcel(identifer, locker_id, items);
</strong></code></pre>

### getLockerCoordsById

{% code fullWidth="false" %}

```lua
---@param locker_id string
---@return table
local coords = exports['axr_octastore']:getLockerCoordsById(locker_id);
```

{% endcode %}

### getChatExistBetweenIdentifiers

{% code fullWidth="false" %}

```lua
---@param identifier1 integer
---@param identifier2 integer
---@return string
local chatId = exports['axr_octastore']:getChatExistBetweenIdentifiers(identifier1, identifier2);
```

{% endcode %}

## Client Exports

### notify

{% code fullWidth="false" %}

```lua
---@param message string
---@param icon string?nil
exports['axr_octastore']:notify(message, icon);
```

{% endcode %}

### forceDestroyMenu

{% code fullWidth="false" %}

```lua
---@param reason string?nil
exports['axr_octastore']:forceDestroyMenu(reason);
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://axero-scripts.gitbook.io/axr-documentation/resources/axr_octastore/exports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
