Examples
Example 1: Simple Welcome Command
config.json
{
"name": "welcome",
"description": "Welcome message for new players",
"requiresConfirmation": false,
"title": "Welcome to Our Server!",
"subtitle": "Enjoy your stay",
"message": "<gradient:gold:yellow>Thanks for joining us!</gradient>",
"sound": true,
"autoRun": false
}
Usage: /welcome
Example 2: Discord Link with Cooldown
config.json
{
"name": "discord",
"description": "Join our Discord server",
"requiresConfirmation": false,
"title": "Join Our Discord",
"subtitle": "Click the link below!",
"message": "<link:https://discord.gg/yourserver><gradient:blue:light_purple><b>Click here to join our Discord!</b></gradient></link>",
"cooldown": 60,
"cooldownAsPopup": true,
"cooldownPopupTitle": "<color:red>Slow Down!</color>",
"cooldownPopupSubtitle": "Wait {time} more seconds",
"sound": true,
"autoRun": false
}
Features:
- 60 second cooldown
- Shows popup when on cooldown
- Clickable Discord link with gradient
- Sound effect
Example 3: Auto-Run Vote Reminder
config.json
{
"name": "vote",
"description": "Vote for the server",
"requiresConfirmation": false,
"message": "<gold><b>Support the server!</b></gold> <link:https://example.com/vote><u>Click here to vote</u></link> <green>Get rewards!</green>",
"cooldown": 0,
"sound": false,
"autoRun": true,
"autoRunInterval": 300
}
Features:
- Runs automatically every 5 minutes (300 seconds)
- No cooldown when manually used
- Formatted with colors and clickable link
Example 4: Rules Command
config.json
{
"name": "rules",
"description": "Server rules",
"requiresConfirmation": false,
"title": "Server Rules",
"subtitle": "Please follow these guidelines",
"message": "<gradient:red:yellow><b>═══════════════════</b></gradient>\n<aqua><b>Server Rules:</b></aqua>\n<white>1. Be respectful to all players</white>\n<white>2. No griefing or stealing</white>\n<white>3. No hacking or cheating</white>\n<white>4. Keep chat family-friendly</white>\n<gradient:red:yellow><b>═══════════════════</b></gradient>",
"sound": false,
"autoRun": false
}
Example 5: Shop Command with Confirmation
config.json
{
"name": "shop",
"description": "Open the server shop",
"requiresConfirmation": true,
"message": "<link:https://shop.example.com><gradient:gold:yellow><b>Visit our shop!</b></gradient></link> <gray>- Get exclusive items</gray>",
"cooldown": 30,
"cooldownMessage": "<red>Shop cooldown active. Wait {time} seconds.</red>",
"sound": false,
"autoRun": false
}
Features:
- Requires player confirmation before running
- 30 second cooldown with custom message
- Clickable shop link
Example 6: Announcement with Multiple Formats
config.json
{
"name": "announce",
"description": "Important server announcement",
"requiresConfirmation": false,
"title": "Server Announcement",
"subtitle": "Please read below",
"message": "<gradient:red:gold:yellow><b>╔═══════════════════════════╗</b></gradient>\n<aqua><b><u>ANNOUNCEMENT</u></b></aqua>\n<white>The server will restart in</white> <red><b>30 minutes</b></red>\n<white>Please save your progress!</white>\n<gradient:red:gold:yellow><b>╚═══════════════════════════╝</b></gradient>",
"sound": true,
"autoRun": false
}