---
description: Execute JavScript scripts
---

# JavaScript

## 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="../../scripts/bloques-de-codigo" %}
[bloques-de-codigo](../../scripts/bloques-de-codigo)
{% endcontent-ref %}
