View Single Post
Jay Dogg
Senior Member
Join Date: Jan 2009
Old 04-14-2012 , 18:57   Re: [ND] Commander Management (1.2.2, 2012-01-31)
Reply With Quote #13

I need just a little help cause I maybe missing something. Here is what I have going on in my database.cfg

Code:
"Databases"
{
    "driver_default"        "mysql"
    
    // When specifying "host", you may use an IP address, a hostname, or a socket file path
    
    "default"
    {
     "driver"            "mysql"
     "host"                "**.**.***.*"
     "database"            "gameserver"
     "user"                "******"
     "pass"                "******"
    }
    
    "storage-local"
    {
        "driver"            "sqlite"
        "database"            "sourcemod-local"
    }

    "clientprefs"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }
}
Which I already had this set up because Im using sourcemod web admin, sql banning and simple player tracking on my servers.


Here is how my commander_management_nd.cfg


Code:
"Config"
{
    "SQL"
    {
        "database.cfg"       "default"
    }
}
Now Im not sure if my commander_management_nd.cfg is set up right or if I need to have the full path to my database.cfg. Also doesnt this plugin need a table in my database? Most plugins I have ran into with database have some kind of sql file or dump to make the table in the database. Any and all help would be great.


Thanks Jay

Last edited by Jay Dogg; 04-14-2012 at 19:28.
Jay Dogg is offline