VATUSA
By Jordan Jolenaar 1429747
#529705 Hello,

Over the past couple weeks, I have been developing a "Bot" for Discord and TeamSpeak. The functionality of this bot will allow for ARTCCs to setup ranks, that will be automatically assigned when controllers join their respective Discord or TeamSpeak server.

The bot is still under development, but I am close to finishing the version for Discord, and then will proceed to TeamSpeak. I was just wondering if any ARTCC's would be interested in using such a system, the way the sync works, is a controller will need to login to SSO, and then enter their TeamSpeak Unique Identifier, and with Discord it will either be their Discord ID, or logging in and confirming their account with OAuth.

Just would like other peoples thoughts,

- Jordan.


----Update ----

I've finished Discord, and it's currently live. The website is up (https://vatsimsync.com). I've implemented basic OAuth with Discord, and intend on doing redesign on the website (to make it easier to use, and more straight-forward).

The Discord version is online, you can find the invite here:
https://discordapp.com/oauth2/authorize ... missions=8

You don't need to give it the permission "Administrator" in Discord, but I would highly recommend doing so (just makes thing's easier). If you don't want to, make sure the Bot has the permission to send messages, assign roles.

Make sure the Bot's role is ABOVE the OBS-I3 roles or it will not be able to assign them due to permission hierarchy.

The setup is extremely easy;

Invite the bot.

Create the roles (OBS-I3) make sure they have the permission 'Mention able by anyone' so you can mention them while running the setup. You can also have the bot automatically make the roles by using '.genroles'. Additionally if you want the bot to make the roles without any permissions (it will include the Mentionable by anyone permission) use '.genroles -noperm'.

Once you have your roles setup, run '.setup'. The setup is extremely straight-forward. If you need any assistance you can just send me a message and Ill try to help.

I'm still finishing testing on the TeamSpeak version, and I will release an update as soon as I'm done with testing it.
Last edited by Jordan Jolenaar 1429747 on Wed Mar 27, 2019 7:40 pm, edited 3 times in total.
By Jordan Jolenaar 1429747
#529708
Jeremy Peterson 1234727 wrote:If approved by VATSIM & VATUSA, it would be useful for ZNY and I’m sure, others.

I'll do my best to try and get in touch, and have it approved. I intend on making a video with examples of how the system will work.
By Jordan Jolenaar 1429747
#529729
Calum Towers 1258635 wrote:Would be interested to take a look. Will you be making the code open source?

I haven't quite decided yet. I wrote an API that works with it, which is already available on Github. I had an idea, where (specifically for TeamSpeak) the ARTCCs could host it themselves (mainly because of security concerns with ServerQuery).

Here is the link for the API I wrote (the bot(s) will be using a slightly modified version); https://github.com/JordannDev/VatsimMemberAPI

- Jordan.
By Jordan Jolenaar 1429747
#529756
Calum Towers 1258635 wrote:Would be interested in taking a look. Will you be making the code open source?

The Discord & TeamSpeak version will both be open source after testing is done, and will have documentation available for both. The TeamSpeak version will come with a GUI as it requires a bit of configuration to work with Server Query on TeamSpeak.

- Jordan.
By Jordan Jolenaar 1429747
#529880 Hi,

So I've pretty much finished the Discord end of Sync, as well as the website where users will log into SSO. I'd like to get it in it's working environment and run it for a bit (meaning on a production server to see if there are any issue that may occur while its running that was not found during testing).

I made a short video showing how the setup process works on Discord: https://streamable.com/a9m62


I know more people are probably interested in the TeamSpeak end of things, so I'll try my best to get working on it as soon as possible.

I'd like to know what you think about the setup process, and if there is anything you would like to see changed/added.

Thanks!
By Jordan Jolenaar 1429747
#530081 Hi,

I've finished both the TeamSpeak and Discord Bots and the website. I just need to grab up a domain and send in a request for an SSO key.

If you are interested in using it on TeamSpeak feel free to send me a message.
Discord only requires an invite, so once it's released, I'll put the link on this thread.

Thanks,
Jordan.
By Kenneth Haught 1067681
#531742 Just added it to the Anchorage ARTCC discord, seems nice except it doesn't handle SUP (or presumably ADM) ratings. It changed my rating from I1 to OBS. :D
By Christopher Davis 1368814
#531744
Kenneth Haught 1067681 wrote:Just added it to the Anchorage ARTCC discord, seems nice except it doesn't handle SUP (or presumably ADM) ratings. It changed my rating from I1 to OBS. :D


We all know that you're probably an OBS anyway. :wink:
By Jordan Jolenaar 1429747
#531746
Kenneth Haught 1067681 wrote:Just added it to the Anchorage ARTCC discord, seems nice except it doesn't handle SUP (or presumably ADM) ratings. It changed my rating from I1 to OBS. :D


I'll add that. Must of slipped my mind. Ill update when it's been fixed.
By Jordan Jolenaar 1429747
#531748 Supervisor, and Administrator rating Sync has been added to the Discord Bot.

To ARTCC Staff (who used the bot before this was added):

Use .setrole <SUP|ADM> @Role to set the values, or re-run the setup to make sure you have the 'Ratings' set.

(Also thanks Ken for mentioning this / helping with testing).