Skip to content

Administration - Submodules/Tickets

This page documents the hooks defined by the submodules/tickets submodule in the administration module.


OnTicketClaimed(client, requester, ticketMessage)View Source

Purpose

Called after a staff member claims a ticket.

Realm

Server

Parameters

Player client The staff member who claimed the ticket.

Player requester The player who opened the ticket.

string ticketMessage The ticket text that was claimed.


OnTicketClosed(client, requester, ticketMessage)View Source

Purpose

Called after a staff member closes a ticket.

Realm

Server

Parameters

Player client The staff member who closed the ticket.

Player requester The player who opened the ticket.

string ticketMessage The ticket text that was closed.


OnTicketCreated(client, message)View Source

Purpose

Called after a player creates a new help ticket.

Realm

Server

Parameters

Player client The player who opened the ticket.

string message The submitted ticket text.


TicketSystemClaim(client, requester, ticketMessage)View Source

Purpose

Called when the ticket system processes a claim action and broadcasts the result.

Realm

Server

Parameters

Player client The staff member claiming the ticket.

Player requester The player who opened the ticket.

string ticketMessage The ticket text being claimed.


TicketSystemClose(client, requester, ticketMessage)View Source

Purpose

Called when the ticket system processes a close action and broadcasts the result.

Realm

Server

Parameters

Player client The staff member closing the ticket.

Player requester The player who opened the ticket.

string ticketMessage The ticket text being closed.