Dynyx Prison includes a set of exports that let developers interact with the system from other scripts. These exports allow jail logic, sentence modification, community service, and UI actions to be t
🖥️ Server Exports
These exports should be used from server-side scripts only.
🪑 LoadDecorForPrisoner
Loads and spawns a prisoner’s saved cell decorations for their assigned cell.
Sets the prisoner as active for decor syncing, clears any existing net data, pulls their saved decor from storage, and spawns each prop into the correct cell. If a decor item is marked as storage, it will also generate/assign a stashId for ownership tracking.
🧹 ClearPrisonerCellProps
Clears a prisoner’s active cell props and stops decor syncing for that prisoner.