> For the complete documentation index, see [llms.txt](https://zs0bye.gitbook.io/eluckyblock/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zs0bye.gitbook.io/eluckyblock/plugins/eluckyblock-free/set-up-a-rewards.md).

# Set up a Rewards

## How to work

```yaml
<NameReward>:
  <Reward>:
    chance: <Number from 0 to 100>
    execute:
      - '<Executors>'
```

## Executors Type

<table><thead><tr><th>Tag</th><th width="166">Syntax</th><th width="150">Description</th><th>Example</th></tr></thead><tbody><tr><td>[TITLE]</td><td>title;subtitle;fade-in;stay;fade-out</td><td>Send a title to the player</td><td>[TITLE] title;subtitle,20;40,20</td></tr><tr><td>[BROADCAST_TITLE]</td><td>title;subtitle;fade-in;stay;fade-out</td><td>Send everyone a title</td><td>[BROADCAST_TITLE] title;subtitle;20;40;20</td></tr><tr><td>[ACTION]</td><td>text</td><td>Send an action message to the player</td><td>[ACTION] text</td></tr><tr><td>[BROADCAST_ACTION]</td><td>text</td><td>Send a message in action to everyone</td><td>[BROADCAST_ACTION] text</td></tr><tr><td>[MESSAGE]</td><td>text</td><td>Send a chat message to the player</td><td>[MESSAGE] text</td></tr><tr><td>[BROADCAST]</td><td>text</td><td>Send a chat message to everyone</td><td>[BROADCAST] text</td></tr><tr><td>[BOSSBAR]</td><td>title;color;style;progress;times</td><td>Send a message in the boss bar to the player</td><td>[BOSSBAR] title;YELLOW;SEGMENTED_20;1.0;5</td></tr><tr><td>[BROADCAST_BOSSBAR]</td><td>title;color;style;progress;times</td><td>Send a message in the boss bar to everyone</td><td>[BROADCAST_BOSSBAR] title;YELLOW;SEGMENTED_20;1.0;5</td></tr><tr><td>[SOUND]</td><td>sound;acute;volume</td><td>Play a sound to the player</td><td>[SOUND] BLOCK_LAVA_POP;0;1</td></tr><tr><td>[EFFECT]</td><td>effect;level;times</td><td>It gives an effect to the player</td><td>[EFFECT] FAST_DIGGING;2;120</td></tr><tr><td>[CLEAR_EFFECT]</td><td>effect (or all)</td><td>Removes an effect from the player</td><td>[CLEAR_EFFECT] BLINDNESS</td></tr><tr><td>[PLAYER]</td><td>command without /</td><td>Executes a command from the player</td><td>[PLAYER] balance</td></tr><tr><td>[CONSOLE]</td><td>command without /</td><td>Executes a command from the console</td><td>[CONSOLE] eco give %player% 100</td></tr><tr><td>[SUDO]</td><td>text</td><td>Send a chat message from the player</td><td>[SUDO] Hello World!</td></tr><tr><td>[ITEM]</td><td>material;data</td><td>Spawns an item on the ground</td><td>[ITEM] DIAMOND;0</td></tr><tr><td>[SPAWNMOB]</td><td>mob</td><td>Spawn a mob</td><td>[SPAWNMOB] ZOMBIE</td></tr><tr><td>[GIVE_XP]</td><td>level;exp</td><td>It gives you levels and/or experience</td><td>[GIVE_XP] 1;25</td></tr><tr><td>[TAKE_XP]</td><td>level;exp</td><td>It takes away levels and/or experience</td><td>[TAKE_XP] 1;0</td></tr><tr><td>[GIVE_MONEY]</td><td>number of money</td><td>It gives you money</td><td>[GIVE_MONEY] 120</td></tr><tr><td>[TAKE_MONEY]</td><td>number of money</td><td>It takes away money</td><td>[TAKE_MONEY] 10</td></tr><tr><td>[LAUNCH_FIREWORKS]</td><td>firework name</td><td>Launches fireworks</td><td>[LAUNCH_FIREWORKS] firework1</td></tr></tbody></table>

## Nothing Type

```yaml
<NameReward>:
  nothing:
    execute:
      - '<Executors>'
```

If you put "nothing" as the name of "Reward", you can set the executors that are sent, when the player will not receive any reward when the LuckyBlock is broken


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://zs0bye.gitbook.io/eluckyblock/plugins/eluckyblock-free/set-up-a-rewards.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.
