# Per Vote Reward

All settings regarding voting can be found in **votes.yml**

{% code fullWidth="true" %}

```yaml
# Determines whether incoming votes should be
# logged in the console for monitoring purposes.
log-incoming-votes: true

# Specifies whether votes should only be counted
# when the player is online, ensuring accuracy.
count-only-when-online: false
# If it is set to false, it will proceed
# the vote even for unregistered players.
count-before-first-join: true

# Enables a per-vote reward system, allowing for
# customized rewards.
enable-per-vote-rewards: true
per-vote-rewards:
  example:
    permission: ultimaterewards.votes.example
    actions:
      - "[console] give %player% emerald 1"     
  anotherExample:
    permission: ultimaterewards.votes.anotherExample
    actions:
      - "[message] Thanks for voting for us!"
      - "[console] give %player% diamind 1"
```

{% endcode %}


---

# 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://ultimaterewards.athelion.eu/configuration/rewards/reward-types/per-vote-reward.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.
