Exports
Kick
exports['red_admin']:kickPlayer(source, target, reason)
Parameter | Type | Description |
---|---|---|
source | string | integer | Banner server ID or identifier |
target | string | integer | Target server ID or identifier |
reason | string | Reason why you kick this player |
Ban
exports['red_admin']:banPlayer(source, target, reason, bannedUntil)
Parameter | Type | Description |
---|---|---|
source | string | integer | Banner server ID or identifier |
taregt | string | integer | Target server ID or identifier |
reason | string | Reason why you ban this player |
bannedUntil | integer | The date until the player will be banned, must be a UNIX timestamp (opens in a new tab) (0 for permanent ban) |