This repository has been archived by the owner on Jul 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
heg config
Relentless edited this page Jul 29, 2022
·
1 revision
This guide will give you a detailed information how to configure the script to your needs.
A good start to configure a script is to understand its functionality. Here are a few small points which are important if you want to set everything up correctly.
- The script is listening to events so header groups are only assigned or removed if you assign or remove a group manually.
- There also in an optional option so the script also recognizes when someone joins the server. If you activate that, the script will check if the user who joined has the right header groups for their current groups.
- Another optional functionality is that the script checks all online users on startup/restart/script reload. In case you changed someone's groups when the bot was not online, it will do it once it's back online.
- Group IDs you set in the config that have no valid servergroup will be ignored.
- The script detects a lot of misconfiguration and provides standard values. Just make sure to fill out each field marked with (*).
- If there is a severe error that affects the script's functionality, it will be written in the log and the script won't be executed.
The first section is all about the general options. You configure every basic aspect of the script here.
Please click the option you want to configure to get more information.
Multiple-Headers
Details:
- optional option | default value:
No
- select
Yes
orNo
Info:
- defines if multiple header groups are allowed for any trigger groups
- helpful if you have more than one header group for some trigger groups for example the trigger group
Moderator
has the header groupsStaff
andSupport
- leave this deactivated if you only have one header group for all trigger groups to save some performance
Check-On-Load
Details:
- optional option | default value:
Yes
- select
Yes
orNo
Info:
- defines if the script should verify the header groups of all currently online users of the server
- this will delete everyone's header groups if they do not have the respective trigger groups and vis versa
- this can be useful if the bot was offline during a group assignment/removal
Check-On-Join
Details:
- optional option | default value:
Yes
- select
Yes
orNo
Info:
- defines if the script should verify the header groups of a client when they join the server
- this will delete a user's header groups if they do not have the respective trigger groups and vis versa
- this can be useful if the user was offline during a group assignment/removal
The second and last section is all about the groups. You can set as many groups as you want.
Please click the option you want to configure to get more information.
Header-Group
Details:
- required option | default value: none
- enter the id of the group you want as header group
Info:
- that's the group that is automatically assigned/removed by the script, when at least one of the trigger groups was assigned/removed
- if you don't enter an id of a group or the id does not refer to a valid group, the corresponding group will be skipped and won't work
Trigger-Groups
Details:
- required option | default value: none
- enter a list of group ids you want to have as trigger groups
Info:
- that's the pool of groups which is used to trigger the header group assignment/removal
- if you don't enter any id of a group or the ids do not refer to valid groups, the corresponding group will be skipped and won't work