Built-in Commands
Gate includes several useful built-in commands by default for managing players and servers across your proxy network.If you want to add custom commands, refer to the Developers Guide.
Available Commands
/server
Allows players to view and switch between servers in the network. Permission:gate.command.server
Usage:
/glist
View the number of players on the Gate proxy instance. Permission:gate.command.glist
Usage:
/send
Send one or all players to another server. Permission:gate.command.send
Usage:
Command Reference
| Command | Permission | Description |
|---|---|---|
/server | gate.command.server | View and switch to another server |
/glist | gate.command.glist | View player counts across the network |
/send | gate.command.send | Send one or all players to another server |
Configuration
Permission Requirements
By default, built-in commands don’t require the listed permissions - all players can use them. To require permissions for built-in commands, enable permission checks inconfig.yml:
- Players without
gate.command.servercannot use/server - Players without
gate.command.glistcannot use/glist - Players without
gate.command.sendcannot use/send
Disabling Built-in Commands
If you want to disable all built-in commands (for example, to use your own custom implementations), set:/server,/glist, and/sendwill not be registered- You can implement your own versions of these commands
- No conflicts with custom command plugins
Permission System Integration
Gate’s built-in commands integrate with your permission system. How you grant permissions depends on your setup:LuckPerms Example
Permission Groups Example
Use Cases
Server Networks
Allow players to navigate your network:Staff Management
Moderators can check player distribution:Load Balancing
Administrators can balance player loads:Common Patterns
Hub-Based Network
For networks with a central hub:- All players:
gate.command.server(can leave lobby) - Staff only:
gate.command.send(can summon players)
Restricted Access
For networks with private servers:- Public servers: Grant
gate.command.serverto everyone - VIP servers: Grant
gate.permission.server.vipseparately - Admin tools: Grant
gate.command.sendto admins only
Best Practices
Enable Permissions
Enable
requireBuiltinCommandPermissions: true for production networks to control accessGrant Incrementally
Start with minimal permissions and grant more based on player roles
Document Commands
Tell players about available commands in your server MOTD or welcome message
Monitor Usage
Log command usage to detect abuse or unexpected patterns
Custom Commands
If you need more advanced functionality beyond the built-in commands, you can:- Create custom commands - Use the Gate plugin API to add your own commands
- Use external plugins - Install community-made command plugins
- Disable built-ins - Set
builtinCommands: falseand implement your own versions
Built-in commands are designed to be simple and efficient. For complex features like GUIs, cooldowns, or database integration, consider creating custom commands.

