SRCDS Steam group


Multi-Server - Single Files
#1
Question 
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!!!
Reply
#2
We just copy'ing bans and admins..
Reply
#3
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
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#4
AMX bans (web)  + banlist (server: source mm) or: AMX bans (web) + steambans.com (server)

http://forums.alliedmods.net/showthread.php?t=39949

The only but is I myself can't get the standalone source_mm to work and for the steambans variant you need an advanced (+3 server) license. I have that but still can get the steambans variant to work.

Example (only not working for the servers): http://bans.onlydutch.com
[Image: banner.gif]

Reply
#5
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.
Reply
#6
Soynuts Wrote: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.

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.

Thanks for your reply! What are the chances of me obtaining a copy of this Java application?

Both my servers currently use HLstatsX Premium and I'm using the admin log viewer built into that to check out the admin activities and it works great. I'll install HLSW on my server and give that a go for the log files. I never thought about that.
Reply
#7
I can post my app (zip containing jar and source code) when I get off of work today as long as I remember.
Reply
#8
Wicked! Thanks man!
Reply
#9
Here is the zip file containing what you need: Click Here to Download Merge Ban Files

The 2 config files should be in the same directory as the jar file. In each config you put the full path to each individual ban file, each on it's own line. BannedUserFiles contains the paths to the banned_user.cfg files found in each cfg file and BannedIpFiles contains the paths to the banned_ip.cfg files.

I included the source in the zip which anyone is free to modify to their liking.

To execute the application do the following in the directory of the jar file from a command prompt:

Code:
java -jar MergeBanFiles.jar

I created a shell script that handles executing it and I put that shell script on a cron job. You could write a cmd file that handles executing it and adding that as a scheduled task.
Reply
#10
Why not use Global banlist?

http://bans.onlydutch.nl

http://forums.alliedmods.net/showthread.php?t=39949
[Image: banner.gif]

Reply
#11
Soynuts Wrote:Here is the zip file containing what you need: Click Here to Download Merge Ban Files

Perfect! I just downloaded your file and I'll give it a shot now!

Hollanda Wrote:Why not use Global banlist?

http://bans.onlydutch.nl

http://forums.alliedmods.net/showthread.php?t=39949

Hollanda, from what I can see there it looks like it's only available for Linux Sad
Also it looks like I'd have to get PHP and Apache setup on my box again and I was just able to get rid of them for switching to HLstatsX Premium! It looks sexy though. I currently use something similar but it does the ban file manually: http://northernresistance.com/e107/e107_plugins/HackerTracker/hackertracker.php
Reply
#12
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?
[Image: banner.gif]

Reply
#13
Here is the link to the hacker tracker: http://www.e107coders.org/download.php?view.1317
Reply
#14
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.
[Image: banner.gif]

Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)