> For the complete documentation index, see [llms.txt](https://nekoplugins.gitbook.io/mapmenu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nekoplugins.gitbook.io/mapmenu/actions.md).

# Actions

List of all available actions

<mark style="color:purple;">**Console:**</mark>\
This action is used to execute commands from the console

```
- "[console] COMMAND"
```

<mark style="color:purple;">**Message:**</mark>\
This action is used to send a message to the player

```
- "[message] MESSAGE"
```

<mark style="color:purple;">**Player:**</mark>\
This action is used to execute commands from the player.

```
- "[player] COMMAND"
```

<mark style="color:purple;">**Open menu:**</mark>\
This action is to open another menu.

```
- "[open_menu] MENU_NAME"
```

<mark style="color:purple;">**Connect:**</mark>\
This action is used to connect to another server.

```
- "[connect] SERVER_NAME"
```

<mark style="color:purple;">Chat:</mark>\
This action is used to force the player to write in the chat.

```
- "[chat] MESSAGE"
```

<mark style="color:purple;">**Close:**</mark>\
This action is used to close and exit the menu.

```
- "[close]"
```

<mark style="color:purple;">**Broadcast:**</mark>\
This action is used to broadcast a message.

```
- "[broadcast] MESSAGE"
```

<mark style="color:purple;">**Back:**</mark>\
This action is used to go back to the previous menu.

```
- "[back]"
```

<mark style="color:purple;">**JavaScript:**</mark>\
This action is used to execute code through scripting.\
`example: - "[javascript] BukkitPlayer.giveExpLevels(10)"`

```
- "[javascript] CODE" 
```

<mark style="color:purple;">**Json message:**</mark>\
This action is used to send a message to the player in JSON format.

```
- "[json_message] JSON MESSAGE"
```

<mark style="color:purple;">**Json broadcast**</mark>\
This action is used to broadcast a message in JSON format.

```
- "[json_broadcast] JSON MESSAGE"
```

<mark style="color:purple;">**Give EXP:**</mark>\
This action is used to give experience levels to the player.

```
- "[give_exp] EXP AMOUNT"
```

<mark style="color:purple;">**Take EXP:**</mark>\
This action is used to take experience levels to the player

```
- "[take_exp] EXP AMOUNT"
```

<mark style="color:purple;">**Title:**</mark>\
This action is used to send a title to the player.

```
- "[title] MESSAGE"
```

<mark style="color:purple;">**Sub Title:**</mark>\
This action is used to send a subtitle to the player.

```
- "[subtitle] MESSAGE"
```
