Regulars
Regulars provide an easy and reliable way to automatically give players roles based on playtime or xp earned. Regulars are created in the ./SCPToolsBot/regulars/, you can find the folder structure down below:

Configuration
Manifest
The manifest defines the regular group. It is the starting point of every regular folder and cannot be missing.
# The name of the group that will be displayed to the users
name: ""
# The description of the group that will be displayed to the users
description: ""
# The custom role will be a group role, given to all users that have selected this group
custom_role:
use: false
id: ""Config
The config contains the configuration of the roles. It defines when to apply the roles/what requirements need to be met for them to be applied.
# The list of roles that will be available for users. To create more copy an already existing entry.
# To remove a regular, delete an entry.
roles: [
{
# The roleId of the role. Activate developer mode and right-click the role
id: "",
# The description of the role that will be displayed to the user
description: "",
# Which type of requirement do you want to use? The requirement_type will define if the role is given to the player when reaching a certain
# playtime, a certain level, or both. Choose between the types: [PLAYTIME, XP, BOTH]
requirement_type: "PLAYTIME",
# Which playtime (in hours) does the user need to reach before getting the role?
playtime_requirement: 25,
# Which xp level (in end levels) should the user need to reach before getting the role?
xp_requirement: 5
}
]Last updated