byond - Modules - TypesDefine Details

code/__DEFINES/admin.dm

R_NONEUsed for signifying that all admins can use this regardless of actual permissions
MESSAGE_FLAG_ADMINSpam filter info that this message is admin-related and shouldn't count towards admin spam limit (not needed currently due to admins bypassing it but eh!)
MESSAGE_FLAG_MENTORSpam filter info that this message is mentor-related and shouldn't count towards a mentor's spam limit.
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
MAX_KEYS_PER_KEYBINDMaximum keys allowed per keybind
POLICY_VERB_HEADERShown on top of policy verb window
ADMINSAY_PING_UNDERLINE_NAME_INDEXfor asay pings, this is the index in the return list for /proc/check_admin_pings that contains the message modified with underlines for the spotted names
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

ADMINSAY_PING_UNDERLINE_NAME_INDEX

for asay pings, this is the index in the return list for /proc/check_admin_pings that contains the message modified with underlines for the spotted names

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

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

MAX_KEYS_PER_KEYBIND

Maximum keys allowed per keybind

MESSAGE_FLAG_ADMIN

Spam filter info that this message is admin-related and shouldn't count towards admin spam limit (not needed currently due to admins bypassing it but eh!)

MESSAGE_FLAG_MENTOR

Spam filter info that this message is mentor-related and shouldn't count towards a mentor's spam limit.

POLICY_VERB_HEADER

Shown on top of policy verb window

R_NONE

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