# Onlineteam

## config.yml

### Prefix

The prefix is used by default with every message. It can be set in the message files at the beginning of each message. To set it, simply write `%prefix%` (placeholder). This will then be exchanged by the system with the prefix entered in `config.yml`.

```yaml
prefix: "&bTeamonline &7|&r"
```

### countOfTeamGroups

Here you specify how many team groups you have on your network.

Here is an example of the groups: Owner, Admin, Developer, Builder, Moderator, Supporter, etc.

```yaml
countOfTeamGroups: 6
```

### teamGroups

In the configuration teamGroups you define the name + prefix of the group, as well as the permission the player must have to be displayed when executing the command.

{% hint style="warning" %}
The important thing is that, as shown below, you start with the number 1 and end with the number you specified in the `coutOfTeamGroups` option.
{% endhint %}

```yaml
teamGroups:
  1:
    name: "&4Owner"
    permission: "bungeesystem.onlineteam.owner"
  2:
    name: "&cAdmin"
    permission: "bungeesystem.onlineteam.admin"
  3:
    name: "&1Moderator"
    permission: "bungeesystem.onlineteam.moderator"
  4:
    name: "&9Supporter"
    permission: "bungeesystem.onlineteam.supporter"
  5:
    name: "&bDeveloper"
    permission: "bungeesystem.onlineteam.developer"
  6:
    name: "&2Builder"
    permission: "bungeesystem.onlineteam.builder"
```

### Aliases

You can also define so-called aliases that you can enter instead of /onlineteam. To do this, simply add more points under the item `aliases`.

```yaml
aliases:
  - "ao"
  - "adminonline"
```

### Default configuration

```yaml
onlineteam:
  prefix: "&bTeamonline &7|&r"
  countOfTeamGroups: 6
  teamGroups:
    1:
      name: "&4Owner"
      permission: "bungeesystem.onlineteam.owner"
    2:
      name: "&cAdmin"
      permission: "bungeesystem.onlineteam.admin"
    3:
      name: "&1Moderator"
      permission: "bungeesystem.onlineteam.moderator"
    4:
      name: "&9Supporter"
      permission: "bungeesystem.onlineteam.supporter"
    5:
      name: "&bDeveloper"
      permission: "bungeesystem.onlineteam.developer"
    6:
      name: "&2Builder"
      permission: "bungeesystem.onlineteam.builder"
  aliases:
    - "ao"
    - "adminonline"
```

## Command

### Syntax

```
/onlineteam
```


---

# 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-en.herrtechniker.eu/bungeesystem/module/onlineteam.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.
