Plugin “Cloud”

With this plugin, the world of DCSServerBot gets even bigger!

When using DCSServerBot in your Discord and with your DCS servers, people gather lots of statistics. As people often not only fly in one community, they might want to see their statistics that they gathered in all communities in a single place.

That said, DCSServerBot offers the opportunity to use a cloud-based database system to upload aggregated statistics for every active user into the cloud. Users can use Discord commands to see their overall stats (/cloud statistics), like they are used to see with /statistics.

[!NOTE] I am happy to provide you access to the cloud service, with a token, provided by me. The service comes free of charge but without any liabilities or guarantees, you can use it or leave it, and so can I revoke any token at any time, especially if I see misuse of the system.

DGSA: Global Ban System

If you opt in to the cloud plugin and even have not opted in to the cloud statistics, you can still use the global ban system. We’ve put together a group consisting of the admins of the most popular DCS servers, and we monitor what’s going on in the community. When we see someone crashing servers by hacking or any other really (really) bad stuff, we put them in the global banlist. Nobody that gets usually banned on a server for misbehavior will get onto the list. There are only the really bad guys on it.</br> If you opt in to this plugin, you already participate from that banlist. You can choose whether to ban DCS players and/or Discord users. Both are inactive as a default.

If you are a server admin of a large server and not part of DGSA, the “DCS Global Server Admins” yet, send me a DM.

Configuration

DEFAULT:
  banlist: pvp                          # One of pvp, pve or both. For DCS bans / watchlist only (default: both).
  dcs-ban: true                         # true: subscribe to the global ban service for DCS users (default: false).
  discord-ban: true                     # true: subscribe to the global ban service for Discord users (default: false).
  watchlist_only: true                  # true: a player being on the global banlist will be added to the watchlist only (default: false, does not work with dcs-ban: true)
  host: dcsserverbot-prod.herokuapp.com # Don't change that until told otherwise.
  port: 443                             # Don't change that until told otherwise.
  protocol: https                       # Don't change that until told otherwise.
  register: true                        # True, send general statistics to my community stats (please do that!)
  upload_errors: true                   # True, upload exceptions to the central error database, so that I can see what happened in your bot (and fix it)
#  token: xxxyyyzzz111222333444         # If you got a TOKEN to participate in the cloud statistics, then put it in here.

The online registration helps me to better understand which installations are out there. There is no personal information sent to the cloud, and you can always see what is being sent (logs/dcssb-*.log) and disable it if you feel uncomfortable with it. I appreciate it if you send me that little bit of data, as it helps me (and you) in maintaining the solutions that are out in the wild.

Which data is being sent?

  • Number of bots (for general DCSSB stats)
  • Number of servers (for general DCSSB stats)
  • Names of your servers, privacy status (for /serverlist)
  • Number and name of your Discord Guild (for internal use, so that I can get hold of you if I see something happening)
  • DCSSB-Plugins in use (for general DCSSB stats)
  • DGSA-Status (for protection stats)
  • Node hardware (for general HW stats)
  • Subscriptions only: Aggregated user statistics for your users (for /cloud statistics)

Also, DCSServerBot will send account mappings of users (Discord Account / DCS Account mapping) to the cloud. This will allow users to only link themselves once on all servers that are using a cloud token (limited due to security reasons).

[!NOTE] If you feel uncomfortable with any of the above information, please let me know. I am happy to explain all of them or discuss workarounds for you. There is nobody able to see this information in detail, only in an aggregated view without any link to you or your group in my Discord.

Discord Commands

| Command | Parameter | Role | Description | |——————-|——————|———–|——————————————————| | /cloud status | | Admin | Status of the connection to the cloud service. | | /cloud resync | [@member / ucid] | DCS Admin | Resync all players (or this player) with the cloud. | | /cloud statistics | [@member / ucid] | DCS | Display player cloud statistics (overall, per guild) | | /serverlist | name | DCS | Display the DCS server list. |