Ox Lib Frost UI Style
Installation
Installation
Frost UI is a complete ox_lib. You don't add a new resource: you replace your current ox_lib folder with the one in the package.
1. Back up your current ox_lib
Copy your current ox_lib folder outside resources/ (for example to your desktop). If you ever changed anything inside it (locales, settings), you'll want that copy to bring your changes over.
Don't leave the backup inside resources/. With two folders named ox_lib, FiveM picks only one of them, and it may be the old one.
2. Replace the folder
- Stop the server.
- Delete the old
ox_libfolder. - Put the
ox_libfolder from the package in the same place, for example:
server-data/resources/[ox]/ox_lib/
The folder must be named exactly ox_lib. Every resource that uses ox_lib loads @ox_lib/init.lua by that name.
3. Keep the start order in server.cfg
Nothing changes here. ox_lib stays where it was, near the top, before the resources that use it:
ensure oxmysql
ensure ox_lib
ensure qbx_core # or qb-core / es_extended
ensure ox_target
ensure ox_inventory
# ... the rest of your resources
Your ox_lib convars (for example setr ox:locale en) keep working as they are.
4. Start the server
Start the server with a full restart. Don't use restart ox_lib on a live server: many resources depend on it.
The banner appears in the server console on a healthy boot:
███████╗██╗ ██╗████████╗██╗ ██╗
██╔════╝██║ ██║╚══██╔══╝╚██╗ ██╔╝
███████╗██║ ██║ ██║ ╚████╔╝
╚════██║██║ ██║ ██║ ╚██╔╝
███████║╚██████╔╝ ██║ ██║
╚══════╝ ╚═════╝ ╚═╝ ╚═╝
──────────────────────────────────────
ox_lib // Styled by SUTY
──────────────────────────────────────
5. Quick test
Join the server and type:
/uishowcase
You'll see the Frost components in a row: notifications, text UI, progress bar and circle, skill check, alert and input dialogs, context menu and list menu.
Updating
- Don't download ox_lib from GitHub over this folder. A stock ox_lib brings the default look back. Install the updated Frost UI package instead, the same way as above.
- If a script asks for a newer ox_lib than the one in the package, tell us on Discord.
Next steps
- Configuration — what you can adjust
- Commands — the showcase and ox_lib's own commands
- Troubleshooting — fixes for common issues
