The `ip_banned` table
This table contains all of the banned IPs and the date when (or if) the ban will expire.
Table Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
ip | VARCHAR(15) | SIGNED | PRI | NO | 127.0.0.1 | ||
bandate | INT | UNSIGNED | PRI | NO | |||
unbandate | INT | UNSIGNED | NO | ||||
bannedby | VARCHAR(50) | SIGNED | NO | [Console] | |||
banreason | VARCHAR(255) | SIGNED | NO | no reason |
Description of the fields
The IP address that is banned.
The date when the IP was first banned, in Unix time.
The date when the IP will be unbanned in Unix time. Any date that is set lower than the current date basically classifies as a permanent ban as it will never auto expire.
The name of the character that banned the IP. The character should belong to an account with the rights to the .ban command in-game.
The reason given for the IP ban.