Changelog
v1.2.0
Added a secondary color for hair and beard.
Customization
- New secondary color (
Color 2) for hair and beard: the primary and secondary colors can now be set independently, enabling gradients and highlights - New locale key
color2(“Color 2” / “Couleur 2”)
v1.1.0
NUI menu fixes, server hardening and update notifier.
NUI Menu
- Renamed-resource compatibility:
GetParentResourceName()is now used instead of a hardcoded name, so the resource folder can be renamed without breaking NUI callbacks - Fixed menu becoming unusable on second open: internal state (keyboard focus, current page, DOM content) is now reset on every open
- Fixed the “ghost” highlighted cell that remained selected after closing the menu
- Selection highlight now follows the mouse cursor: no more offset between the hovered cell and the highlighted cell
- No more double highlight: only a single element can be marked active at a time
- No more unwanted scroll on mouse hover: automatic
scrollIntoViewis disabled for mouse navigation (still kept for keyboard navigation)
Server hardening
- Server-side
chairIdvalidation: only chair IDs defined inConfig.Positionsare accepted, preventing a malicious client from reserving phantom chairs - Payment now requires the player to actually be seated on a chair: any
paycall without an active chair is rejected - Added rate-limit on the
releaseChairevent (consistency withtakeChairandpay)
Configuration
- New
Config.AutoUpdateCheckoption (default:true) to enable or disable the automatic update check at server startup - Removed
Config.Debug(was never read by the script)
Update notifier
- Automatic update notifier: the server compares the installed version with the latest published version and prints a console message when an update is available
v1.0.0
Initial release.
- NUI-based barbershop menu with glass/solid style options
- Multi-framework support: ESX Legacy, QBCore, QBX
- Appearance resource integration: illenium-appearance, fivem-appearance, qb-clothing
- 5 customization categories: Hair, Beard, Eyebrows, Eyes, Makeup
- Style grid with color picker and opacity slider
- Full keyboard navigation (arrow keys, Enter, Escape)
- Head rotation controls (A/Q/D keys) for previewing changes
- Real-time preview of all appearance changes
- 7 preconfigured barbershop locations with map blips
- NPC barber with scissors animation
- Configurable interaction methods (ox_target, qb-target, qtarget, interact, drawtext, marker)
- Configurable pricing, UI colors, menu position, and menu style
- Multi-language support (English and French)