Installation
Basic installation steps for wasabi_pausemenu v2.
danger
The resource folder must be named wasabi_pausemenu or the resource will not operate correctly.
1. Install dependenciesβ
Install and start:
ox_liboxmysql- your supported framework (
es_extended,qb-core, orqbx_core)
See Dependencies for details.
2. Add the resourceβ
Place the resource in your server resources folder as:
wasabi_pausemenu
Then add it to server.cfg after dependencies and your framework:
ensure ox_lib
ensure oxmysql
ensure es_extended # or qb-core / qbx_core
ensure wasabi_pausemenu
3. Configure shared settingsβ
Edit:
config/shared/config.lua
Common first-pass settings:
Config.DebugConfig.CheckForUpdatesConfig.LanguageConfig.CurrencySymbolConfig.CurrencySymbolPositionConfig.UIColorConfig.MenuOptionsConfig.SocialLinks
4. Configure menu actionsβ
Edit:
config/client/config.lua
Menu option action values from Config.MenuOptions must map to a function in MenuActions or be registered with the RegisterMenuAction export.
Default actions include:
RESUMEWORLD_MAPSETTINGSDISCONNECTQUIT_GAME
5. Verify database accessβ
The playtime module automatically creates wasabi_playtime with oxmysql. Make sure your database connection is working before starting the resource.
6. Restart and enjoyβ
After restarting the server, you will notice the pause menu displaying as intended.