/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/admin.dm

BANTYPE_ANY_FULLBANused to locate stuff to unban.
BANTYPE_ANY_JOBused to remove jobbans
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.
ROUNDSTART_LOGOUT_REPORT_TIMEAmount of time (in deciseconds) after the rounds starts, that the player disconnect report is issued.
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

Define Details

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

HELD_KEY_BUFFER_LENGTH

Length of held key buffer

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_REPORT_TIME

Amount of time (in deciseconds) after the rounds starts, that the player disconnect report is issued.

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