IP Ban Script

Yoh Asakura

New member
Messages
261
Points
0
Emulator
index.php


File Name: IP Ban Script

File Submitter: Yoh Asakura

File Submitted: 31 Mar 2015

File Category: Utility

IP Ban Script

A simple and useful script that allows GM's to Ban someone's IP from the server.

It's also possible to put a reason why you want to ban that IP.

The IP and the reason (if any) will be at your database, in "ipbanlist" table.

Original author: unknown

Script edited by: Yoh Asakura.

Click here to download this file

 
@@Mhalicot

The main.sql file already comes with the table.

Code:
CREATE TABLE IF NOT EXISTS `ipbanlist` (  `list` VARCHAR(255) NOT NULL DEFAULT '',  `btime` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',  `rtime` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',  `reason` VARCHAR(255) NOT NULL DEFAULT '',  KEY (`list`)) ENGINE=MyISAM;
 
@@Mhalicot

By the way, I asked Dastgir to make a modification in your "autoattack plugin" but he didin't reply. Could you do it?

"Would you add something to the "autoattack" plugin? Because this scripts only let the char attack all the mobs around, but it would be nice to select which mob(s) you want to attack, example: "@autoattack +MobId or MobName"  :D"

 
Back
Top