Jump to content

Recommended Posts

Posted

At this time, it's not possible to give IP ban without touching config files and restarting LS (afaik) so I've spent last days by rewriting this. I've extended LS/GS protocol so you can block/unblock IP address from the game by simply writing //blockip <ip> [dd.MM.yy] [HH:mm] or //unblockip <ip>. You can still ban whole IP range with command e.g. //blockip 10.0.0.0.

 

When used, GS will send BlockAddress/UnblockAddress request to LS, which will process it and returns BanInfo with information about which IP address has been blocked/unblocked and the success. The message is shown to all online GMs. The banlist has been moved to the database (reason column is excessive at this time, maybe I'll use it for some web banlist).

 

Date and Hour formats of the blockip command are configurable :)

 

Download: http://www.4shared.com/file/257825949/c478df6c/Patches.html

Credits: RiZe

 

WARNING: It's not tested.

  • 2 weeks later...
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..