> 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-30.md). Agents can also search and read this documentation through its [MCP server](https://shift-studios.gitbook.io/docs/~gitbook/mcp).

# Name 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%2FjfZ2BEzZud3c6C08bbCw%2Fmaxresdefault.jpg?alt=media&amp;token=275f8e6d-56a2-4393-bee4-18918f44fcfe" alt=""><figcaption></figcaption></figure>

### Installation

{% stepper %}
{% step %}

### Name 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-name In Your Server CFG.
{% endstep %}

{% step %}

### Configure Resource

Make Sure To Configure The Resource To Your Liking

{% code expandable="true" %}

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

Config = {}

-- auto, esx, qb, qbox, standalone
Config.Framework = 'auto'

Config.Command = 'changename'

Config.Brand = {
    Name = 'Admin Panel',
    Title = 'Name Change'
}

-- light or dark. Each player's UI choice is then saved locally in NUI.
Config.DefaultTheme = 'light'

Config.NotifyPosition = 'top'

-- ESX / QBCore framework groups.
-- Qbox and Standalone should normally use ACE permissions below.
Config.AdminGroups = {
    mod = true,
    admin = true,
    god = true,
    superadmin = true
}

-- Recommended because it works regardless of framework.
Config.UseAcePermissions = true
Config.AcePermission = 'shift.name'

-- Example server.cfg:
-- add_ace group.admin shift.name allow
-- add_ace group.god shift.name allow

Config.MinNameLength = 2
Config.MaxNameLength = 24

-- The quick-select list is rebuilt from currently connected players every time
-- the command opens the UI.
Config.ShowOnlinePlayers = true

-- History is RAM only. It is NEVER written to SQL or disk and therefore
-- automatically resets whenever this resource/server restarts.
Config.History = {
    Enabled = true,
    MaxEntries = 25
}

Config.KickAfterChange = true
Config.KickMessage = 'Your Name Has Been Changed To %s %s. Please Fly Back In.'

Config.AdminSuccessMessage = 'Changed ID %s Name To %s %s.'
Config.NoPermissionMessage = 'You Do Not Have Permission To Use This.'
Config.InvalidPlayerMessage = 'Invalid Player ID.'
Config.PlayerNotOnlineMessage = 'That Player Is Not Online.'
Config.InvalidNameMessage = 'First And Last Name Must Be Valid.'
Config.DatabaseErrorMessage = 'Database Update Failed.'
Config.UnsupportedFrameworkMessage = 'The Current Framework Identity Adapter Is Not Configured.'
Config.PleaseWaitMessage = 'Please Wait A Moment Before Trying Again.'

-- ESX and Standalone database adapters.
-- QBCore and Qbox use their live player APIs and save functions instead.
Config.Database = {
    ESX = {
        Table = 'users',
        IdentifierColumn = 'identifier',
        FirstNameColumn = 'firstname',
        LastNameColumn = 'lastname',
        UpdateFullNameColumn = false,
        FullNameColumn = 'name'
    },

    -- Standalone has no universal identity schema. These defaults match a
    -- common users table using the FiveM license identifier. Adjust if needed.
    Standalone = {
        Table = 'users',
        IdentifierColumn = 'identifier',
        IdentifierType = 'license',
        FirstNameColumn = 'firstname',
        LastNameColumn = 'lastname',
        UpdateFullNameColumn = false,
        FullNameColumn = 'name'
    }
}

```

{% endcode %}
{% endstep %}

{% step %}

### Restart / Start Your Server

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