Twilight Storage Unitspaidv1.1.0Qbox

Developer Exports

Server exports and console commands.

Server Exports

GetAllStorageUnitConfigs

Returns every configured unit with the facility it belongs to. Useful for admin panels and reporting.

exports['twilight-storageunits']:GetAllStorageUnitConfigs()

Console Commands

su_forcedue

Marks a unit's rent as due, optionally a number of days overdue. Server console only, intended for testing the rent cycle.

server console
su_forcedue <unitId> [overdueDays]