lyx.ac
Console Commands

Complete reference for all ChocoHax console commands and administrative tools

Command Categories

Moderation Commands
Admin Only
Commands for player punishment and moderation
kick
kick permission

Remove a player from the server temporarily

# Syntax
lynx kick <playerid/name> [reason]
# Example
lynx kick 123 Griefing other players
ban
ban permission

Permanently ban a player from the server

# Syntax
lynx ban <playerid/name> [reason]
# Example
lynx ban PlayerName Cheating detected
offlineban
ban permission

Ban a disconnected player using their ID or name

# Syntax
lynx offlineban <playerid/name> [reason]
# Example
lynx offlineban 42 Exploiting server
unban
unban permission

Remove a ban using the ban ID

# Syntax
lynx unban <banid>
# Example
lynx unban 15
Player Management
Information
Commands for player information and management
getids
getids permission

Get all identifiers and info for a player

# Syntax
lynx getids <playerid/name>
# Returns
• Steam ID, Discord ID, License
• Health, Armor, Speed, Position
playerlist
Console only

Display all online players with their IDs

# Syntax
lynx playerlist
# Output
PlayerName (ID)
screenshot
screenshot permission

Take a screenshot of a player's screen

# Syntax
lynx screenshot <playerid/name>
# Note
Bypassed by clientBypass permission
Teleportation Commands
Movement
Commands for teleporting players around the map
teleport

Teleport player1 to player2

lynx teleport <player1> <player2>
tphere

Bring a player to your location

lynx tphere <playerid/name>
tp

Go to a player's location

lynx tp <playerid/name>
Entity Management
Server Cleanup
Commands for managing vehicles, peds, objects, and weapons
clear
cleararea permission

Clear entities from the server

# Syntax
lynx clear <type>
# Types
• vehicles - Clear all vehicles
• peds - Clear all peds
• objects - Clear all objects
• all - Clear everything
• entity <netid> - Clear specific entity
vehicle
vehicles permission

Spawn vehicles for players

# Syntax
lynx vehicle spawn <model> <playerid>
# Example
lynx vehicle spawn adder 123
lynx vehicle spawn sultan 456
Weapon Management
Arsenal Control
Commands for managing player weapons and ammunition
weapon
weapons permission
# Give Weapon
lynx weapon give <player> <weapon> [ammo]
Example: lynx weapon give 123 pistol 50
# Set Ammo
lynx weapon ammo <player> <weapon> <amount>
Example: lynx weapon ammo 123 pistol 100
# Remove Weapon
lynx weapon remove <player> <weapon>
Example: lynx weapon remove 123 pistol
# Remove All
lynx weapon removeall <player>
Example: lynx weapon removeall 123
# Add Component
lynx weapon givecomponent <player> <weapon> <component>
Example: lynx weapon givecomponent 123 pistol flashlight
System Commands
Configuration
Commands for system configuration and debugging
showcfg
Console only

Display current ChocoHax configuration settings

# Syntax
lynx showcfg
# Output
• All configuration values
• Sorted alphabetically
• Shows data types and table counts
Command Usage Tips
Important notes for using ChocoHax commands effectively

💡 Best Practices

  • Always provide clear reasons for bans and kicks
  • Use player names when IDs are hard to remember
  • Take screenshots before banning for evidence
  • Regular entity cleanup prevents server lag

⚠️ Important Notes

  • Some commands only work from server console
  • Players with clientBypass can't be screenshotted
  • Vehicle clearing preserves occupied vehicles
  • All actions are logged to Discord if configured