Installation
Guide on how to install Advanced Ticketing Plugin.
Before starting with the Installation, make sure to BACKUP ALL YOUR FILES & DATABASES.
When you purchase the Advanced Ticketing Plugin, you'll receive folder named advanced-ticket
which will contain the following folders:
commands
configs
dashboard
data
events
structures
utils
The installation isn't just as all the other addons where you put the folder into the addons
folder, as this is an plugin, installation consists of three things, copy-pasting code into corresponding files, pasting the new config fields into the old config & replacing old files & folders with the new ones and so will this guide be separated into 3 different sections, 'Code Copy-Pasting', 'Config Copy-Pasting' & 'File Copy-Pasting'.
Code Copy-Pasting
We will begin this guide with the code copy-pasting step. All you need to do is to copy the code from the files that will be mentioned below, and paste it into the corresponding file in the Champion Ultra, so let's begin:
dashboard > public > css > styles.css
- copy all the code from the file and paste it anywhere in the Champion Ultra one.
events > guild > channelDelete.js
- copy code from between lines 8 & 11 (inclusive) and paste it below the line 10 in the corresponding file in Champion Ultra.
events > guild > guildMemberRemove.js
- copy code from between the lines 12 & 25 (inclusive) and paste it below the line 14 in the corresponding file in Champion Ultra.
events > message > interactionCreate.js
- this is the file that contains the most copy-pasting so I'll break it down to few bullet-points:
Copy lines 3 & 4 and paste them instead of lines 3 & 4 in Champion Ultra
events > message > messageCreate.js
structures > Client.js
structures > database > MongoDatabase.js
structures > database > Database.js
utils > utils.js
Configs Copy-Pasting
In this part of the Copy-Pasting guide we'll focus on the configs
folder and configuration files within. Pasting of the config files is easy - open the current config on the left and this new file on the right. On the right one (new) look which all the new fields are added, find their section on the left (old) and paste them in there (make sure that they're properly spaced/indented).
Don't replace the old files with the new ones as these aren't the whole config files.
Even if it's that simple, there's few things to note:
configs > config.yml
channels > ticket_category
field has been renamed totickets_category
, so with an SWhen you come to
plugins > tickets
section in the new file, you should just paste the newtickets
all over the old one, so you don't go line-by-lineIn the old config, you can remove whole
emojis > tickets
section, as in the new file they're not all in the same section but just underemojis
section
configs > embeds.yml
When you're pasting sections, make sure that you remove the duplicates as there are some same sections in both files but they have different fields in them, so overwrite those in the old file with the ones from the new file
When you're pasting sections, make sure that you remove the duplicates as there are some same sections in both files but they have different fields in them, so overwrite those in the old file with the ones from the new file
Those fields are
ticket
&panel
configs > language.yml
There's nothing special in this file, so just copy the new fields into the corresponding sections in the old config.
Only thing to note is that you can just overwrite the old
tickets
section with the new one, so you don't go line-by-line
configs > commands.yml
There's nothing special about this file either, just copy all the code from the file and paste it into the one in Champion Ultra.
Files Copy-Pasting
When doing this step, don't delete the old folders, but just replace the files within.
For the end we have the most easy part, copy-pasting of the whole files without changing anything within. So, it's simple, just replace the old file(s) with the new one(s).
The files that are part of this step are:
commands
folderdashboard
folder (excluding dashboard/public/css/styles.css file)data/template.html
fileevents/client/ready.js
events/custom
folderall the files in
structures/database/models
folderutils/askQuestions.js
fileutils/createTranscript.js
fileutils/ticketCategory.js
file
That's it! If you've done everything right you should have your Advanced Ticketing Plugin installed & ready for usage.
If you get stuck somewhere or you don't understand something, you can join Discord Support Server and we'll help you with the issue.
Last updated
Was this helpful?