Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Discord.yml

StaticFX edited this page Jun 21, 2020 · 6 revisions

Discord.yml

This file has no default values. You need to set the groups by yourself.

The only option you will found is calles: Groups Here you can register your discord groups in a list. Because this is a yml file you need to use the yml list syntax. It will look something like this:

Groups:
  - Premium

Now register all your groups you wan't to sync with the discord. The order of the groups is important. Your highest group should be the highest here aswell, and so on. Please be sure to hold on to the order as listed here: Order

After you executed /setup

The plugin will generate default values for every registered group. They will look something like this:

Premium:
  groupName: Premium
  permission: perm.Premium
  dynamicGroup: false

Let's go trough the different values. GroupName: This value descriptes the groupname on your discord server. So if your ingamegroup is called premium, and your discordgroup is called donator, put it in the groupName.

Permission: This assignes which permission a player needs to get a discord group.

DynmaicGroup: For this option there is a onw page, you can find it here: Dynamic groups

After you set your values, start the proxy again and test it.

Clone this wiki locally