Daedalus Dock - Modules - TypesVar Details - Proc Details

admins

Vars

blocked_by_2faWhether or not the user tried to connect, but was blocked by 2FA
bypass_2faWhether or not this user can bypass 2FA
tagged_datumsA lazylist of tagged datums, for quick reference with the View Tags verb

Procs

GamePanels
add_tagged_datumInserts the target_datum into /datum/admins/var/tagged_datums, for later reference.
can_place_additional_admin_banChecks if the admin can place an additional admin ban.
check_2faReturns whether or not the given client has a verified 2FA connection. The output is in the form of a list with the first index being whether or not the check was successful, the 2nd is the ID of the associated database entry if its a false result and if one can be found.
display_tagsDisplay all of the tagged datums
handle_tagged_delGet ahead of the curve with deleting
modify_traitsAllow admin to add or remove traits of datum
notify_all_banned_playersNotifies all banned players about their ban and gives them a link to appeal from the config. If it was a server ban, it also kicks them.
poll_list_panelShows a list of all current and future polls and buttons to edit or delete them or create a new poll.
poll_management_panelShow the options for creating a poll or editing its parameters along with its linked options.
poll_option_panelShow the options for creating a poll option or editing its parameters.
poll_option_parse_hrefProcesses topic data from poll option panel.
poll_parse_hrefProcesses topic data from poll management panel.
rebanSometimes an admin did not intend to unban a player. This proc undoes an unbanning operation by setting the unbanned_ keys in the DB back to null.
remove_tagged_datumAttempts to remove the specified datum from /datum/admins/var/tagged_datums if it exists
spawn_atomADMIN HELPER PROCS
station_traits_panelOpens the station traits admin panel
view_all_circuitsAn admin verb to view all circuits, plus useful information

Var Details

blocked_by_2fa

Whether or not the user tried to connect, but was blocked by 2FA

bypass_2fa

Whether or not this user can bypass 2FA

tagged_datums

A lazylist of tagged datums, for quick reference with the View Tags verb

Proc Details

Game

Panels

add_tagged_datum

Inserts the target_datum into /datum/admins/var/tagged_datums, for later reference.

Arguments:

can_place_additional_admin_ban

Checks if the admin can place an additional admin ban.

Returns FALSE if the query fails to execute. Returns FALSE and notifies the admin in chat if they are at their max number of admin bans already. Returns TRUE if an admin can place an additional admin ban.

Arguments:

check_2fa

Returns whether or not the given client has a verified 2FA connection. The output is in the form of a list with the first index being whether or not the check was successful, the 2nd is the ID of the associated database entry if its a false result and if one can be found.

display_tags

Display all of the tagged datums

handle_tagged_del

Get ahead of the curve with deleting

modify_traits

Allow admin to add or remove traits of datum

notify_all_banned_players

Notifies all banned players about their ban and gives them a link to appeal from the config. If it was a server ban, it also kicks them.

If the banned player's ckey has a linked client on the server, it notifies them of the ban details and kicks them if it was a server ban. If there is anyone else sharing the banned player's IP or CID, it notifies them of the ban details and kicks them if it was a server ban.

Builds the ban cache for every client impacted by the ban.

Arguments:

poll_list_panel

Shows a list of all current and future polls and buttons to edit or delete them or create a new poll.

poll_management_panel

Show the options for creating a poll or editing its parameters along with its linked options.

poll_option_panel

Show the options for creating a poll option or editing its parameters.

poll_option_parse_href

Processes topic data from poll option panel.

Reads through returned form data and assigns data to the option datum, creating a new one if required, before passing it to be saved. Also does some simple error checking to ensure the option will be valid before creation.

poll_parse_href

Processes topic data from poll management panel.

Reads through returned form data and assigns data to the poll datum, creating a new one if required, before passing it to be saved. Also does some simple error checking to ensure the poll will be valid before creation.

reban

Sometimes an admin did not intend to unban a player. This proc undoes an unbanning operation by setting the unbanned_ keys in the DB back to null.

remove_tagged_datum

Attempts to remove the specified datum from /datum/admins/var/tagged_datums if it exists

Arguments:

spawn_atom

ADMIN HELPER PROCS

station_traits_panel

Opens the station traits admin panel

view_all_circuits

An admin verb to view all circuits, plus useful information