🤝OLRP Bossmenu

Overview
The OLRP Boss Menu is a comprehensive boss management system designed for FiveM servers using the QB-Core/QBox framework. It provides a modern, midnight red-themed interface for managing employees, handling society finances, and processing job applications.
Key Highlights
🎨 Modern Midnight Red UI - Sleek, dark theme with red accents
👥 Complete Employee Management - Hire, fire, and manage employee ranks
💰 Society Banking Integration - Deposit, withdraw, and transfer funds
📋 Job Application System - Review and manage job applications
🔐 Granular Permission System - Custom access control for employees
📊 Analytics Dashboard - Employee statistics and activity charts
⚙️ Highly Customizable - Multiple themes and settings
Features
Core Functionality
Employee Management
Hire Employees: Add new members to your organization
Fire Employees: Remove members with proper logging
Rank Management: Promote/demote employees with salary adjustments
Permission Control: Set custom permissions for each employee
Playtime Tracking: Monitor how long employees have worked
Society Banking
Deposit Funds: Add money to society accounts
Withdraw Funds: Remove money from society accounts
Transfer Money: Move funds between accounts
Transaction History: Complete audit trail of all financial activities
Multi-Banking Support: Compatible with various banking systems
Job Application System
Custom Application Forms: Configure questions for each job
Application Review: Accept or reject applications with notes
Status Tracking: Monitor application progress
Automated Notifications: Keep applicants informed
Analytics & Reporting
Employee Statistics: Track performance and activity
Financial Reports: Monitor society account balances
Activity Charts: Visual representation of data
Playtime Analytics: Employee work time tracking
Installation
Prerequisites
QB-Core or QBox framework
oxmysql database connector
qb-target or ox_target system
Database Setup
Import the SQL file into your database:
The SQL file creates the following tables:
job_applications- Stores job applicationsjob_employee_permissions- Employee permission settingsjob_manager_settings- User interface settingsjob_playtime- Employee playtime trackingsociety- Society bank accountssociety_transactions- Transaction history
Configuration
Basic Configuration
The main configuration file is located at config.lua. Here are the key settings:
Job Ranks and Salaries
Configure job ranks and salaries in qb-core/shared/jobs.lua:
Key Configuration Points:
payment= Salary amountisboss = true= Gives access to boss menubankAuth = true= Gives access to society banking
Database Setup
Table Structure
Job Applications Table
Society Table
Society Transactions Table
Job Management
Adding New Jobs
Pre-configured Jobs
The system comes with pre-configured locations for:
Police - Law enforcement with multiple stations
Ambulance - EMS with hospital locations
Mechanic - Vehicle repair services
Mechanic3 - OneLife Mechanics
Bean Machine - Coffee shop chain
Cat Cafe - Cat-themed cafe
Up n Atom - Restaurant chain
BurgerShot - Fast food restaurant
Billiards - Pool hall
Sky Bar - High-end bar
Bahamas - Nightclub
Skydiving - Adventure sports
Lost MC - Motorcycle club
Ballas - Gang territory
Events - Event management
Employee Management
Hiring Employees
Access the boss menu at configured locations
Navigate to Employee Management
Click "Hire Employee"
Enter player information:
Player ID or Citizen ID
Desired rank/grade
Starting salary
Confirm the hire
Managing Employee Ranks
Select an employee from the list
Click "Change Rank"
Choose new rank from available grades
Salary automatically updates based on rank configuration
Confirm the change
Setting Permissions
Select an employee
Click "Set Permissions"
Configure access levels:
Society banking access
Employee management rights
Application review permissions
Save permissions
Firing Employees
Select the employee to fire
Click "Fire Employee"
Enter reason for termination
Confirm the action
Society Banking
Supported Banking Systems
The boss menu supports multiple banking systems:
qb-banking (default)
renewed-banking
olrp-banking
Configure in config.lua:
Banking Operations
Access society banking in the boss menu
Click "Deposit"
Enter amount to deposit
Add transaction note (optional)
Confirm deposit
Click "Withdraw"
Enter withdrawal amount
Add transaction note
Confirm withdrawal
Click "Transfer"
Select destination society
Enter transfer amount
Add transfer note
Confirm transfer
Transaction History
All financial activities are logged with:
Transaction type (deposit/withdraw/transfer)
Amount
Employee who performed the action
Timestamp
Notes
Application System
Configuring Applications
Application Points
Set up application submission points in Config.ApplicationPoints:
Application Questions
Configure custom questions for each job in Config.ApplicationQuestions:
Question Types
Text Questions
Select Questions
Number Questions
Processing Applications
For Bosses:
Access boss menu
Navigate to Applications
Review submitted applications
Accept or reject with notes
Notify applicant of decision
For Applicants:
Go to application point
Interact with application marker
Fill out application form
Submit application
Wait for review
UI Customization
Theme Configuration
The system supports multiple themes:
Midnight Red (Default)
Available Themes
Midnight Red - Dark theme with red accents
Blue - Classic blue theme
Purple - Purple accent theme
Green - Green accent theme
Orange - Orange accent theme
User Settings
Players can customize their experience:
Customizing Colors
To create a custom theme:
Edit
html/style.cssModify CSS variables:
Update theme references in the code
API Reference
Client Events
Open Boss Menu
Close Boss Menu
Refresh Job Data
Server Events
Get Job Data
Hire Employee
Fire Employee
Society Deposit
Society Withdraw
Server Callbacks
Get Employee List
Get Society Balance
Get Applications
Troubleshooting
Debug Mode
Enable debug mode in client/main.lua:
This will provide detailed console output for troubleshooting.
Performance Optimization
Caching
The system uses caching for player playtime data, society balances, employee lists, and application data
Refresh Intervals
Support
Getting Help
Check the troubleshooting section above
Review console logs for error messages
Verify configuration matches your setup
Contact OLRP development team
Reporting Issues
When reporting issues, include:
Server console logs
Client console logs
Configuration files
Steps to reproduce the problem
Expected vs actual behavior
Updates
Keep your boss menu updated by:
Checking for new versions
Backing up your configuration
Following update instructions
Testing in a development environment
Credits
Original Script: Adapted by OLRP
Theme: Midnight red theme implementation
Framework: QB-Core/QBox integration
UI Design: Modern glass-morphism interface
Database: Optimized MySQL schema
This documentation covers the complete OLRP Boss Menu system. For additional support or feature requests, please contact the OLRP development team.
Last updated

