---
description: 指令组
---

# Run

%player%is a placeholder for player names

<details>

<summary>1.[player] Ask the player to send a command</summary>

写法: `[player]指令`

示例: `[player]spawn %player%`

</details>

<details>

<summary>2.[console] Send an command from the console</summary>

写法: `[console]指令`

示例: `[console]spawn %player%`

</details>

<details>

<summary>3.[op] Execute instructions with OP privileges</summary>

写法: `[`op`]指令`

示例: `[`op`]spawn`

</details>

<details>

<summary>4.[message] Send a message</summary>

写法: `[`message`]消息`

示例: `[`message`]Hello %player%!`

</details>

<details>

<summary>5.[title] Send a title message</summary>

写法: `[`title`]主标题;副标题`

示例: `[`title`]Hello %player%!;I'm your father!`

</details>

<details>

<summary>6.[sound] Play a sound</summary>

写法: `[`sound`]音效ID;pitch;volume`

示例: `[`sound`]BLOCK_CHEST_OPEN;1;1`

</details>

<details>

<summary>7.[broad] Send a broadcast</summary>

写法: `[`broad`]`消息

示例: `[`broad`]玩家%player%路过~`

</details>

<details>

<summary>8.[broad_guild] Send a guild message</summary>

写法: `[`broad\_guild`]`消息

示例: `[`broad\_guild`]公会成员%player%路过~`

</details>

<details>

<summary>9.[guild_money] Increase the guild funds of the player's guild</summary>

写法: `[`guild\_money`]`amount

示例: `[`guild\_money`]500`

</details>

<details>

<summary>10.[guild_points] Increase player's guild points value</summary>

写法: `[`guild\_points`]`amount

示例: `[`guild\_points`]500`

</details>

<details>

<summary>11.[guild_activity] Increase the guild activity of the player's guild</summary>

写法: `[`guild\_activity`]`amount

示例: `[`guild\_activity`]500`

</details>

<details>

<summary>12.[guild_exp] Increase the guild experience of the player's guild</summary>

写法: `[`guild\_exp`]`amount

示例: `[`guild\_exp`]500`

</details>

***

{% hint style="info" %}
Probability execution

```
Adding ~chance: 0~1 at the end of the statement gives the statement a specified probability of execution
如:
  [player]spawn %player% ~chance:0.1 #10%  
  [console]money give %player% 10000 ~chance:0.01 #1%  
  [message]You are my father! ~chance:0.5 #50%  
```
{% endhint %}
