Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

RESOLVED - Consolidated bans list

Problem getting your server up? Ask in here.

RESOLVED - Consolidated bans list

Postby LeafCutter » Wed Aug 01, 2012 2:47 pm

I run a few servers and would like to consolidate the bans list, so all servers are "looking" at the same list and if a player is banned on one they would be banned on all (a bit like the global list I guess)

Would appreciate some advice on this ;)

Cheers,

Leaf

Moved to server help ~Enari
Last edited by LeafCutter on Mon Aug 06, 2012 11:45 pm, edited 1 time in total.
User avatar
LeafCutter
[SPQR] Member
 
Posts: 150
Joined: Thu May 17, 2012 7:58 pm
Location: Oxford, England

Re: Consolidated bans list

Postby HoboHob » Wed Aug 01, 2012 7:52 pm

blacklist.spadille.net

;)

EDIT: I know what you mean. Joe explained it.
Last edited by HoboHob on Wed Aug 01, 2012 8:43 pm, edited 2 times in total.
Image
User avatar
HoboHob
Member
 
Posts: 834
Joined: Sat Mar 10, 2012 1:32 am

Re: Consolidated bans list

Postby jojoestinky » Wed Aug 01, 2012 8:01 pm

If they are all on the same physical server you can use use a symlink for the maps/logs/ban.txt folder/file.

If your server is windows based you need to find a NTFS junction program. Only vista or higher has the built in symlink
User avatar
jojoestinky
[C.H] Member
 
Posts: 171
Joined: Sat Jul 21, 2012 9:26 am

Re: Consolidated bans list

Postby LeafCutter » Wed Aug 01, 2012 8:13 pm

HoboHob wrote:blacklist.spadille.net

;)


Yeah I'm aware of this HoboHob but I'm running multiple servers so if a ban is applied on one it's enforced across the others.

Cheers for your input though ;)


jojoestinky wrote:If they are all on the same physical server you can use use a symlink for the maps/logs/ban.txt folder/file.

If your server is windows based you need to find a NTFS junction program. Only vista or higher has the built in symlink


I have two servers, one in England and the other in the Netherlands.

symlink? I'll Google this.

What I have been thinking about is publishing the ban lists on each server in the same fashion as the Global Blacklist.
User avatar
LeafCutter
[SPQR] Member
 
Posts: 150
Joined: Thu May 17, 2012 7:58 pm
Location: Oxford, England

Re: Consolidated bans list

Postby HoboHob » Wed Aug 01, 2012 8:41 pm

LeafCutter wrote:
HoboHob wrote:blacklist.spadille.net

;)


Yeah I'm aware of this HoboHob but I'm running multiple servers so if a ban is applied on one it's enforced across the others.

Cheers for your input though ;)


Did you even read the entirety of my post?

EDIT: Nevermind, it appears the forum did not edit my post when I pushed submit.

...
Image
User avatar
HoboHob
Member
 
Posts: 834
Joined: Sat Mar 10, 2012 1:32 am

Re: Consolidated bans list

Postby Enari » Thu Aug 02, 2012 1:29 am

Use ban publish and then subscribe to your banslists
Code: Select all
    "ban_publish" : {
        "enabled" : true,
        "port" : 32885
    },
    "ban_subscribe" : {
        "enabled" : true,
        "urls" : [
            ["http://www.blacklist.spadille.net/subscribe.json", []],
            ["http://aos.minit.nu/MinitEU/blacklist.json", []],
            ["http://aos.minit.nu/MinitBabel/blacklist.json", []],
            ["http://aos.minit.nu/MinitInfiltration/blacklist.json", []],
            ["http://us.minit.nu:32885", []],
            ["http://us2.minit.nu:32885", []]
        ]
    },
Image
User avatar
Enari
Moderator
 
Posts: 595
Joined: Sun Dec 11, 2011 1:15 pm

Re: Consolidated bans list

Postby LeafCutter » Mon Aug 06, 2012 11:27 pm

Cheers for the input but I sorted it using a MySQL database (running on my web server) and PHP to output the contents (the bans) in JSON format, I then pointed my servers to this published ban list using the method suggested by Enari.

What this allows me to do is, via a web page, add the ban (to the offending player) and it's enforced across all my servers ;)

Leaf
User avatar
LeafCutter
[SPQR] Member
 
Posts: 150
Joined: Thu May 17, 2012 7:58 pm
Location: Oxford, England


Return to Server Help



Who is online

Users browsing this forum: No registered users and 11 guests

cron