> For the complete documentation index, see [llms.txt](https://simple.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simple.superiormc.cn/mythicrewards/reward-rules/tip-of-examples.md).

# 📂Tip of examples

There are infinite possibilities for setting rules in this plugin, and the following examples are provided to you.&#x20;

## Example of Combine Usage

You can freely combine the rules you desire. The following is a file that combines ALL and RANK example rules, which allows all players to execute the 2nd to 4th rewards, with the first place executing the 5th reward, the top two executing the 6th reward, and the top three executing the 7th reward.

```yaml
match-entity:
  mythicmobs:
    - 'Example'

# Means 5 minutes, 20 ticks = 1 second
time-out-ticks: 6000

prevent-vanilla-drops: false

general-actions:
  1:
    type: message
    messages:
      - '&#FFEE00======================='
      - '&#FF5555⚔ &l{entity-name} &r&#FF4444has been defeated! ⚔'
      - '&#00FFAA✨TOP DAMAGE DEALERS✨'
      - '@1 &#FF4500🥇 &lFirst: &#FF69B4{player_1} &#FFFFFF(&#32CD32{damage_1}&#FFFFFF | &#1E90FF{percentage_1}%&#FFFFFF)'
      - '@2 &#1E90FF🥈 &lSecond: &#00FFFF{player_2} &#FFFFFF(&#32CD32{damage_2}&#FFFFFF | &#FF69B4{percentage_2}%&#FFFFFF)'
      - '@3 &#32CD32🥉 &lThird: &#FFD700{player_3} &#FFFFFF(&#32CD32{damage_3}&#FFFFFF | &#FF4500{percentage_3}%&#FFFFFF)'
      - '&#FFAA00✨Your Rank: &#FF00FF {rank} &#FFFFFF(&#32CD32{damage}/{total-damage}&#FFFFFF | &#1E90FF{percentage}%&#FFFFFF)'
      - '&#FFEE00======================='
  2:
    type: message
    message: TEST
  3:
    type: message
    message: TEST2
  4:
    type: message
    message: TEST3
  5:
    type: message
    rank-limit: 1
    message: TEST4
  6:
    type: message
    rank-limit: 1~2
    message: TEST5
  7:
    type: message
    rank-limit: 1~3
    message: TEST6
```

## Example of Conditional Usage

Learning more about our action format and condition format will be of great help to you. This page also provides additional evidence in this regard for you.

```yaml
general-actions:
  1:
    type: conditional
    conditions:
      1:
        type: placeholder
        rule: '>='
        placeholder: '{percentage}'
        value: '50'
    actions:
      1:
        type: message
        message: 'Half of the damage is caused by you!'
```

In this example, we used conditional actions to implement the function of only executing actions on players who cause damage at a rate higher than the damage percentage.

* `conditional` action can be found [here](https://ultimateshop.superiormc.cn/format/action-format#conditional-premium). (this link showed you in [Formats](/mythicrewards/format/condition-format.md) page)
* `{percentage}` placeholder showed you in [Formats](/mythicrewards/format/condition-format.md) page.

<figure><img src="/files/2zbzqIxclAtgKUzQ6Q8v" alt=""><figcaption></figcaption></figure>

On that page, you will also find other useful placeholders, such as how much damage you must deal to receive useful rewards for being ranked first.


---

# 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, and the optional `goal` query parameter:

```
GET https://simple.superiormc.cn/mythicrewards/reward-rules/tip-of-examples.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
