Skip to Content
ModulesCommunity

Support

The Tickets module: support requests sorted into categories with their own forms, a conversation with the staff, applications and punishment appeals.

A player picks what the request is about, fills in the category's form and then talks to the staff in a conversation on the site. A moderator sees the requests of their categories in the shared queue, answers, leaves notes for colleagues and closes the question. Besides ordinary questions, a category can take applications (joining the team, for example) and punishment appeals.

The Support page with the choice of request category
DependenciesGamesPermissionsStudio blocksBot commandsCron tasks
Flute 2.0; Sentinel, Rules, Migration, Rewards optionalanytickets.staff, tickets.staff.view, tickets.staff.all, tickets.staff.reply, tickets.staff.note, tickets.staff.assign, tickets.staff.close, tickets.staff.move, admin.ticketsnone/tickettwo, below

Where the module appears

PlaceWhat is there
The "Support" menu itemthe new request form at /tickets/new, for signed-in users
Profile, "Support" tabopen requests and the archive, search in one's own requests
User menua "Support" row with the number of new answers, once the player has requests
AdminReports & requeststhe "Support" queue for the staff with the "Whose turn" and "Assignee" filters
Player card in the admin panela tab with the player's requests, staff only
AdminSupportthe "Request categories", "Request form fields", "Ready answers" and "Settings" tabs
A request conversation with the staff panel

Install and first setup

Install the module from the marketplace as described in first steps. Installation creates four categories: "General question" and "Payment" are on at once, while "Appeal" and "Joining the team" stay off until you set rules for them.

At first only the owner sees requests. While no role has a staff right, "Request categories" shows the hint "Only the owner sees requests". Give your moderators role the tickets.staff permission in roles: it covers the queue, answers, notes, assigning, closing and moving within their categories. To see every category whatever its role list, add tickets.staff.all.

The Request categories list with the Who answers and Answer within columns

A category with its own form

Say the staff needs the server, the amount and the payment number for every payment question. Put these questions into the category's form, and the player answers them before sending.

Create the category

Open AdminSupportRequest categories and click "Add a category". Fill in "Name" and "Description". "Address" becomes the last part of the form address, such as /tickets/new/payment. Left empty, it is built from the name.

Decide who writes and who answers

In "Who may write" choose the roles that see the category. With nobody chosen, everyone may write. In "Who answers" choose the staff roles: with nobody chosen, everyone with a staff right answers. Leave "What it takes" at "Requests".

Add form questions

Save the category and open its row. On the "Requests and form" tab, in the "Form questions" block, click "Add a field". For the server use the "Choice" type and put the options into "Choices", one per line. Give the amount the "Number" type, and the payment number the "Line" type with the key payment_id. Tick "Required" on anything the staff cannot answer without.

The Field window with the Choice type and a list of choices

Add ready answers

Below, in "Ready answers", click "Add an answer". The template becomes a button above the staff reply field, and {name} in its text becomes the author's name. With "Show to players" ticked, the answer is suggested under the subject of a new request while the player types it.

Check the form

Click "Open the form" at the top of the category page. The staff sees the answers to the form questions in the request, in the "Form answers" block.

A category page with Form questions and Ready answers

A question's key is stored with each answer, so leave it alone once requests come in. Question types are "Line", "Text", "Number", "Choice", "Tick", "Date" and "Link". The "Request form fields" tab lists the form fields of every category in one place.

Applications and appeals

A category whose "What it takes" is "Applications" gives the staff the "Approve the application" and "Reject the application" buttons. With the Rewards module installed, the category gets a "What an approval gives" block: the author receives it on approval, and a rejection takes it back.

An "Appeals" category takes appeals of Sentinel punishments. The "Appeal" button on a punishment appears once such a category is on. The request gets the subject "Appeal of punishment №…" and a "What is appealed" block with the reason and the term.

Requests from the bot

The /ticket command ("Contact support") opens the form right in Telegram or Discord: "Section", "Subject" and "Text". It works after the account is linked and lists only categories that take "Requests". If a category has required form questions, the bot offers "Fill in on the site". Connecting the bot is covered in bots. With the Discord module, a request made in Discord gets a private thread where the staff answers arrive.

Settings

AdminSupportSettings. Each category also has its own terms and limits on its "Settings" tab, where 0 means "as in the module settings".

The Requests module settings, the Terms group
FieldWhat it changesDefault
"Section name"the name in menus, the profile tab and page headingsempty, which means "Support"
"Text above the categories"the intro on the new request pageempty, the standard phrase
"Answers before sending"hints from the rules and ready answers under the subjecton
"Open requests per author"limit across all categories, 0 means none5
"Longest message, characters"length of one message10000
"New requests per minute"per author5
"Delete own message within, min"how long an own message can be deleted, 0 means never10
"The author may open a closed request again"the "Open again" button for the authoron
"Reopening is possible for, days"the window for reopening7
"Close without an answer of the author after, days"auto-close when the player is silent, 0 means never0
"First answer within, min"the first answer norm, late requests are marked in the queue0
"Attachments"turns files off in every categoryon
"Ready answers"template buttons above the reply fieldon
"Check for new messages every, s"how often an open conversation looks for new messages5

The "Notifications" group has six switches, all on: "To the author: the staff answered", "To the author: the request is closed", "To the author: the request will be closed soon", "To the staff: a new request", "To the assignee: the author answered", "To the assignee: a request is assigned". The "Status names for the author" group renames the statuses the player sees.

Background tasks

The tasks are listed in AdminScheduler and run when the scheduler starts once a minute.

TaskHow often
"Requests: close those that waited for the author too long"hourly
"Requests: remove unsent files and attachments of long-closed requests"daily, 04:10

For developers

The module fires tickets.replied (TicketReplied: ticketId, messageId, isStaff) and tickets.closed (TicketClosed: ticketId, byId). Both are offered to webhooks as "A request got a reply" and "A request was closed". A request made in a bot fires tickets.opened_in_bot (TicketOpenedInBot): a listener sets followed = true when it will deliver the answers to that platform itself.

The hints under the subject use the site search with the rules key and ready answers marked "Show to players". A "Requests to the staff" write restriction closes all open requests of the author. With Migration installed, a step for moving requests from GameCMS appears.

How the core side works: Events and listeners.

Troubleshooting

For any other message, use the error lookup.

Only the owner sees requests

No role has a staff right. Give tickets.staff to the moderators role and check that the role is chosen in the category's "Who answers", or that the field is empty.

The category has requests. Switch it off instead.

A category with requests cannot be deleted. Turn "Active" off: the category leaves the form, and its old requests stay.

MessageWhat to do
"There is nothing to write about yet."turn at least one category on and check "Who may write"
"You already have the allowed number of open requests. Finish one of them first."raise "Open requests per author" or close old ones
"A new request in this category can be sent once in :minutes min."this is the category's "Pause between requests, min"
"This category takes no files."turn "Attachments" on in the category
"Your space for attachments is full."raise "Space per person, MB" or wait for requests to close
"The request is resolved and the time to answer has passed. Open a new one."the "Reopening is possible for, days" window is over
"No request can be opened now: no section is available."the player has no category that takes "Requests" in the bot

Next

On this page