What are Commands?
Commands provide a text-based interface to interact with LiquidBounce features. They allow you to configure modules, manage settings, and perform various operations without using the GUI.Commands are defined in
Command.kt and managed by CommandManager.kt. They support parameters, subcommands, and auto-completion.Command Prefix
By default, all commands start with a period (.). You can change this prefix in the command settings.
Source:
CommandManager.kt:111Command Syntax
Commands follow a structured syntax:Examples
Command Structure
Each command consists of:- Name: Primary identifier for the command
- Aliases: Alternative names (e.g.,
tfortoggle) - Parameters: Required or optional inputs
- Subcommands: Nested commands for organization
- Handler: The code that executes when the command runs
Source:
Command.kt:43-51Built-in Commands
LiquidBounce includes many built-in commands organized by category:Client Commands
Module Management
Module Management
- toggle (alias:
t) - Enable or disable a module - bind - Bind a module to a key
- binds - List all module keybinds
- hide - Hide a module from the HUD
- panic - Quickly disable all modules
- value - Get or set module values
Configuration
Configuration
- config - Manage configurations
- localconfig - Manage local configuration files
- client - Client settings and information
Social
Social
Utility
Utility
- help - Show available commands
- clear - Clear chat history
- script - Manage scripts
- debug - Toggle debug modes
In-Game Commands
Information
Information
- ping - Check your connection latency
- tps - Display server ticks per second
- serverinfo - Show server information
- coordinates (alias:
coords) - Display your position
Player Actions
Player Actions
- username - Change your username display
- say - Send a chat message
- fakeplayer - Spawn a fake player for testing
- remoteview - View from another player’s perspective
Teleportation
Teleportation
- vclip - Teleport vertically
- teleport - Teleport to coordinates
- playerteleport - Teleport to a player
Creative Mode
Creative Mode
- itemgive - Give yourself items (creative)
- itemrename - Rename held item
- itemenchant - Enchant held item
- itemskull - Get player skulls
- itemstack - Modify item stack size
Module-Specific Commands
Special Modules
Special Modules
- xray - Configure X-Ray block list
- invsee - View another player’s inventory
- autoaccount - Manage auto-login accounts
- autodisable - Configure auto-disable conditions
AI & Translation
AI & Translation
- models - Manage deep learning models
- translate - Translate messages
- autotranslate - Configure auto-translation
Marketplace
Marketplace
- marketplace - Browse and install scripts/configs
Source: Full command list from
CommandManager.kt:124-165Parameters
Commands can accept different types of parameters:Parameter Types
- String: Text input (use quotes for spaces:
"Best Friend") - Integer: Whole numbers
- Float: Decimal numbers
- Boolean: true/false values
- Module: Module names (with auto-completion)
- Player: Player names (with auto-completion)
- Block: Minecraft block types
- Item: Minecraft items
Required vs Optional
Parameters can be:- Required: Must be provided (shown as
<parameter>) - Optional: Can be omitted (shown as
[parameter]) - Vararg: Accepts multiple values
Source: Example from
CommandFriend.kt:194-203Auto-Completion
The command system provides intelligent auto-completion:- Command names: Press
Tabto see available commands - Module names: Auto-completes module names when typing
- Player names: Suggests online players
- Subcommands: Shows available subcommands
- Parameter values: Context-aware suggestions
Source:
Command.kt:200-205Subcommands
Many commands have subcommands for better organization. For example, thefriend command:
Source:
Command.kt:71Command Execution
When you execute a command:- Tokenization: The input is split into command parts
- Command Lookup: The command is found in the registry
- Validation: Parameters are validated and parsed
- Execution: The command handler runs
- Feedback: Results are displayed in chat
Source:
CommandManager.kt:237-363Error Handling
The command system provides helpful error messages:Unknown Command
If you type an unknown command, the system suggests similar commands:Source:
CommandManager.kt:116Invalid Parameters
Clear messages when parameters are wrong:- Missing required parameters
- Invalid parameter types
- Out-of-range values
Command Examples
Creating Custom Commands
Command Best Practices
Quote Strings with Spaces
Use quotes for names or aliases with spaces:
.friend add Player "Best Bud"Troubleshooting
Command Not Found
Command Not Found
- Check your command prefix in settings
- Verify the command name (use
.helpto list all commands) - Make sure LiquidBounce is enabled
Parameter Errors
Parameter Errors
- Check if the parameter is required
- Verify parameter type (number vs. string)
- Use quotes for multi-word strings
Command Not Working In-Game
Command Not Working In-Game
- Some commands require you to be in a world
- Check if you have the necessary permissions (creative mode for item commands)
Related Topics
Modules
Learn about modules that commands control
Configuration
Understand configuration and values
Scripting
Create custom commands with scripts
ClickGUI
Alternative GUI-based control
add <name> [alias]- Add a friendremove <name>- Remove a friendalias <name> <alias>- Set friend aliaslist- Show all friendsclear- Remove all friends