# Actions

## Actions list

* \[BROADCAST] Broadcast Message
* \[BUNGEE] Send players to servers
* \[CLOSE] Close a menu
* \[CONSOLE] Execute a command as console
* \[FIREWORK] Spawn a defined firework
* \[GAMEMODE] Change player gamemode
* \[ITEM] Give a hubbly item
* \[MESSAGE] Send a message to the player
* \[PLAYER] Execute a command as the player
* \[SOUND] Makes a defined sound
* \[TITLE] Sends a defined title
* \[LAUNCH] Launches the player!

### BROADCAST

Broadcasts a message to all online players

Usage: `[BROADCAST] {message}`

### BUNGEE

Sends a player to the specified server

Usage: `[BUNGEE] {server}`

### CLOSE

Closes a menu/player inventory

Usage: `[CLOSE]`

### CONSOLE

Executes a command as console

Usage: `[CONSOLE] {command}`

Example `[CONSOLE] kill %player_name%`

Player placeholder: %player\_name%

### FIREWORK

Spawn a defined firework using RGB

Usage: `[FIREWORK] SHAPE;R;G;B;POWER`

Example \`\[FIREWORK] BALL;255;0;255;2

### GAMEMODE

Change the player's gamemode

Usage: `[GAMEMODE] {gamemode}`

Example: `[GAMEMODE] adventure`

### ITEM

Gives a hubbly item defined in items.yml or:

`playervisibility, compass, socials`

Usage: `[ITEM] item;slot`

Example: `[ITEM] socials`

### MESSAGE

Sends a message to the player

Usage: `[MESSAGE] {message}`

Example: `[MESSAGE] Hello!`

### PLAYER

Execute command as player

Usage: `[PLAYER] {command}`

Example: `[PLAYER] kit starter`

### SOUND

Makes a defined sound

Usage: `[SOUND] {sound}`

Example: `[SOUND] block.note_block.chime`

[Click here for a list of sounds](https://www.digminecraft.com/lists/sound_list_pc.php)

### TITLE

Sends a defined title to a player

Usage: `[TITLE] title;subtitle;fadeIn;stay;fadeOut`

Example: `[TITLE] &aHubbly;configure me;20;70;20`

Note: fadeIn, stay and fadeOut in ticks!

### LAUNCH

Launches the player

Usage: `[LAUNCH] power_x;power_y`

Note: same power as launchpad

### MENU

Opens a menu

Usage: `[MENU] filename`&#x20;

Note: Will only open files in the MENUS folder

### EFFECT

Gives the player an effect

Usage: `[EFFECT] effect;duration;strength`&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://calceo.gitbook.io/wiki/hubbly-3.0.0/actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
