View Full Version : Plugin fetch remote banlist and write to banned.cfg
Kristiansen
01-07-2010, 12:12 PM
Is this possible?
I'm talking about having a plugin that can fetch data from say a remote banlist/database and write the data to the server's banned.cfg ?
Let's say we have a shared database/banlist (idk what would be easier) at www.domain.com/banlist.cfg(txt/php/whatever), and whatever server that installs the plugin will have its banned.cfg updated accordingly. I would need the server's banlist to be complemented by that remote banlist, not replaced. I.e. keeping existing bans and adding those from the database. Having the plugin check for matching bans would be good to, to avoid adding the same bans over and over.
noddy
01-07-2010, 01:26 PM
At the start of your post you ask about updating the banned.cfg from a remote site but you then go on to say by using a database.
There are several plugin/web apps that use a remote database to do this. The first one that springs to mind is amxbans. I am sure that I have also seen something on here (advanced bans or similar)
Kristiansen
01-07-2010, 05:43 PM
Well I'm a noob.
My whole point is whether this is possible, the core idea (storing banned id's in a remote place and using a plugin to write the content to the servers ban file.)
Kristiansen
01-07-2010, 05:46 PM
Hmmm. Thanks for the input (probably the only guy around not knowing all about amxbans) it looks like the kid I'm looking for,
but I'm still wondering if its possible to make something that merely syncs the server's banned.cfg to a remote banned.cfg for the easy way of it.
You can store them in a text file on a web server and have a php file that handles an HTTP call to the webserver with a name and password so ppl cant add without your knowledge. Take a look at any of the web access apps from here or Amxmodx.
Cheers!
Kristiansen
01-15-2010, 08:38 AM
You can store them in a text file on a web server and have a php file that handles an HTTP call to the webserver with a name and password so ppl cant add without your knowledge. Take a look at any of the web access apps from here or Amxmodx.
Cheers!
How to auto-sync this with the server's banned.cfg?
Use amxbans. anything else would be a waste of time
Indeed on the Amxbans. It has been the most thouroughly thought out and comprehensive of the banning systems. And if you have a website, I would guess you do if you have multiple servers, then you will have an SQL on that webserver. And that will be the best way to do it.
Cheers!
For additional information, on www.amxbans.de they are working on a new version of AMX Bans, so I would wait if you do choose to use amxbans on this new version as the old version contains quite some bugs.
Kristiansen
01-16-2010, 08:00 PM
I appreciate the input from all three of you :-)
Yes amxbans seems to be good. But, I would really want a file that reads a remote banlist from domain.com/banned.cfg and adds these to the servers banned.cfg.
Is this a hard thing to do? I know that amxbans is a better solution, I'm just wondering (and eventually requesting lol).
I appreciate the input from all three of you :-)
Yes amxbans seems to be good. But, I would really want a file that reads a remote banlist from domain.com/banned.cfg and adds these to the servers banned.cfg.
Is this a hard thing to do? I know that amxbans is a better solution, I'm just wondering (and eventually requesting lol).
Do you know what amxbans is?
Kristiansen
01-16-2010, 10:54 PM
But that uses a sql database doesn't it? And it was such a lot of reading lol... Oh and I'm not talking about fetching a remote banlist for several servers owned by the same owner, but distributing a common banlist to whoever wants to get in on the policy
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.