Blog Tech Jeepin About
tt

Timed Admin Console Messages

Rcon admin announcements.
I'm avoiding bloatware for my game server, prefering instead to write the features and tools I need in a lighter, more efficient way if possible.

I put the following Python script together to send Rcon admin messages to the game at regular intervals, which appear as "console" messages. I'm using it with an Urban Terror server but it should work for any game using Rcon and can be easily adapted / expanded on.

Simple Rcon Connection With Python

Python scripting
An easy way to connect to Rcon using Python, allowing game control outside the console. Useful to start or as a base for building admin / automation scripts.

Python's included with many Linux releases so it may be already installed on your server.. I believe the code should work for any game using Rcon.

Using Iptables To Block Bot Scans

Block bots with iptables.
I get the occasional bot scan searching for PMA, etc... Fairly routine and harmless (plus I don't use pma). It takes up log space though and is unnecessary work for the server. Redirecting and telling Apache not to log the hit was an option, but really I wanted to stop the scan before the web server.
Latest Comments
Tagged
Latest Posts

Archive
t
^
© All rights reserved.