Skip to content

Feature Overview

Vxrpenter edited this page Nov 14, 2024 · 6 revisions

Commands

There are currently two commands that can be accessed by Administrators if not changed in the config.yml

  • /help containing helpful information like command syntax and functionality
  • /template <template> to paste all sorts of templates this bot provides

Rules Parsing

This bot is able to take your Scp:SL rules and parse it into discord text and display it as an embed.

To use the feature add your rules pastbin to the config.yml and paste it using /template rules and then clicking on paste rules.

Caution

Update rules was left out of the current version because of it's error producing and crashing potential that caused lots of problems during testing

Caution

This feature is currently highly experimental and has a lot of improvements left to be made. The parser currently only supports standartised colors that are not hash values. This <color=#ffffff></color> or this <color=#000000></color> is not supported.

Custom Support System

This bot contains a custom support system, consisting of the ability to create normal tickets but also the ability to file an unban request. This support system as all content is still experimental and misses a lot of features superior ticket bots have. These features will be added in the future with some addons that will prove useful for Scp:SL server owners

To use the support feature paste the template using /template support into a desired channel. You are done, now you just have to configure it in the config.yml and change the translation to your desired style


Custom Statusbar

You will notice that all tickets have a custom status bar that can't be configured in the translation. This bar shows the status of the ticket, the handler and the creator, it should look something like the screenshot below.

image

Tip

This display is broken on mobile because the mobile versions of discord dont support this special color trick so it will look pretty stupid but thats nothing to adress in an issue so please dont open one


Unban System

Caution

Only works if cedmod compatibility is active

As stated above this support system also has a build in unban system. Users can file an unban request with their steamID and moderators can accept and decline these straight on discord without accessing the server or the cedmod panel. If accepted and if you entered the cedmod info into the config.yml the bot will automatically unban the player, making it easier on moderators and user. An answer to an unban request could look like this:

image

Notice of Deaparture

Ability for staff to specify a time that they want to take off and then get notied when this time runs out. Higher staff must also accept these requests for them to move on

To use the notice of departure feature paste the template using /template notice_of_departure into a desired channel. You are done, now you just have to configure it in the config.yml and change the translation to your desired style


Executing Descision

When filing a notice it will be sent to a descision channel defined in the config.yml

image

ACCEPTING

This will pop open a modal to give a reason to accepting the notice. After that the message will get deleted and a notification message will be sent to the user that filed the notice. There will also be a new message sent to another channel that is meant to keep track of all notices that have been filed. In addition to all of this, the data will also be added to the Sqlite database

image

DISMISSING

This will pop open a modal to give reason to dismissing the notice. The message will get deleted after submitting it and the user gets notification containing the reason to why their notice was dismissed.

image

Automatic Detection

Now that a notice of departure has been filed and accepted the question is how to keep track of it. So on bot startup a SingleThreadScheduledExecutor is spun up, executing a runnable that checks which notices have expired to take actions corresponding to it every hour by default. The message that keeps track of the notice will get replaced and a special console message will apear announcing the changes.

Screenshot 2024-10-24 022021

CONSOLE MESSAGE

Screenshot 2024-10-24 031044

Tip

You can change the rate and TimeUnit in the config.yml. You can even go down to nanoseconds although not recommended

Revoking

Lastely you can revoke the notice of departure ending it early and deleting all contence from the Sqlite database.

image

Regulars

Caution

Only works if cedmod compatibility is active

Make regular players able to automatically sync playtime roles with one press of a button

grafik

Menu

There is configuration menu where you can sync, deactivate/reactivate and remove the sybc for playtime roles

grafik

Automatic Playtime Updates

If you have activated the cedmod features then playtime will automatically sync and roles will get automatically apllied to each player that crosses a certain point specified

Tip

If you want to configure regulars, then check out this article