> For the complete documentation index, see [llms.txt](https://shift-studios.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shift-studios.gitbook.io/docs/new/editor-27.md). Agents can also search and read this documentation through its [MCP server](https://shift-studios.gitbook.io/docs/~gitbook/mcp).

# Plate Changer

Transform Your Server With Shift Studios — Powerful, Optimized, And Reliable Resources Built To Improve Every Experience.

<figure><img src="https://4062160621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fgqh3gjuJzDAWNXTD9sEE%2Fuploads%2FQiEqOhZ2E5IiGeChb8jR%2Fplate_changer_thumbnail_v2.png?alt=media&amp;token=64b36100-8556-46c0-9a8a-c49d392df98e" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### Plate Changer

Read Everything Below To Install
{% endstep %}

{% step %}

### Drag & Drop

Drag & Drop The Resource Into Your FiveM Server
{% endstep %}

{% step %}

### Ensure The Resource

Make Sure To Ensure shift-plates In Your Server CFG.
{% endstep %}

{% step %}

### Configure Resource

Make Sure To Configure The Resource To Your Liking

You Can Configure Your Discord Logs In server/config.discord.lua

The Config Also Includes locales.lua, database.lua, discord.lua, garages.lua, notifications.lua, & items.lua

{% code expandable="true" %}

```lua
-- ⚫ ███████╗██╗  ██╗██╗███████╗████████╗    ███████╗████████╗██╗   ██╗██████╗ ██╗ ██████╗ ███████╗ ⚫
-- ⬛ ██╔════╝██║  ██║██║██╔════╝╚══██╔══╝    ██╔════╝╚══██╔══╝██║   ██║██╔══██╗██║██╔═══██╗██╔════╝ ⬛
-- ⚫ ███████╗███████║██║█████╗     ██║       ███████╗   ██║   ██║   ██║██║  ██║██║██║   ██║███████╗ ⚫
-- ⬛ ╚════██║██╔══██║██║██╔══╝     ██║       ╚════██║   ██║   ██║   ██║██║  ██║██║██║   ██║╚════██║ ⬛
-- ⚫ ███████║██║  ██║██║██║        ██║       ███████║   ██║   ╚██████╔╝██████╔╝██║╚██████╔╝███████║ ⚫
-- ⬛ ╚══════╝╚═╝  ╚═╝╚═╝╚═╝        ╚═╝       ╚══════╝   ╚═╝    ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ⬛

Config = {}

Config.Debug = false
Config.Framework = 'auto' -- auto, esx, qbcore, qbox, standalone, custom
Config.Inventory = 'auto' -- auto, ox_inventory, qb-inventory, qs-inventory, core_inventory, framework, custom
Config.Locale = 'en'

Config.Open = {
    Command = 'changeplate',       -- false disables the command
    Item = 'plate_changer',        -- false disables framework usable-item registration
    RequireItem = true,
    RemoveItem = 'success',        -- success, start, never
    AllowPassengerUse = false,
    MaximumVehicleDistance = 5.0,
    CooldownSeconds = 5
}

Config.Plate = {
    MinimumLength = 2,
    MaximumLength = 8,
    AllowSpaces = true,
    TrimSpaces = true,
    Blocked = { 'ADMIN', 'POLICE', 'EMS' },
    BlockedMatchMode = 'exact',    -- exact or contains
    CaseSensitiveBlocked = false
}

Config.Progress = {
    Duration = 5000,
    AllowCancel = true,
    CancelConsumesItem = false,
    Label = 'Installing and registering new plate'
}

Config.Interface = {
    Scale = 1.0,
    DefaultTheme = 'dark',         -- dark or light; player toggle is saved in NUI storage
    AllowThemeToggle = true,
    PlateRegion = 'SAN ANDREAS'
}

Config.Security = {
    SessionLifetimeSeconds = 60,
    CompletionGraceMilliseconds = 350,
    MaximumActiveSessionsPerPlayer = 1,
    RequireDriverAtCompletion = true,
    ValidateEntityAtCompletion = true
}

Config.Standalone = {
    -- Return the persistent owner identifier used by your vehicle table.
    GetIdentifier = function(source)
        for _, identifier in ipairs(GetPlayerIdentifiers(source)) do
            if identifier:sub(1, 8) == 'license:' then return identifier end
        end
        return GetPlayerIdentifiers(source)[1]
    end,

    -- Optional inventory hooks used when Framework is standalone/custom.
    HasItem = function(source, item, amount)
        return true
    end,
    RemoveItem = function(source, item, amount)
        return true
    end,

    -- Optional custom usable-item registration. Return true when registered.
    RegisterUsableItem = function(item, callback)
        return false
    end
}

-- Called after a successful database commit. Add server-side integrations here.
Config.OnPlateChanged = function(source, oldPlate, newPlate, vehicleRow)
end


```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

Ensure Everything Is Working Well & Enjoy !!
{% endstep %}
{% endstepper %}
