MT SERVICE DOCUMENTATION
WebshopYoutubeDiscord
  • 👨‍✈️WELCOME
  • 📕READ ME
  • MT SCRIPTS V1
    • 📦│MT-FFA
      • Installations
      • Erorrs
    • 📦│MT-HUD
      • Installations
      • Erorrs
    • 📦│MT-SHOP
      • Installations
      • Erorrs
    • 📦│MT-NOTIFY
      • Installations
      • Erorrs
    • 📦│MT-GANGWAR
      • Installations
      • Erorrs
    • 📦│MT-KO-SYSTEM
      • Installations
      • Erorrs
    • 📦│MT-WEAPONSHOP
      • Installations
      • Erorrs
    • 📦│MT-DEATHSCREEN
      • Installations
      • Erorrs
    • 📦│MT-HEADSCHOT-SYSTEM
      • Installations
      • Erorrs
    • 📦│MT-INGAME-TICKETYSTEM
      • Installations
      • Erorrs
    • 📦│MT_PROGRESSBARS
      • Installations
      • Erorrs
    • 📦│MT_INJURIES
      • Installations
      • Erorrs
    • 📦│MT_SAFEZONE
      • Installations
      • Erorrs
    • 📦│MT_NAMECHANGE
      • Installations
      • Erorrs
    • 📦│MT_PARKING
      • Installations
      • Erorrs
    • 📦│MT_SAND_THROWING
      • ESX Installations
      • QB Installations
      • Erorrs
Powered by GitBook
On this page
  • MySQL
  • server.cfg
  • config.lua
  • Discord Webhooks

Was this helpful?

  1. MT SCRIPTS V1
  2. 📦│MT-INGAME-TICKETYSTEM

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.

Do you have questions

You can customize everything else in your config.lua. If you have any questions or encounter difficulties, feel free to contact us on Discord.

Previous📦│MT-INGAME-TICKETYSTEMNextErorrs

Last updated 1 year ago

Was this helpful?

How to Get Started with Discord Webhooks - Hookdeck
Logo