# Permissions

## Command Permissions

Permissions for commands can be turned on in the `commandManager` section in the settings.yml&#x20;

```yaml
commandManager:
  friend:
    enabled: true
    command: '/friend' # this means that the commands starts with /friend
    permissionNeeded: false # If enabled, you will need 'friendsystem.commands.friend' permission
    aliases: '/friends'
  msg:
    enabled: true
    command: '/msg'
    permissionNeeded: false # If enabled, you will need 'friendsystem.commands.msg' permission
    aliases: '/message, /tell'
  r:
    enabled: true
    command: '/r'
    permissionNeeded: false # permission: friendsystem.commands.r
    aliases: '/reply'
  party:
    enabled: true
    command: '/party'
    permissionNeeded: false # permission: friendsystem.commands.party
    aliases: ''
  p:
    enabled: true
    command: '/p'
    permissionNeeded: false # permission: friendsystem.commands.p
    aliases: ''
```

## Friend & Party Limit Permission

{% hint style="info" %}
If you want a group (for example premiums) to be able to have more friends or create bigger parties, you have to enable permissions and create a permission in the settings.yml.
{% endhint %}

```yaml
permissions:
  friendsLimit: true # if disabled, then you can have unlimited friends.
  # You can create as many maxfriends groups as you want below
  # and give them 'friendsystem.group.<group>' permission
  maxFriends:
    default: 5
    premium: 25
    premium_plus: 50
    youtuber: 100
    moderator: 500

  partySizeLimit: true # if disabled, then a party can have unlimited members.
  # You can create as many maxParty groups as you want below
  # and give them 'friendsystem.group.<group>' permission
  maxPartySize:
    default: 3
    premium: 5
    premium_plus: 10
    youtuber: 50
    moderator: 100
```


---

# 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://sk8ingduck.gitbook.io/friendsystem/friends-and-party-system-wiki/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.
