# Permissions

<details>

<summary>plugin.yml</summary>

{% code lineNumbers="true" fullWidth="true" %}

```yaml
permissions:
  rpg.*:
    description: Gives access to all RealisticPlantGrowth features.
    default: op
    children:
      rpg.reload: true
      rpg.help: true
      rpg.info: true

  rpg.reload:
    description: Gives access to the /rpg reload command.
    default: op

  rpg.help:
    description: Base-Permission to access /rpg command.
    default: op

  rpg.info:
    description: Gives access to the /rpg info command.
    default: op
    children:
      rpg.info.interact: true

  rpg.info.interact:
    description: Gives growth information of plants when interacting with them.
    default: true
```

{% endcode %}

</details>

***

## Admin

The permissions listed in this section are intended for use by server administrators who have knowledge of the plugin's behavior and configurations.

### `rpg.*`

This permission grants access to all commands offered by the **Realistic Plant Growth** plugin.

### `rpg.reload`

This permission, included in the `rpg.*` group, functions as a negative permission option when providing users with access to the `rpg.*` permission.\
It is essential for the use of the [`/rpg reload`](/overview/commands.md#rpg-reload) command.

***

## User

Recommended permissions for regular users.

### `rpg.help`

This permission is necessary to receive a help message when either the [`/rpg help`](/overview/commands.md#rpg-help) command or an unknown subcommand of the plugin is used.

### `rpg.info`

This permission provides access to the [`/rpg info`](/overview/commands.md#rpg-info) command.

### `rpg.info.interact`

This permission allows players to gather growth information about a plant by performing a left-click on the ground with a seed, within the context of the location of the clicked block.\
To provide this information, a comprehensive area search is conducted to determine the exact modifiers applicable in the current environment.

{% hint style="warning" %}
Prevent server lag caused by players spam-clicking with seeds by utilizing the [`display_cooldown`](/guides/configuration/config.yml.md#display_cooldown) setting in the [`Config.yml`](/guides/configuration/config.yml.md) file!
{% endhint %}

***


---

# 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://realistic-plant-growth.nightevolution.de/overview/permissions.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.
