Mastering the console is the fastest path to unlocking FiveM’s full potential, whether you are hosting a custom server or simply exploring a new roleplay environment. This guide serves as a definitive FiveM command list, detailing the most essential administrative, vehicle, and player management tools you will encounter. Understanding these directives is critical for maintaining server order and ensuring a smooth experience for everyone connected to the community.
Essential Server Administration Commands
Server operators rely on a core set of administrative commands to manage permissions, monitor activity, and enforce rules. These tools are the backbone of a stable and secure gaming environment, allowing staff to address issues in real-time. Without a firm grasp of these fundamentals, maintaining control over a public server becomes significantly more difficult.
User and Permission Management
Controlling access levels is vital for preventing griefing and unauthorized changes. The following directives allow staff to grant temporary abilities and verify player identities:
add_ace group. identifier permission — Grants a specific permission to a group.
remove_ace group. identifier permission — Revokes a permission from a group.
setplayeridentifier — Links a player to a license, helping to track accounts across sessions.
setid — Assigns a temporary player ID for easy reference during events.
Vehicle and Spawning Controls
Vehicle commands are among the most frequently used tools for both players and admins, enabling quick traversal and emergency response. Misuse of these features can disrupt the economy, so responsible moderation is necessary to keep the server balanced.
Spawning and Modifying Vehicles
Whether you need to replace a destroyed car or pursue a suspect, knowing how to manipulate vehicles is essential. The standard syntax usually follows the pattern of requesting a specific model hash.
givevehicle hash — Spawns a standard vehicle with a full tank of fuel.
givevehicleengine hash — Spawns a vehicle with a tuned or modified engine.
setvehiclename "Name" — Customizes the display name of the current vehicle.
setvehiclearmor amount — Adjusts the defensive plating of the targeted vehicle.
Player Management and Teleportation
Managing the location and status of players is a daily task for moderators. Efficient teleportation commands reduce response times during emergencies and help staff navigate the map quickly to assist citizens in distress.
Location and Status Adjustment
Teleportation tools must be handled with care to prevent abuse or accidental map exploits. Staff should always verify coordinates before moving players into volatile zones.
teleport — Warps the current user to a specified set of coordinates.
tpinto player_id — Teleports the user to the location of another specific player.
kill — Instantly eliminates the player executing the command or a specified target.
heal — Restores the health of the target player to full immediately.
Debugging and Performance Tools
Advanced debugging commands are necessary for identifying lag sources, tracking resource performance, and ensuring the server runs efficiently. These tools provide insight into the technical health of the server that are not visible during normal gameplay.
Resource and System Monitoring
Monitoring the server load helps administrators prevent crashes before they happen. Regular checks can optimize performance and improve the experience for new and returning players alike.
run console_stats — Displays a real-time graph of network performance and packet loss.