I'm just thinking about how to offer FTP/Shell access to my gaming customers.
A lot of providers offer FTP and shell access for their customers, but my major problems is, they can just modify the settings- change IP, change port, change number of players.
I don't want them to be able to do this.
I was thinking chown root the settings files etc, but then the game server would have to run as root itself? Unless I do the chmod so that it can view- but but will that work?
I was definatly going to give them a control panel, I've thought all of that through.
It's just most game server providers seem to give FTP and Shell access- for uploading maps etc. I want it all to be automated, i'm quite a good perl programmer, so this is no problem, it's just doing things like 'give ftp access' to certain folders, which are different for every game requires human intervention.
Also, ClanPanel, i'd like to see what that was like. I first thought it was a 'private' made control panel, but lots of providers seem to have it- where abouts does it come from, i can't find it on google.
Originally posted by thomas7 How do you get round people changing the number of players, de-branding etc etc?
With TCAdmin theres a warning system and it says if there slots change. Other than that there is no system other than checking up.
We put all our customers servers into All Seeing Eye (server scanning software) and every other day I scan all our servers.. De branded servers in one folder and branded servers in another. Servers which are wrong stick out like a sore thumb.
Alot of things like ports can be done via command line when launching the game and this prevents people changing it but some games if you put it in the config as well the config over rules it Some controlpanels do check this mind.
ClanPanel? Just a name we called ours... We thought it was suitable for what it was at the end of the day... Better than your gaming server control panel
Ah, so ClanPanel isn't actually software available on the market .
I suppose your right, if we check it.
Talking of that, we've got an UP/DOWN monitor- just by checking if the SCREEN (linux shell) is up, but it would be good to get a system that can find out the number of players/map being played.
Is there any software that can do that.
Or maybe some instructions on how to write one? Do most games have some sort of command you can send to a socket to get the info back?
Well i made a simple PHP script running via a batch script on a windows server. I intergrated it with a script called GameQ and it scans all our customers server via a query to our control panel data base and then inserts the results into a MySQL db on our webserver. We used to do it via cron job but we have US webhosting and UK gaming servers so they tended not always respond first time due to our cheap webhosting server :p
We also made a php script which does a sql query from our controlpanel database for the servers (hardware) them selves and then inserts it into the database.
What you have to remember mind is scripts like GameQ havent been updated for nearly a year and while certain servers running quake engine and hl engine can be scanned easily the same update to the source engine a few weeks back wasnt the easist to calculate the bytes but got it in the end.
So basically a little modification will be required.