A powerful and easy-to-use custom command creation plugin for server.
The Ultimate Custom Command Plugin for Lazy Server Owners! 🚀
Create powerful custom commands in minutes with zero coding knowledge!
BubbleCommand is a powerful yet incredibly simple Spigot/Paper/Purpur plugin that lets you create custom commands using just a config file. Perfect for server owners who want to add custom functionality without writing a single line of code!
%player% - Player's name%displayname% - Player's display name%uuid% - Player's UUID%world% - Player's current world%x%, %y%, %z% - Player's coordinates%health% - Player's health%food% - Player's food level%level% - Player's level%exp% - Player's experience%gamemode% - Player's gamemode%sender% - Command sender's name%arg0%, %arg1%, etc. - Command arguments%args% - All arguments joinedDownload the latest BubbleCommand-x.x.x.jar
Place the JAR file in your server's plugins folder
Restart your server
Configure your custom commands in plugins/BubbleCommand/config.yml
Reload with /bubblecommand reload (or restart)
That's it! 🎉
plugins/BubbleCommand/config.ymlheal: command example# at the start of each line to uncomment it/bubblecommand reload in-game/heal command!Copy this template and add it to your config:
custom-commands:
mycommand:
aliases: [mc]
description: "My awesome command"
permission: "bubblecommand.mycommand"
player-only: true
cooldown: 60
actions:
- "message: &aHello, %player%!"
- "sound: ENTITY_PLAYER_LEVELUP"
Then:
mycommand to whatever you want/bubblecommand reloadcustom-commands:
commandname: # The command name (use lowercase)
aliases: [alias1, alias2] # Optional command aliases
description: "Description" # Command description
permission: "perm.node" # Optional permission
player-only: true # true = players only, false = anyone
cooldown: 60 # Cooldown in seconds (0 = no cooldown)
actions: # List of actions to execute
- "action1"
- "action2"
Run commands with console permissions (bypasses permission checks):
actions:
- "console: give %player% diamond 64"
- "console: tp %player% 0 100 0"
Run commands as the player (respects permissions):
actions:
- "player: warp spawn"
- "player: home"
Send colored messages to the player:
actions:
- "message: &a&lSUCCESS! &7You did it!"
- "message: &cError: Invalid command!"
Broadcast to all online players:
actions:
- "broadcast: &6[Server] &e%player% &7just did something cool!"
Play sounds to the player:
actions:
- "sound: ENTITY_PLAYER_LEVELUP"
- "sound: BLOCK_NOTE_BLOCK_PLING"
- "sound: UI_TOAST_CHALLENGE_COMPLETE"
Display title and subtitle:
actions:
- "title: &6Welcome!|&eEnjoy your stay|10|70|20"
# Format: title|subtitle|fadeIn|stay|fadeOut (times in ticks)
Show actionbar message:
actions:
- "actionbar: &eYou received a reward!"
heal:
aliases: [h]
description: "Heal yourself to full health"
permission: "bubblecommand.heal"
player-only: true
cooldown: 60
actions:
- "console: effect give %player% minecraft:instant_health 1 10"
- "console: effect give %player% minecraft:saturation 1 10"
- "message: &a&lHEALED! &7You have been healed to full health!"
- "sound: ENTITY_PLAYER_LEVELUP"
starterkit:
aliases: [kit, starter]
description: "Get a starter kit"
permission: "bubblecommand.kit.starter"
player-only: true
cooldown: 86400 # 24 hours
actions:
- "console: give %player% minecraft:iron_sword 1"
- "console: give %player% minecraft:iron_pickaxe 1"
- "console: give %player% minecraft:cooked_beef 32"
- "message: &e&lSTARTER KIT! &7You received your starter items!"
- "title: &6Welcome!|&eEnjoy your kit|10|40|10"
- "sound: ENTITY_PLAYER_LEVELUP"
report:
aliases: []
description: "Report a player"
permission: "bubblecommand.report"
player-only: true
cooldown: 300 # 5 minutes
actions:
- "console: execute as @a[permission=bubblecommand.staff] run tellraw @s {\"text\":\"[REPORT] %player% reported: %args%\",\"color\":\"red\"}"
- "message: &c&lREPORT SENT! &7Thank you for reporting."
- "sound: BLOCK_NOTE_BLOCK_PLING"
announce:
aliases: [broadcast, bc]
description: "Broadcast a message"
permission: "bubblecommand.broadcast"
player-only: false
actions:
- "broadcast: &6&l[ANNOUNCEMENT] &e%args%"
- "sound: BLOCK_NOTE_BLOCK_PLING"
Use & for color codes in messages:
| Code | Color | Code | Format |
|---|---|---|---|
&0 |
Black | &l |
Bold |
&1 |
Dark Blue | &m |
Strikethrough |
&2 |
Dark Green | &n |
Underline |
&3 |
Dark Aqua | &o |
Italic |
&4 |
Dark Red | &r |
Reset |
&5 |
Dark Purple | ||
&6 |
Gold | ||
&7 |
Gray | ||
&8 |
Dark Gray | ||
&9 |
Blue | ||
&a |
Green | ||
&b |
Aqua | ||
&c |
Red | ||
&d |
Light Purple | ||
&e |
Yellow | ||
&f |
White |
| Command | Description | Permission |
|---|---|---|
/bubblecommand |
Show plugin information | - |
/bubblecommand reload |
Reload configuration | bubblecommand.admin |
/bcommand |
Alias for bubblecommand | - |
/bc |
Alias for bubblecommand | - |
| Permission | Description | Default |
|---|---|---|
bubblecommand.* |
All permissions | op |
bubblecommand.admin |
Admin commands (reload) | op |
bubblecommand.use |
Basic command usage | true |
Custom commands use their own permissions as defined in config.
settings:
debug: false # Enable debug messages in console
default-permission: "" # Default permission for all commands
save-data: true # Save player data (cooldowns)
cooldown-message: "&cYou must wait %time% seconds before using this command again!"
no-permission-message: "&cYou don't have permission to use this command!"
player-only-message: "&cThis command can only be used by players!"
Execute multiple actions in sequence:
actions:
- "message: &eStarting teleport..."
- "sound: BLOCK_NOTE_BLOCK_PLING"
- "console: tp %player% 0 100 0"
- "message: &aTeleported!"
Use arguments in your commands:
givemoney:
actions:
- "console: eco give %arg0% %arg1%"
- "message: &aGave &e$%arg1% &ato &e%arg0%"
# Usage: /givemoney PlayerName 1000
Use player placeholders for dynamic commands:
hometp:
actions:
- "player: home %arg0%"
- "message: &aTeleporting to %arg0%'s home..."
BubbleCommand is designed for production environments:
Q: My command doesn't work!
# to uncomment the command/bubblecommand reload after making changesQ: Cooldown isn't working!
save-data: true in settingsdata.ymlQ: Colors aren't showing!
& not § for color codesQ: Command says "Unknown command"!
/bubblecommand reload after editing configconsole: for commands that need admin permissionsBubbleCommand is licensed under the MIT License.
Made with ❤️ for the Minecraft community