Hello, am having issues with baning people, so i want to make a direct script to ban people with mysql querys.
the point is i was checking the table bans and there are fields i dont know how to fill.
the table shows this columns.
id - Type - Value - Param - active - expires - added - admin_id - comment
i dunno how to fill the "expires" and "added"
also when you want to banish an ip value should be ip, but i dont know if it has to be like "190.168.22.1" or the ip the server gives you like "455884554"
then the "param" field should be a "mask" i dunno how to get the mask.
if you could explain this to me, or maybe you could just copy paste some ip banished players from your server i could figure it out.
Thanks!
the point is i was checking the table bans and there are fields i dont know how to fill.
the table shows this columns.
id - Type - Value - Param - active - expires - added - admin_id - comment
i dunno how to fill the "expires" and "added"
also when you want to banish an ip value should be ip, but i dont know if it has to be like "190.168.22.1" or the ip the server gives you like "455884554"
then the "param" field should be a "mask" i dunno how to get the mask.
if you could explain this to me, or maybe you could just copy paste some ip banished players from your server i could figure it out.
Thanks!