Warrants

Here, you'll find key exports for managing warrants. These exports allow you to create, update, and delete warrants as needed.


Type

type Warrant = {
    id: number,
    reason: string,
    house: string | number, // depends on your housing script
    date: number,
    active: boolean,
    createdAt: string,
    tag?: {
        identifier: string,
        label: string,
        color: string
    },
    players: {
        identifier: string,
        name: string
    }[]
}

Exports

SearchWarrant

CreateWarrant

UpdateWarrant

DeleteWarrant

Last updated

Was this helpful?