Daedalus Dock - Modules - TypesVar Details - Proc Details

interview

Represents a new-player interview form

Represents a new-player interview form, enabled by configuration to require players with low playtime to request access to the server. To do so, they will out a brief questionnaire, and are otherwise unable to do anything while they wait for a response.

Vars

atomic_idAtomic ID for incrementing unique IDs
idUnique ID of the interview
ownerThe /client who owns this interview, the intiator
owner_ckeyThe Ckey of the owner, used for when a client could disconnect
pos_in_queueInteger that contains the current position in the interview queue, used for rendering
questionsThe questions to display on the questionnaire of the interview
read_onlyBoolean operator controlling if the questionnaire's contents can be edited
responsesThe stored responses, will be filled as the questionnaire is answered
statusContains the state of the form, used for rendering and sanity checking
welcome_messageThe welcome message shown at the top of the interview panel

Procs

approveApproves the interview, forces reconnect of owner if relevant.
denyDenies the interview and adds the owner to the cooldown for new interviews.
link_selfGenerates a clickable link to open this interview
reconnect_ownerForces client to reconnect, used in the callback from approval

Var Details

atomic_id

Atomic ID for incrementing unique IDs

id

Unique ID of the interview

owner

The /client who owns this interview, the intiator

owner_ckey

The Ckey of the owner, used for when a client could disconnect

pos_in_queue

Integer that contains the current position in the interview queue, used for rendering

questions

The questions to display on the questionnaire of the interview

read_only

Boolean operator controlling if the questionnaire's contents can be edited

responses

The stored responses, will be filled as the questionnaire is answered

status

Contains the state of the form, used for rendering and sanity checking

welcome_message

The welcome message shown at the top of the interview panel

Proc Details

approve

Approves the interview, forces reconnect of owner if relevant.

Approves the interview, and if relevant will force the owner to reconnect so that they have the proper verbs returned to them. Arguments:

deny

Denies the interview and adds the owner to the cooldown for new interviews.

Arguments:

Generates a clickable link to open this interview

reconnect_owner

Forces client to reconnect, used in the callback from approval