> For the complete documentation index, see [llms.txt](https://wosa.gitbook.io/working-with-wosa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wosa.gitbook.io/working-with-wosa/functions/server/character/inventory.md).

# Inventory

Server functions that are in some way related to the inventory aspects.

```lua
local inventory = Wosa.Character.Inventory.Get(
    user --[[ int ]]
)

--[[

Parameters:
-> user: The PlayerID of the user.


Returnal:
    inventory : table
				logged_name : string
        license_id : string
        item_name : string
        display_name : string
        item_string1 : string
        item_string2 : string
        item_string3 : string
        item_float1 : float
        item_float2 : float
        item_float3 : float
        item_bool1 : bool
        item_bool2 : bool
        item_bool3 : bool
        item_int1 : int
        item_int2 : int
        item_int3 : int

Description:
Returns all items in a table, loop or index the table to get values. Gets the inventory
table for a specific user on the server.

Example:
for i, item in ipairs(Wosa.Character.Inventory.Get(user)) do
    print('this user has a '..item.display_name..'.')
end

]]
```
