Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2007
    Posts
    89

    Default cPGS user settings location

    Hey,
    I'm thinking of making an automation module for WHMCS.
    In a nutshell the module will give the users allowed state for game servers and will automatically initiate the core config and install of the server and perhaps even a auto IP/Port adder...
    This should be easy if I know where cPGS writes its client data too.
    Any ideas on where I can find the files for this so I can perhaps get the module coded.

    Thanks!

  2. #2
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    All of the cPGS configs are in /var/cpanel/gameserv* , the main ones being /var/cpanel/gameserv.cfg with the max slots / server allowed or not / allowed mods / remote user / etc , gameserv_rem.cfg holding the remote "core config" IPs, gameserv_ports.cfg to hold the allowed ports settings, gameserv_ips.cfg for the allowed IPs.
    Individual ports that are actually used for games vary widely, many games use ports that offer no way of configuring, they pick a random port or a set port and increment it by one if it's in use (or fail outright like teamspeak.) Auto setting firewall rules 100% correctly will be nearly impossible for that reason alone, but hopefully you can get enough info from the other stuff for what you are doing. Let me know if you need any more info about anything.

  3. #3
    Member
    Join Date
    Feb 2008
    Posts
    81

    Default

    night-fire.. Gimmie a buzz if you want some help (php/mysql/design)

    I've been quite activley using WHMCS on my site for a while. On the occasion when i create the gameservers ive just added a new product for them but this would be really handy!

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2007
    Posts
    89

    Default

    Quote Originally Posted by srobinson View Post
    night-fire.. Gimmie a buzz if you want some help (php/mysql/design)

    I've been quite activley using WHMCS on my site for a while. On the occasion when i create the gameservers ive just added a new product for them but this would be really handy!
    Thanks for the offer, I might hold you up to it.
    At the moment its still in early stages...
    I've seen all the files (found them a little bit before Darren), it doesn't look to great a deal.. However finding a way for the module to inter grade with WHMCS admin portal is the fun bit... :P

Similar Threads & Tags
Similar threads

  1. Tweak Settings text file location?
    By RandyO in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-13-2009, 01:57 PM
  2. no cpgs link for cpanel user
    By omega00 in forum cPGS Discussions
    Replies: 1
    Last Post: 09-25-2008, 10:32 AM
  3. custom mailserver in user settings
    By till in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-01-2008, 01:24 PM
  4. ut2004 please post cpgs launch settings
    By tooky in forum cPGS Discussions
    Replies: 8
    Last Post: 02-26-2008, 03:01 PM
  5. Per user mysql connection settings
    By ivankovalenko in forum New User Questions
    Replies: 2
    Last Post: 12-11-2005, 06:22 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube