# Member Fee

## How does it work?

If enabled by the server and the clan, at `1am` a fee (set by the leader) is collected from the non-leaders. A member that doesn't have enough money to pay it will be automatically kicked from the clan. The collected fee is added to the clan bank.

## Configuration

* `member-fee-enabled` - Enables or disables the feature.
* `max-member-fee` - Limits the fee, so leaders may not abuse the members.
* `purchase-member-fee-set` - Enable this to charge the value below everytime a leader changes the fee value.
* `member-fee-set-price` - Value to charge for changes on the fee value

#### Example

```yaml
economy:
    member-fee-enabled: false
    max-member-fee: 200.0
    purchase-member-fee-set: false
    member-fee-set-price: 1000.0
```

## Permissions

| Permission                     | Description                                                        |
| ------------------------------ | ------------------------------------------------------------------ |
| `simpleclans.leader.fee`       | Allows the user to toggle the fee and set its value                |
| `simpleclans.member.fee-check` | allows the member to check how much is the fee and if it's enabled |

## Commands

| Permission               | Description                  | Permission                     |
| ------------------------ | ---------------------------- | ------------------------------ |
| `/clan toggle fee`       | Enables/disables the fee     | `simpleclans.leader.fee`       |
| `/clan fee set [amount]` | Sets the fee value           | `simpleclans.leader.fee`       |
| `/clan fee check`        | Checks the status of the fee | `simpleclans.member.fee-check` |


---

# 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://wiki.roinujnosde.me/simpleclans/how-to-setup/member-fee.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.
