/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/admin.dm

BANTYPE_ANY_FULLBANused to locate stuff to unban.
BANTYPE_ANY_JOBused to remove jobbans
R_NONEUsed for signifying that all admins can use this regardless of actual permissions
ADMIN_SHOW_PAPERDisplays "(SHOW)" in the chat, when clicked it tries to show atom(paper). First you need to set the request_state variable to TRUE for the paper.
ADMIN_PLAY_INTERNETDisplays "(PLAY)" in the chat, when clicked it tries to play internet sounds from the request.
ADMIN_SEE_ZLEVEL_LAYOUTDisplays "(SEE Z-LEVEL LAYOUT)" in the chat, when clicked it shows the z-level layouts for the current world state.
ROUNDSTART_LOGOUT_REPORT_TIMEAmount of time after the round starts that the player disconnect report is issued.
ROUNDSTART_LOGOUT_AFK_THRESHOLDThreshold in minutes for counting a player as AFK on the roundstart report.
SPAM_TRIGGER_WARNINGNumber of identical messages required before the spam-prevention will warn you to stfu
SPAM_TRIGGER_AUTOMUTENumber of identical messages required before the spam-prevention will automute you
MAX_KEYPRESS_COMMANDLENGTHMax length of a keypress command before it's considered to be a forged packet/bogus command
MAX_COMMANDS_PER_KEYMaximum keys that can be bound to one button
MAX_KEYPRESS_AUTOKICKMax amount of keypress messages per second over two seconds before client is autokicked
HELD_KEY_BUFFER_LENGTHLength of held key buffer
POLICY_POLYMORPHReference index for policy.json to locate any policy text applicable to polymorphed/staff of changed mobs.
POLICY_VERB_HEADERReference index for policy.json to locate any policy text that is shown as a header in the OOC > Show Policy verb.
ASAY_LINK_NEW_MESSAGE_INDEXfor /proc/check_asay_links, if there are any actionable refs in the asay message, this index in the return list contains the new message text to be printed
ASAY_LINK_PINGED_ADMINS_INDEXfor /proc/check_asay_links, if there are any admin pings in the asay message, this index in the return list contains a list of admins to ping
BAN_PANEL_PERMANENTWhen passed in as the duration for ban_panel, will make the ban default to permanent
NO_FEEDBACK_LINKA value for /datum/admins/cached_feedback_link to indicate empty, rather than unobtained
INTERVIEW_APPROVEDState when an interview has been approved
INTERVIEW_DENIEDState when an interview as been denied
INTERVIEW_PENDINGState when an interview has had no action on it yet
BLACKBOX_LOG_ADMIN_VERBUsed in logging uses of admin verbs (and sometimes some non-admin or debug verbs) to the blackbox Only pass it a string key, the verb being used.

Define Details

ADMIN_PLAY_INTERNET

Displays "(PLAY)" in the chat, when clicked it tries to play internet sounds from the request.

ADMIN_SEE_ZLEVEL_LAYOUT

Displays "(SEE Z-LEVEL LAYOUT)" in the chat, when clicked it shows the z-level layouts for the current world state.

ADMIN_SHOW_PAPER

Displays "(SHOW)" in the chat, when clicked it tries to show atom(paper). First you need to set the request_state variable to TRUE for the paper.

for /proc/check_asay_links, if there are any actionable refs in the asay message, this index in the return list contains the new message text to be printed

for /proc/check_asay_links, if there are any admin pings in the asay message, this index in the return list contains a list of admins to ping

BANTYPE_ANY_FULLBAN

used to locate stuff to unban.

BANTYPE_ANY_JOB

used to remove jobbans

BAN_PANEL_PERMANENT

When passed in as the duration for ban_panel, will make the ban default to permanent

BLACKBOX_LOG_ADMIN_VERB

Used in logging uses of admin verbs (and sometimes some non-admin or debug verbs) to the blackbox Only pass it a string key, the verb being used.

HELD_KEY_BUFFER_LENGTH

Length of held key buffer

INTERVIEW_APPROVED

State when an interview has been approved

INTERVIEW_DENIED

State when an interview as been denied

INTERVIEW_PENDING

State when an interview has had no action on it yet

MAX_COMMANDS_PER_KEY

Maximum keys that can be bound to one button

MAX_KEYPRESS_AUTOKICK

Max amount of keypress messages per second over two seconds before client is autokicked

MAX_KEYPRESS_COMMANDLENGTH

Max length of a keypress command before it's considered to be a forged packet/bogus command

A value for /datum/admins/cached_feedback_link to indicate empty, rather than unobtained

POLICY_POLYMORPH

Reference index for policy.json to locate any policy text applicable to polymorphed/staff of changed mobs.

POLICY_VERB_HEADER

Reference index for policy.json to locate any policy text that is shown as a header in the OOC > Show Policy verb.

ROUNDSTART_LOGOUT_AFK_THRESHOLD

Threshold in minutes for counting a player as AFK on the roundstart report.

ROUNDSTART_LOGOUT_REPORT_TIME

Amount of time after the round starts that the player disconnect report is issued.

R_NONE

Used for signifying that all admins can use this regardless of actual permissions

SPAM_TRIGGER_AUTOMUTE

Number of identical messages required before the spam-prevention will automute you

SPAM_TRIGGER_WARNING

Number of identical messages required before the spam-prevention will warn you to stfu