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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...