Warnings and bans: how to do it?

@w11
As me and Ahmad already mentioned, in this created (by your own) DB, you will store every single STATE of all your MEMBERS/USERS.

Suggested DB-Fields by me:

-warnings 
-bans 
-user-ID 
-expiration-date of ban 

Suggested DB-Fields by Ahmad:

  1. name : ( Text ) Store the member’s name in this field.

  2. owner : ( Reference Field ) A reference field to the built-in members database.

  3. bans: ( Array ) an array of objects of the bans.

  4. warnings: ( Array ) an array of objects of the warnings.

First create your DB, perhaps later you will recognise what the DB is for.

Store some values manualy into DB and try to imagine how it could work.
There are many ways how to setup your DB. Make the best choice for you.

Then read again Ahmads good and detailed described post again. Try to reconstruct all suggested steps → STEP by STEP!