Posts: 259
Threads: 17
Joined: Apr 2006
Reputation:
0
12-14-2006, 01:43 AM
(This post was last modified: 12-14-2006, 01:44 AM by manofphat.)
Hey guys,
I'm just wondering what everyone here does if they run multiple servers on a Windows box and want global bans across those servers and global admins (Mani -> clients.txt)
Are you guys just copying the files or do you actually have a master file to control it?
Also, how can I go about making a log that JUST records chat activity?
Thanks guys!!!
Posts: 184
Threads: 19
Joined: Sep 2006
Reputation:
0
We just copy'ing bans and admins..
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
When I run same mods on the servers I just run multiple servers from 1 install so every server has the same admins and bans.
When the servers need different mods I copy them
Posts: 43
Threads: 6
Joined: Jul 2006
Reputation:
0
Mani web admin is a great admin tool for multiple servers for the 1.2 beta version. Just put all the servers under the same group name and all the servers will share that admin list once you add them through the web interface.
As for a unified ban list, I wrote a simple Java application to read all the ban files (ip and steam ids) on all of my servers, merge them, then overwrite the original files with the new merged list. Then I just set it on a cron job (I'm using linux but it would work with windows task scheduler) to execute every 30 minutes. So anyone that gets banned by one of my admins on say server2 gets banned on all servers within 30minutes. Main reason I did java and not a simple bash script was because I have plans to make it communicate with a mysql database for better ban management with a php/jsp front end. Plus it allows it to work in windows.
I know that HLStatsX allows chat logging to the db and HLSW allows you to log chat separately. I know mani lets you log admin chat separately, don't think it does normal chat though. Then there's always the alternative of writing a script to parse it out of your logs to another file. Easy to do with a bash script in linux... no idea about windows.
Posts: 43
Threads: 6
Joined: Jul 2006
Reputation:
0
I can post my app (zip containing jar and source code) when I get off of work today as long as I remember.
Posts: 623
Threads: 7
Joined: Mar 2005
Reputation:
0
12-20-2006, 01:48 AM
(This post was last modified: 12-20-2006, 01:49 AM by Hollanda.)
Global banlist uses PHP5 and mysql, but that side of the mod you can use at your website hosting. I onlty got the webpart operated on linux webserver, server should work on windows + linux.
Do you have a link to the hackertracker plugin?
Posts: 623
Threads: 7
Joined: Mar 2005
Reputation:
0
This works via ftp?
If so it doesn't work for steam games. Ban get loaded at mapchange in the servers memory. At next mapchange the memory gets written in the ban files. Or you have to do a scheduled task: shutdown the server first, than upload the banfiles via ftp.