Installations
MySQL
Copy the MySQL code and paste it into your database.
CREATE TABLE `mt_tickets` (
`name` varchar(255) NOT NULL,
`id` int(11) NOT NULL,
`description` varchar(255) NOT NULL,
`ticketid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
COMMIT;
server.cfg
Add the command to your server.cfg file and make sure that the script is started.
ensure mt_ticketsystem
config.lua
You can add roles in the Config and connect the Discord webhooks.
Config = {}
Config.groups = {
"admin",
"supporter",
"guide"
-- You can add additional groups here.
}
Config.Messages = {
createmsg = "You have created a ticket.",
loadticketsmsg = "Tickets have been successfully reloaded!",
nopermission = "No permission.",
support = "A new support ticket has been created by %s.",
}
Config.notifycolor = "#673ab7" -- You have the option to modify the color here.
Config.headline = "MT Ticket"
Config.DiscordWebhook = "" -- Here is where you can input your Discord webhook.
Discord Webhooks
Getting started with Discord webhooks: You can connect your Discord webhooks in the config.lua file.
Last updated
Was this helpful?