summaryrefslogtreecommitdiff
path: root/docs/character_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/character_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/character_banned.md')
-rw-r--r--docs/character_banned.md130
1 files changed, 120 insertions, 10 deletions
diff --git a/docs/character_banned.md b/docs/character_banned.md
index 8942bd8..c3e52a2 100644
--- a/docs/character_banned.md
+++ b/docs/character_banned.md
@@ -1,10 +1,120 @@
-[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [character_banned](character_banned)
-
-Column | Type | Description
---- | --- | ---
-Guid | int(10) unsigned |
-Bandate | int(10) unsigned |
-Unbandate | int(10) unsigned |
-Bannedby | varchar(50) |
-Banreason | varchar(255) |
-Active | tinyint(3) unsigned |
+# character\_banned
+
+`Back-to:Auth`
+
+**The \`character\_banned\` table**
+
+This table lists all of the characters that have been banned along with 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="#character_banned-guid">guid</a></p></td>
+<td><p>int(10)</p></td>
+<td><p>unsigned</p></td>
+<td><p>PRI</p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p>Global Unique Identifier</p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#character_banned-bandate">bandate</a></p></td>
+<td><p>int(10)</p></td>
+<td><p>unsigned</p></td>
+<td><p>PRI</p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#character_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>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#character_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> </p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#character_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> </p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#character_banned-active">active</a></p></td>
+<td><p>tinyint(3)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>1</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+</tbody>
+</table>
+
+**Description of the fields**
+
+### guid
+
+The character guid. See [characters.guid](2129969.html#characters(table)-id).
+
+### bandate
+
+The date when the character was banned, in Unix time.
+
+### unbandate
+
+The date when the character will be automatically unbanned, in Unix time. A value less than the current date means, in effect, a permanent ban.
+
+### bannedby
+
+The character with the rights to the .ban command that banned the character.
+
+### banreason
+
+The reason for the ban.
+
+### active
+
+Boolean 0 or 1 controlling if the ban is currently active or not.