Ipbans

From ArcEmu-Wiki
Jump to: navigation, search

Contents

Fields

ip

IP address to ban

expire

  • 0 = Permanent ban
  • >0 = Time that the ban will expire (UNIX Timestamp)

SQL Structure

CREATE TABLE `ipbans` (
  `ip` varchar(20) collate utf8_unicode_ci NOT NULL,
  `expire` int(10) NOT NULL COMMENT 'Expiry time (s)',
  `banreason` varchar(255) collate utf8_unicode_ci default NULL,
  PRIMARY KEY  (`ip`),
  UNIQUE KEY `a` (`ip`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='IPBanner';
Personal tools