CS_NAMECHANGE
A system for changing your in-game name at designated locations. Includes price handling, blacklisted name filtering, notifications, and Discord webhooks.
Installation
start cs_namechangeConfiguration
Config.lua
This configuration file controls name change locations, pricing, blacklisted names, notifications, and Discord webhook integration..
General Settings
WebhookEnabled β true / false β Enable or disable webhook notifications.
Price β Cost of changing your name. Example: 1000.
Currency β Currency symbol. Example:
$.blackListedNames β List of forbidden words in names.
Locations
Define where players can change their names:
name β Location identifier.
coords β Vector3 coordinates.
heading β NPC heading.
openMessage β Text displayed when near the NPC.
NPC.spawn.key β Interaction key.
NPC.spawn.type β Ped model.
blips.spawn.name β Map blip name.
blips.spawn.sprite β Blip icon.
blips.spawn.scale β Blip size.
blips.spawn.color β Blip color.
blips.spawn.enabled β true / false.
Locale
All UI texts, placeholders, and messages are in Locale:
ChangedNameNotificationβ Shown after a successful name change.NotEnoughMoneyβ Shown when player cannot afford the change.InputEmptyβ Shown when form fields are empty.SpacesNotAllowedβ Shown when spaces are entered incorrectly.NameLengthExceededβ Maximum character length exceeded.NameLengthInvalidβ Minimum character length not met.NameContainsInvalidCharsβ Invalid characters detected.ServerNameβ Display server name.NameChangeLabelβ UI heading.FirstNamePlaceholderβ Placeholder for first name.LastNamePlaceholderβ Placeholder for last name.ConfirmButtonβ Confirm button label.
Webhook Configuration
webhooks.lua
Sends a message when a player changed his name, including old name, new name, and more information.
Tip: Leave the URL as an empty string "" if you do not want the webhook to trigger for that event.
Notes
Supports both old and new ESX versions.
Blacklisted names are automatically blocked.
Multiple locations can be added by extending the
locationstable.
Support
If you have any further questions, open a ticket on our discord server: discord.gg/core-services
Last updated