Skip to content

Qualifications ​

A qualification is a document type with kind = 'certificate'. Its live document record is authoritative: a certificate counts only while it is valid and not expired, suspended, revoked, lost or replaced. The designer can set rules.card = false for a digital-only credential.

Requirements ​

The rules.requires object can combine:

Rule Meaning
documents One or more prerequisite document types; type:CLASS also checks a licence class.
exam / practical A valid passing result for the configured theory or practical exam.
hours and hoursJobs Minimum on-duty hours, optionally restricted to listed jobs. np_faction:shiftEnded totals are used when np_faction runs; otherwise the configured framework duty sampler is used.
jobs Minimum job rank/grade. With np_faction enabled, held secondary jobs are considered as well.
signoff Requires an instructor to sign off the candidate before issue.

Renewal may require a recent exam result. graceDays controls how long an expired record can still satisfy hasQualification; that grace applies to the qualification query, not to displaying the document as valid. cascade = 'suspend' or 'revoke' applies status changes to dependent records. A dependent stays usable while its prerequisite is in grace, then becomes suspended when that grace ends. It remains suspended until the prerequisite is renewed or reissued; renewal restores it when no other prerequisite is blocking it. Expiry suspends dependents even when the source type uses cascade = 'revoke'; explicit revocation follows the configured cascade mode.

Authority ​

Each type defines its own instructors, examiners and revokers job/grade rules. Checks are server-side and support np_faction multi-job membership. Administrative access is managed with np_admin permission nodes; this resource does not use ACE.

Issuance, renewal, suspension, reinstatement and revocation are audited. A status change refreshes the holder's qualification state for consumers. Other resources must still check the qualification at the point of use, because permissions can change while a player is online.

Examples ​

The built-in definitions include police academy, paramedic, surgeon and driving examiner paths. Server owners can create their own pilot, boat, firearm, medical or academy certificates in the designer, then set job-specific issuers and examination requirements.