Quick Commands
Quick Commands
Section titled “Quick Commands”Quick Commands allow you to create reusable command shortcuts for frequently used server commands. Access them from the sidebar menu.
Overview
Section titled “Overview”Quick Commands provide:
- One-click execution of complex commands
- Organized categories for better management
- Custom naming for easy identification
- Shareable across all panel users
Creating Quick Commands
Section titled “Creating Quick Commands”Via the Panel
Section titled “Via the Panel”- Navigate to Quick Commands in the sidebar
- Click Add Quick Command
- Fill in the details:
- Name: Display name for the command
- Command: The server command to execute
- Category: Optional grouping (e.g., “Admin”, “Events”)
- Description: Optional description
Example Commands
Section titled “Example Commands”| Name | Command | Category |
|---|---|---|
| Clear Weather | /weather clear | World |
| Set Day | /time set day | World |
| Heal All | /effect @a instant_health 1 5 | Player |
| Event Mode | /gamerule doDaylightCycle false | Events |
| Server Restart Warning | /say Server restarting in 5 minutes! | Admin |
Managing Commands
Section titled “Managing Commands”Editing Commands
Section titled “Editing Commands”- Find the command in the list
- Click the Edit (pencil) icon
- Modify the details
- Click Save
Deleting Commands
Section titled “Deleting Commands”- Find the command in the list
- Click the Delete (trash) icon
- Confirm deletion
Organizing by Category
Section titled “Organizing by Category”Commands are grouped by category:
- Commands without a category appear under “Uncategorized”
- Click on a category header to expand/collapse
- Categories are created automatically when you assign them
Executing Commands
Section titled “Executing Commands”Single Execution
Section titled “Single Execution”- Find the command in the list
- Click the Run (play) icon
- Command executes immediately
- Output appears in the console
From Dashboard
Section titled “From Dashboard”Quick Commands can also be accessed from the Dashboard widget for faster access to your most-used commands.
API Reference
Section titled “API Reference”Endpoints
Section titled “Endpoints”| Method | Endpoint | Description |
|---|---|---|
| GET | /api/scheduler/quick-commands | List all quick commands |
| POST | /api/scheduler/quick-commands | Create a new command |
| PUT | /api/scheduler/quick-commands/:id | Update a command |
| DELETE | /api/scheduler/quick-commands/:id | Delete a command |
| POST | /api/scheduler/quick-commands/:id/execute | Execute a command |
Data Structure
Section titled “Data Structure”{ "id": "uuid", "name": "Set Day", "command": "/time set day", "category": "World", "description": "Sets the time to day", "createdAt": "2024-01-15T10:30:00Z", "createdBy": "admin"}Permissions
Section titled “Permissions”Quick Commands use the scheduler permissions:
| Permission | Description |
|---|---|
scheduler.view | View quick commands list |
scheduler.manage | Create, edit, delete, and execute commands |
Best Practices
Section titled “Best Practices”- Use descriptive names - Make it clear what the command does
- Group related commands - Use categories for organization
- Document complex commands - Use the description field
- Test before sharing - Verify commands work correctly
- Limit destructive commands - Be careful with commands that affect the world
- Quick Commands support command chaining (multiple commands separated by
;) - Use variables like
@a(all players),@p(nearest player),@r(random player) - Commands are logged in the server console for auditing