Let your players change their character's name in-game, without staff or database edits. They walk up to an NPC, pay a fee, and the new name is applied instantly.
## Features
- **Immersive NPC interaction**: interactive NPC with a clean `[E]` prompt and marker
- **Clean UI**: built on ox_lib's input dialog, showing the player's current name
- **Cash or bank payment**: players choose how to pay
- **Instant update**: the name changes immediately, with no relog needed
- **Safe by design**: the database is written first, and the player is automatically refunded if the save fails
- **Server-side validation**: name length limits, letters-only names, and payment method checks
- **Fully configurable**: price, NPC model, location, scenario and interaction distances
- **Lightweight**: idle while players are away from the NPC
## Requirements
- es_extended (ESX)
- ox_lib
- oxmysql
- dynasty_text3d
## Installation
1. Drop `peysoh_namechange` into your resources folder
2. Add `ensure peysoh_namechange` to your server.cfg, after the dependencies
3. Edit `config.lua` to set your price and NPC location
4. Restart your server
No SQL import needed. It uses the default ESX `users` table.
## Configuration
Everything is editable in the open `config.lua`:
- Price of the service
- NPC model, coordinates, heading and scenario
- Interaction and marker distances
## Details
- **Framework:** ESX
- **Code:** Escrow protected (config is open)
- **Support:** Provided by Peysoh



