Skip to main content
All three are server-side and read-only. They are for scripts that want to know what a courier is doing, such as blocking another job while someone is on shift.

hasActiveContract

true while the player is on a shift.

getActiveContract

Returns nil when the player is not on a shift, otherwise: It is a copy, so changing it does not change the shift.

getStats

Lifetime deliveries completed and money earned. Both are 0 for a player with no history.

Example

Stop a player starting your own job while they are mid delivery:

Restricting the app with your own rule

To decide who sees the courier app from your own script, use callbackGate in the configuration. The tablet calls your export and shows the app when it returns true.