PlayerByID

Arguments

Label
Explained
Type
Example

uuid

Player's UUID

number

reason

Block reason

string

time

0 for permanent, table for custom (at the bottom)

table / 0

0 (permanent)

data

additional data to report (optional)

table

(at the bottom)

screenshot

screenshot (optional)

string

modUUID

moderator UUID

number

0 (server)

time argument example:

{
    months = 3,
    days = 0,
    hours = 0,
    minutes = 0
}
-- Instead of this you can just pass the number 0 for permanent ban

data argument example:

{
    info = "Player attempted to manipulate reward system",
    method = "#1"
}

Last updated