-
Notifications
You must be signed in to change notification settings - Fork 0
hog config
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.
- Right when the bot starts with the script, it will automatically check if there are currently any needs to assign servergroups. That means that the bot will validate all clients when it joins so you don't have to worry that clients won't be counted in case the bot was offline or crashed.
- Additionally, the bot listens to an event that detects when clients join. Each time a client joins, the bot checks if it's a relevant date and then decides if groups have to be assigned or not.
- To make sure that the script is always up to date, it has an integrated interval which checks if the date changed and will refresh itself once it detected a change.
- Clients and groups can be blacklisted from the whole script. They won't be counted at all.
- You can also notify clients when they joined on a special date. That way, you can say stuff like
Merry Christmas!
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.
Date-Interval
Details:
- optional option | default value:
60 - enter the time in seconds
Info:
- defines the interval in which the script checks if the day changed
- lower amounts make the script more precise but also drain more performance
- if you set it to 5 minutes (300 seconds), it might be that groups are added 4-5 minutes after a new day started (worst case)
Blacklisted-Clients
Details:
- optional option | default value:
none - enter the client UIDs
Info:
- defines if a client is ignored by the script globally
- this means the client also gets no notifications
Blacklisted-Groups
Details:
- optional option | default value:
none - enter the group IDs
Info:
- defines if a group is ignored by the script globally
- this means the group also gets no notifications
The second and last section is all about the holiday groups. You can set individual settings for each group here.
Please click the option you want to configure to get more information.
IDs
Details:
- required option | default value:
none - enter the group IDs
Info:
- you can also define multiple group IDs so you can more than one group on a specific date
- if you don't enter an ID of a group or the ID does not refer to a valid group, the corresponding holiday group will be skipped and not be processed
Annually
Details:
- optional option | default value:
Once - select
AnnuallyorOnce
Info:
- defines whether a specific date should be counted only once or every year (annually)
- if you select annually, it doesn't matter what year you choose
Day
Details:
- required option | default value:
none - enter the day of the month
Info:
- defines the day of the month for the date
- if it's not possible to form a valid date, the whole section will be skipped
Month
Details:
- required option | default value:
none - select the month
Info:
- defines the the month for the date
- if it's not possible to form a valid date, the whole section will be skipped
Year
Details:
- required option | default value:
none - enter the year
- this option is only shown if you selected
Oncefor the Annually
Info:
- defines the year for the date
- if it's not possible to form a valid date, the whole section will be skipped
Message-Type
Details:
- optional option | default value:
Disabled - select
Poke,MessageorDisabled
Info:
- defines how a client should be notified if they were assigned to a group
- keep in mind that a poke message is limited to 100 characters
Message
Details:
- semi-required option | default value:
Merry Christmas! Thanks for joining us today. - enter the message text
- available placeholders:
- %name% - the name of the client who got the group(s)
- %amount% - the amount of groups the client got on the specific date; if they already have one of the groups, it won't be counted towards that number
- %lb% - a linebreak, same like pressing the Enter-key in a text file
Info:
- defines the text which is used in the notification for the client
- keep in mind that a poke message is limited to 100 characters
Access-Control
Details:
- optional option | default value:
No - select
YesorNo
Info:
- defines if you want to specify access to this specific group for special clients or groups
Advanced Options:
-
the following options are only shown if you selected
Yesfor the Access-ControlAccess-Control-Type
Details:
- semi-required option | default value:
none - select
WhitelistorBlacklist
Info:
- defines if the following options are counted as whitelist or blacklist
Access-Control-Clients
Details:
- optional option | default value:
none - enter the client UIDs
Info:
- defines if a client is ignored for this specific group
- this means the client also gets no notifications
Access-Control-Groups
Details:
- optional option | default value:
none - enter the group IDs
Info:
- defines if a group is ignored for this specific group
- this means the group also gets no notifications
- semi-required option | default value: