Overview
The/hubbly command is the main command for the Hubbly plugin, providing access to administrative functions, configuration management, and custom item distribution.
Syntax
Aliases
/hb
Base Command
Running
/hubbly without arguments displays usage information.Permission: hubbly.hubbly (default: true)Subcommands
help
Displays a list of all available commands and their usage.Shows all main commands and subcommands with their descriptions.Permission:
hubbly.command.helpversion
Displays the current plugin version and API information.Shows the plugin version, API version, and website URL.Permission:
hubbly.command.versionreload
Reloads the plugin’s configuration files.Reloads all configuration files and reinitializes boss bars.Permission:
hubbly.command.reload (default: op)This command will temporarily remove and re-add all boss bars during the reload process.
give
Gives a custom Hubbly item to a player.Distributes custom items defined in the plugin configuration.Permission:
hubbly.command.give (default: op)The target player’s username.
The internal name of the custom item to give (e.g., compass, launchpad, trident).
The number of items to give (default: 1). Must be between 1 and the item’s max stack size.
The inventory slot to place the item in (1-36). If not specified, the item is added to the first available slot.
menu
Opens a custom menu for a player.Opens a menu defined in the
menus/ folder.Permission: hubbly.command.menuThe name of the menu file (without .yml extension) located in the
menus/ folder.Players can only execute this command. The menu must exist in the
plugins/Hubbly/menus/ directory.nextannouncement
Skips to the next scheduled announcement in the queue.Immediately broadcasts the next announcement without waiting for the timer.Permission:
hubbly.command.nextannouncement (default: op)This command respects disabled worlds and will not send announcements to players in those worlds.
convert
Converts legacy configuration files to the new menu format.Converts old menu formats (v2.x) to the new v3.0 format.Permission:
hubbly.command.convertThe type of file to convert. Valid options:
selector- Converts server selector configurationsocials- Converts socials menu configuration
worlds
Manages the disabled worlds list dynamically.Control which worlds have Hubbly features enabled or disabled.Permission:
hubbly.command.worldsadd <world>- Add a world to the disabled worlds listremove <world>- Remove a world from the disabled worlds listcheck <world>- Check if a world is in the disabled worlds listlist- List all disabled worlds
Changes made with this command are temporary and will be lost on server restart. Edit
config.yml for permanent changes.pv
Manages player visibility (show/hide players).Toggle player visibility for the command sender.Permission:
hubbly.command.playervisibilityshow- Show all playershide- Hide all players
This is a player-only command and cannot be executed from console. Changes are saved to the database if enabled.
movement
Sets the player’s movement mode (fly, double jump, or none).Change the player’s active movement enhancement mode.Permission:
hubbly.command.movementfly- Enable flight modedoublejump- Enable double jump modenone- Disable all movement enhancements
debug
Enables debug mode for troubleshooting.Toggle debug mode to see detailed plugin information in console.Permission:
hubbly.command.debugDebug mode can also be enabled in
config.yml by setting debug: true.Permissions
| Permission | Description | Default |
|---|---|---|
hubbly.hubbly | Use the base /hubbly command | true |
hubbly.command.* | Access to all subcommands | op |
hubbly.command.help | Use /hubbly help | - |
hubbly.command.version | Use /hubbly version | - |
hubbly.command.reload | Use /hubbly reload | op |
hubbly.command.give | Use /hubbly give | op |
hubbly.command.menu | Use /hubbly menu | - |
hubbly.command.nextannouncement | Use /hubbly nextannouncement | op |
hubbly.command.convert | Use /hubbly convert | - |
hubbly.command.worlds | Use /hubbly worlds and subcommands | op |
hubbly.command.playervisibility | Use /hubbly pv subcommands | - |
hubbly.command.movement | Use /hubbly movement subcommands | - |
hubbly.command.debug | Use /hubbly debug | op |
Tab Completion
The command provides tab completion for:- Subcommand names
- Player names (for the
givesubcommand) - Item names (for the
givesubcommand) - Menu names (for the
menusubcommand)
Source Reference
Implemented in:HubblyCommand.java:59- Main command handlerSubCommandManager.java- Subcommand registration and management