Skip to the content
Docs

Tickets & Sits

On this page3

The commands and the key a player uses for their ticket, and the place where staff hold a sit. All keys are in config.lua.

Player tickets

KeyDefaultAllowedWhat it changes in game
Config.ReportCommand'report'A command name without /The command a player uses to ask staff for help: /report <message>.
Config.TicketCommand'ticket'A command name without /The command that brings a player's ticket chat back: /ticket.
Config.TicketKey'F10'A FiveM key name · '' = no default keyThe default key that does the same as the command.

How the three fit in:

  1. A player writes /report and a message. A ticket opens.
  2. The player gets a small chat window. Minimized, it leaves a tab on the right edge of the screen: My Ticket [F10].
  3. The key or /ticket brings the chat back.
CaseWhat the player sees
/ticket with no open ticket"You have no open ticket. Use /report <message> to ask staff for help."
The player has set another keyThe tab shows that key.
The player has no key at allThe tab shows the command: My Ticket [/ticket].

The key is only a default. Each player can change it in the game: Settings → Key Bindings → FiveM, entry Open my support ticket. With Config.TicketKey = '' there is no default key. The command still works, and a player can still set a key of their own.

Rename the report command

lua
Config.ReportCommand = 'support'   -- players now type /support <message>
RuleDetail
Allowed charactersThe name is put in lower case. Only the letters a to z, digits and _ are kept: '/Support' becomes support.
Empty, or the line is missingThe command is /report. An older config.lua keeps working.
The texts followEvery text that names the command shows your name: the usage line, the "no open ticket" line and the last line of a closed ticket chat.
The help text in the chatIt is shown for your command name.
After a changeRestart the resource.

With Config.ReportCommand = 'support' a player reads Usage: /support <message> and "You have no open ticket. Use /support <message> to ask staff for help."

Sit room

KeyDefaultAllowedWhat it changes in game
Config.SitRoomvec4(-75.0, -818.6, 326.18, 0.0) (roof of the Maze Bank tower)A position vec4(x, y, z, heading) · falseThe place staff bring the people of a ticket to.
  • Every sit runs in its own private copy of the world. One place is enough for many sits at the same time, and nobody else can walk in.
  • Everybody is put back where they stood when the sit ends.
  • People are set in a small circle around the spot. Pick a flat place with about two metres of free room on every side.
  • The place is also a button in the quick menu: Me tab, Teleport, Sit room. It needs the Run sits permission (reports.sit).

Pick another place

  1. Stand on the new spot in game. Look the way people should face.
  2. Open the quick menu with /adminmenu.
  3. Open the Tools tab and press Copy my position. The menu answers "Copied vector4(...)".
  4. Open config.lua and paste the text after Config.SitRoom =.
  5. Restart the resource.
lua
Config.SitRoom = vector4(-75.0, -818.6, 326.18, 0.0)

vector4 and vec4 are the same thing. The last number is the heading.

When no sit room is set

Config.SitRoom = false (or a missing line) switches sits off.

WhatResult
Bring everyone or To sit room on a ticketRefused: "No sit room is set on this server."
The Sit room button in the quick menuNot shown
Tickets, the chat, Add player and Heads-upWork as before

Permissions

PermissionKeyNeeded for
See ticketsreports.viewThe Reports page and the notice for a new ticket
Handle ticketsreports.manageClaim, reply, release, take over, resolve
Run sitsreports.sitAdd players to a ticket, bring them to the sit room, end the sit

Every player may use /report and /ticket. Which default rank has what: Super-Admin & Ranks.

Related: Tickets · Sits · Player Guide.