summaryrefslogtreecommitdiff
path: root/docs/ip_banned.md
diff options
context:
space:
mode:
authorFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
committerFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
commita35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 (patch)
tree91e0cde00f6f27b730b0df3f4338fcf99fa8447a /docs/ip_banned.md
parentd8d1823802ded97300fa57405d80b16736603489 (diff)
downloadwiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.gz
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.bz2
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.zip
Import DB wiki from TC 335
Diffstat (limited to 'docs/ip_banned.md')
-rw-r--r--docs/ip_banned.md115
1 files changed, 106 insertions, 9 deletions
diff --git a/docs/ip_banned.md b/docs/ip_banned.md
index 6534e49..ee9a459 100644
--- a/docs/ip_banned.md
+++ b/docs/ip_banned.md
@@ -1,9 +1,106 @@
-[Database Structure](Database-Structure) > [Auth-Database](Auth-Database) > [ip_banned](ip_banned)
-
-Column | Type | Description
---- | --- | ---
-Ip | varchar(15) |
-Bandate | int(10) unsigned |
-Unbandate | int(10) unsigned |
-Bannedby | varchar(50) |
-Banreason | varchar(255) |
+# ip\_banned
+
+`Back-to:Auth`
+
+**The \`ip\_banned\` table**
+
+This table contains all of the banned IPs and the date when (or if) the ban will expire.
+
+**Structure**
+
+<table>
+<colgroup>
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+</colgroup>
+<tbody>
+<tr class="odd">
+<td><p><strong>Field</strong></p></td>
+<td><p><strong>Type</strong></p></td>
+<td><p><strong>Attributes</strong></p></td>
+<td><p><strong>Key</strong></p></td>
+<td><p><strong>Null</strong></p></td>
+<td><p><strong>Default</strong></p></td>
+<td><p><strong>Extra</strong></p></td>
+<td><p><strong>Comment</strong></p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#ip_banned-ip">ip</a></p></td>
+<td><p>varchar(15)</p></td>
+<td><p>signed</p></td>
+<td><p>PRI</p></td>
+<td><p>NO</p></td>
+<td><p>127.0.0.1</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#ip_banned-bandate">bandate</a></p></td>
+<td><p>int(10)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#ip_banned-unbandate">unbandate</a></p></td>
+<td><p>int(10)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#ip_banned-bannedby">bannedby</a></p></td>
+<td><p>varchar(50)</p></td>
+<td><p>signed</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>Console</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#ip_banned-banreason">banreason</a></p></td>
+<td><p>varchar(255)</p></td>
+<td><p>signed</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>no reason</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+</tbody>
+</table>
+
+**Description of the fields**
+
+### ip
+
+The IP address that is banned.
+
+### bandate
+
+The date when the IP was first banned, in Unix time.
+
+### unbandate
+
+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.
+
+### bannedby
+
+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.
+
+### banreason
+
+The reason given for the IP ban.