Welcome to the RAGE_SpectateMenu repository! This script provides a streamlined and minimalistic admin spectate menu to manage players on your FiveM server efficiently.
-
Search Available Players: Admins can quickly search for available players on the server.
-
Spectate and Kick: Admins have the ability to spectate players and kick them if necessary.
-
Sort Players List: Admins can sort the players list by various headers such as ID, Name, Jobs, and Group.
-
Minimal UI: The user interface is designed to be minimalistic, ensuring ease of use without unnecessary clutter.
-
Allowed Group Members: pecify allowed group members in the config to restrict access to admin features.
-
Configurable: Easy-to-use configuration file to customize the script according to your server's needs.
-
Clone this repository to your FiveM server resources directory:
git clone https://github.com/Rage-Gaming/RAGE_SpectateMenu.git
-
Add the script to your server configuration file (server.cfg):
ensure RAGE_SpectateMenu
-
Configure the script by editing the config.lua file to suit your requirements.
-
Open the spectate menu using the designated command (e.g.,
/spectatemenu
). -
Use the search bar to find specific players.
-
Use the sort headers to organize the player list.
-
Select a player to spectate or kick them from the server.
-
Configure allowed group members in the
config.lua
file to manage access to admin features.
Edit the config.lua
file to set up the script according to your preferences. Here is an example configuration:
Config.AllowedGroups = {
["admin"] = true,
-- ["mod"] = false, -- You can add other groups like this
}
- Main Menu
- Spectate
- Player kick Confirmation
- Notification
If you have any questions or need help, feel free to contact me on Discord: Join Now.
This project is licensed under the LGPL License. See the LICENCE. file for details.