> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get all doors list

> Get the data of all doors server side.

```lua Export theme={null}
exports["doors_creator"]:getAllDoors()
```

### Return

A table with all doors' data.

## Example

```lua theme={null}
Citizen.CreateThread(function()
    local doors = exports["doors_creator"]:getAllDoors()

    for k, doorData in pairs(doors) do
        if(doorData.allowedJobs and doorData.allowedJobs["police"]) then
            print(doorData.id .. " is a police door")
        end
    end
end)
```


## Related topics

- [Server](/doors-creator/server/index.md)
- [Get all buildings list](/doors-creator/server/get-all-buildings-list.md)
- [Get static items list](/jaksam-inventory/functions/shared/get-static-items-list.md)
- [Get all armory weapons](/jobs-creator/server/armory/get-all-armory-weapons.md)
- [Get player allowed actions](/jobs-creator/client/actions/get-player-allowed-actions.md)
