HEX
HexscriptsJobscreatorExports

Legacy Exports

Exports that shipped before this documentation. They still work, but they do not follow the answer/reason convention used everywhere else.

Different convention

The exports on this page shipped before the rest of this documentation. They do not follow the answer/reason convention read each row for what it actually returns.

Server

ExportWhat it does
registerInteraction(definition)registers a custom interaction type see Custom Interactions
resolveInteraction(playerId, interactionId, expectedType)validates that a player may use an interaction right now and returns its data, or nil
getCustomInteractions()every registered custom interaction type
addJobHopBlocker(playerId, oldJobName)puts a player on job-hop cooldown. Returns true / false
isJobHopBlocked(playerId)the player's active job-hop block, or nil

On this page