Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
VexTrex edited this page Sep 13, 2020 · 4 revisions

Description

Bans the player from the server for a duration with a reason.

Parameters

Name Type Default Description
Player String/Number The player you want to ban (username/userID)
Length String How long the place will be banned for (suffixes: s, m, h, d, w, m, y, forever)
Reason String "" Why you want to ban the player (optional)

Responses

Name Type Description Solution
Player argument Missing Error There is nothing listed for the player argument Insert the player's name
Length is not a valid length Error The argument listed for the length parameter could not be converted into a duration Insert a valid number followed by a valid suffix
Could not filter reason Error The server failed to send or receive a request to filter the reason Check network and retry
Player is not a valid player Error Could not locate the specified player Insert a valid player name
Player was banned (duration: length) for reason Success The player was kicked and received the reason message. They cannot join that specific server, but they can join other servers.
Player was banned (duration: length) Success The player was kicked with no reason message. They cannot join that specific server, but they can join other servers.
Clone this wiki locally