Plex Tickets/Staff Dashboard
A tutorial on how to setup and configure the dashboard for Plex Tickets
Last updated
A tutorial on how to setup and configure the dashboard for Plex Tickets
Last updated
To begin the installation you have to download the dashboard from the website or BBB.
After downloading you have to unzip it to the ./addons/
folder.
Next you have to open the ./addons/Dashboard/config.yml
file, and configure it.
Important: If you are using shared hosting without a VPS, remember to include the port in all the links provided below.
This part is very important to succeed. You have to consider that you want to use any proxy and or SSL for you dashboard.
Access Discord Developer Portal
Go to the Discord Developer Portal.
Locate your bot's clientId
and clientSecret
under the OAuth2 section.
Configure Callback URL
Set the callbackURL
specified in the config.yml
file.
If using a domain, format it as http://ticket.yourdomain.com/auth/discord/callback
.
For SSL, use https://ticket.yourdomain.com/auth/discord/callback
.
Add this URL to the Redirect URL section on the Developer Portal.
Now you only have 6 fields left to configure:
Port
: you can change this to anything, just be aware that it can't be used by any other programs on the VPS.
URL
: The link you want to access the dashboard in the future.
secretKey
: you can set anything to this but it has to be a string so random characters. We recommend to use Dashlane's password generator.
Secure
: IF you want to use SSL for your domain, you have to enable this by setting its value to true.
trustProxy
:
If you don't want to use the port in the URL you have to use a tool called Reverse Proxy, for example Nginx. There is a tutorial about how to set it up here. So If you want to use it you have to set this to true.
SessionExpires
:
you can set this to any day value like 7d, 14d, 30d etc. This controls how much time a login can last. Like if you set this to 30d, and login to the dashboard, you will be logged out after 30 days, instead of the default 7 days.
Next you can restart your bot and if you did everything correctly, the dashboard should be usable by the URL you set in the config.yml of the dashboard addon.
Its almost 1/1 the same as Plex Tickets Dashboard configuration, so you can use that to configure plex staff too! The only difference is that you have to set every roles permissions in the config.yml file, and the dashboard configuration is located in the main config.yml not in the addons folder.