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

# JavaScript

Execute JavScript scripts

## Usage

```
(java)?(-)?script(s)?|js
```

## Examples

```yaml
- 'js: player.setNoDamageTicks(600)'
- 'js: player.setVelocity(player.getVelocity().setY(25))'
- 'js: bukkitServer.broadcastMessage("A Broadcast Message")'
```

## More infos

{% content-ref url="/pages/-MFVxQ0j52Al0aULTlOM" %}
[Scripts](/trmenu/script/scripts.md)
{% endcontent-ref %}
