• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help with Bans table noob question

navitibia

New Member
Joined
Feb 7, 2013
Messages
2
Reaction score
0
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!
 
Back
Top