# Drop crates

RageMode comes with built-in drop crate system for receiving extra bonus rewards for players during gameplay. You can find all related settings in `plugins/drop-crates.yml` file. These crates are optional and you don't have to add to every game.

***

### Features

* Crates can be removed (disappear) after x seconds passed
* Configurable chance to drop
* Times between drop seconds
* Player collect cooldown seconds (how many crates can a player collect within x seconds)
* Send firework effect on interaction
* Display hologram above chest crate with text
* Every remaining crate will be removed on game end

***

<figure><img src="/files/GzoC9tWKMsFzILcgYzRo" alt=""><figcaption></figcaption></figure>

### Add crates to a game

1. Select a game where you want drop crates to appear `/rm gamesetup <game> gui` *(This is the only way to add crates)*
2. Modify crate spawn chance to your liking (you can even set to 0 to not spawn them)
   1. <kbd>Left</kbd> click to increase by 1
   2. <kbd>Shift + left</kbd> click to increase by 10
   3. <kbd>Right</kbd> click to decrease by 1
   4. <kbd>Shift + right</kbd> to decrease by 10
3. Add as many crates as you want to your location

***

### Rewards configuration

Crates can only have 1 reward for one player only. Rewards are chosen randomly from the config, you can configure, add more possibilities to select from. Rewards can be game items, skill points & experience, potion effects, in game points

{% hint style="info" %}
Crates will disappear from game once a player interacts and collects rewards from it.
{% endhint %}

```yml
crate-rewards:
  '1': # any name
    chance: 50
    points: 20
    items:
    - grenade=2
  extrapoints:
    points: 2
  top:
    chance: 10
    effects:
    - regeneration amplifier=1 duration=180 particles=true ambient=true icon=true
    items:
    - flash=2
  extraskillpoint:
    chance: 3
    skillpoints: 1
  extraskillexp:
    skillexp: 10
```


---

# Agent Instructions: 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://mdswork.gitbook.io/ragemode-docs/guides/drop-crates.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.
