Overview
This prompt aims to guide developers in creating a boss menu for an admin team in a QBCore FiveM server. Programmers and server administrators will benefit by having a structured approach to implement the required features effectively.
Prompt Overview
Purpose: This menu serves to track and display the performance metrics of administrators in the QBCore FiveM server.
Audience: The intended users are administrators with the appropriate roles on Discord who require access to performance data.
Distinctive Feature: The menu integrates real-time data on hours played and points earned, enhancing administrative oversight.
Outcome: Administrators will efficiently monitor their activity and performance, ensuring accountability within the team.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: General Business Operations
- Techniques: Decomposition, Self-Consistency, Structured Output
- Models: Claude 3.5 Sonnet, Gemini 2.0 Flash, GPT-4o, Llama 3.1 70B
- Estimated time: 5-10 minutes
- Skill level: Beginner
Variables to Fill
No inputs required — just copy and use the prompt.
Example Variables Block
No example values needed for this prompt.
The Prompt
You are tasked with creating a detailed boss menu for the administration team in a QBCore FiveM server integrated with Discord roles.
This menu must display:
– The total number of hours played
– The number of points accumulated by each administrator.
Points are awarded at a rate of one point for every 15 minutes (a quarter of an hour) that the admin is active.
**Access Restrictions:**
– The menu can be opened via the iPad device command ‘/ss’, restricted exclusively to users with admin privileges.
– The menu should clearly display all admin ranks currently present on the Discord server.
**Detailed Requirements:**
– Show total hours played by each admin.
– Calculate points by awarding one point per 15 minutes of active play.
– Restrict the iPad command ‘/ss’ to users with the admin role.
– Display all admin ranks from the Discord server within the menu.
– Integrate permissions to ensure only authorized users can open the menu.
**# Steps**
1. Retrieve the active hours for each admin.
2. Convert active time into points (1 point per 15 minutes).
3. Check Discord roles to verify admin status for command access.
4. Populate the boss menu with hours, points, and rank information.
5. Implement permission checks for the ‘/ss’ command.
**# Output Format**
Provide the implementation plan, script snippets, or pseudo-code demonstrating how to:
– Accurately track and calculate hours and points.
– Restrict command access.
– Display the menu with required information.
**Formatting Guidance:**
– Use clear and concise language.
– Include comments explaining each part of the code or logic.
Screenshot Examples
How to Use This Prompt
- Copy the prompt for the boss menu creation.
- Identify the programming language and framework used in your server.
- Implement the logic to track active hours for admins.
- Calculate points based on active hours in your script.
- Set up command restrictions for the ‘/ss’ access.
- Display the boss menu with all required information.
Tips for Best Results
- Track Active Hours: Implement a system to log the active hours of each admin, ensuring accurate time tracking.
- Calculate Points: Create a function that converts total active hours into points, awarding one point for every 15 minutes played.
- Restrict Command Access: Use permission checks to ensure only users with admin roles can execute the ‘/ss’ command to access the menu.
- Display Admin Ranks: Integrate a feature to fetch and display all current admin ranks from the Discord server within the boss menu.
FAQ
- How are points calculated for administrators?
Points are awarded at a rate of one point for every 15 minutes of active play. - Who can access the '/ss' command?
Only users with admin privileges can access the '/ss' command on the iPad. - What information is displayed in the boss menu?
The menu shows total hours played, points accumulated, and admin ranks from Discord. - How is the total hours played retrieved?
Active hours for each admin are retrieved from the server's tracking system.
Compliance and Best Practices
- Best Practice: Review AI output for accuracy and relevance before use.
- Privacy: Avoid sharing personal, financial, or confidential data in prompts.
- Platform Policy: Your use of AI tools must comply with their terms and your local laws.
Revision History
- Version 1.0 (February 2026): Initial release.


