Page cover image

💾X_UTILITY_Commands

🌟 Overview

X_UTILITY_Commands is designed to enhance the management and interaction capabilities of your FiveM server. It offers a wide range of commands for player information, server management, help requests, coordinate tools, chat options, and roleplay functionality. The script is highly customizable and supports multiple frameworks including ESX and QBCore.


✨ Features

  • Player Information: Commands to view your ID and find nearby players.

  • Server Management: Routing bucket commands for admins.

  • Server Information: Check online players and staff members.

  • Help System: Multiple help request commands for users.

  • Coordinate Tools: Display and copy coordinates in different formats.

  • Chat Commands: Team chat, job chat, and direct messaging.

  • Roleplay Commands: /me and /do commands with proximity display.

  • Framework Support: Compatible with ESX and QBCore.

  • Customizable Notifications: Configurable notification system with support for ESX, QBCore, and X_HUD.

  • Cooldown System: Prevent spam with customizable cooldowns for all commands.

  • Permission Settings: Control which groups can use each command.

  • Job Restrictions: Restrict job-specific commands to certain roles.

  • Display Settings: Customize how roleplay commands appear.


🛠️ Installation

Step-by-Step Guide

  1. Download the Resource:

  2. Extract the Folder:

    • Extract the downloaded folder to your FiveM server's resources directory.

  3. Update server.cfg:

    • Add the following line to your server.cfg file to ensure the resource starts automatically:ensure X_UTILITY_Commands

  4. Customize the Configuration:

    • Configure the resource to your needs by editing the configuration/Config.lua file.

  5. Restart Your Server:

    • Restart your server to apply the changes and load the new resource.

🔄 Troubleshooting

Common Issues

  • Commands Not Working:

    • Ensure the script is properly loaded and enabled in server.cfg.

    • Verify that the command is correctly typed and that you have the required permissions.

  • Notifications Not Displaying:

    • Check that the notification system is correctly configured in Config.lua.

    • Ensure that the required notification resource (e.g., X_HUD_Notify) is installed and running.

  • Translation Issues:

    • Ensure that the language setting in Config.lua matches the translations provided in Translation.lua.

Last updated