Step By Step Guide
-
Database Setup
Import the koja_jobcenter.sql file into your SQL database. -
Server Upload
Upload the entire KOJA_jobcenter folder to your server. -
Server Configuration
Add ensure KOJA_jobcenter to your server.cfg or resource.cfg, depending on your configuration file name. -
Server Config Modifications
Open``server_config.lua``and make the following changes:- Insert your Steam API key: SteamApiKey = "YOUR_STEAM_API_KEY"
- Set up a Discord webhook for logging job activities: webhook = "YOUR_DISCORD_WEBHOOK"
-
Configure Settings
Edit Config.lua according to your preferences. Detailed explanations are provided within the file to guide you through the options. -
Experience Point Integration
- Add the TriggerServerEvent call to each job function in the job center, so players can earn XP upon job completion.
- Server Trigger Example:
TriggerServerEvent('koja_jobcenter:addXP', AMOUNT) - Ensure this trigger is placed at the end of a successful job function.
-
Final Steps
Once you have completed the above steps, your job center should be ready to go. Enjoy!
Related pages
- Server — Server side functions
- Jobselector [FREE] — back to the section overview