Raised This Month: $ Target: $400
 0% 

[ANY] Profile Status v2.3.5 (08/02/2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
albiaps
Member
Join Date: Jun 2020
Plugin ID:
7050
Plugin Version:
2.3.5
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Allows server owners to control entrance to their servers based on hours, bans, Steam level and private profile.
    Old 07-11-2020 , 22:45   Re: [ANY] Profile Status v2.3.3 (06/23/2020)
    Reply With Quote #1

    What to put in databases.cfg?
    Please send me the text.

    Code:
    "Databases"
    {
    	"driver_default"		"mysql"
    	
    	// When specifying "host", you may use an IP address, a hostname, or a socket file path
    	
    	"default"
    	{
    		"driver"			"default"
    		"host"				"localhost"
    		"database"			"sourcemod"
    		"user"				"root"
    		"pass"				""
    		//"timeout"			"0"
    		//"port"			"0"
    	}
    	
    	"storage-local"
    	{
    		"driver"			"sqlite"
    		"database"			"sourcemod-local"
    	}
    
    	"clientprefs"
    	{
    		"driver"			"sqlite"
    		"host"				"localhost"
    		"database"			"clientprefs-sqlite"
    		"user"				"root"
    		"pass"				""
    		//"timeout"			"0"
    		//"port"			"0"
    	}
    
            "sourcebans"
    	{
    		"driver"			"default"
    		"host"				"*********"
    		"database"			"dbs596747"
    		"user"				"dbu736618"
    		"pass"				"**********"
    		//"timeout"			"0"
    		"port"			"3306"
    	}
    }
    __________________

    Last edited by albiaps; 07-11-2020 at 22:47.
    albiaps is offline
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 07-12-2020 , 03:17   Re: [ANY] Profile Status v2.3.3 (06/23/2020)
    Reply With Quote #2

    Quote:
    Originally Posted by albiaps View Post
    What to put in databases.cfg?
    Please send me the text.

    Code:
    "Databases"
    {
    	"driver_default"		"mysql"
    	
    	// When specifying "host", you may use an IP address, a hostname, or a socket file path
    	
    	"default"
    	{
    		"driver"			"default"
    		"host"				"localhost"
    		"database"			"sourcemod"
    		"user"				"root"
    		"pass"				""
    		//"timeout"			"0"
    		//"port"			"0"
    	}
    	
    	"storage-local"
    	{
    		"driver"			"sqlite"
    		"database"			"sourcemod-local"
    	}
    
    	"clientprefs"
    	{
    		"driver"			"sqlite"
    		"host"				"localhost"
    		"database"			"clientprefs-sqlite"
    		"user"				"root"
    		"pass"				""
    		//"timeout"			"0"
    		//"port"			"0"
    	}
    
            "sourcebans"
    	{
    		"driver"			"default"
    		"host"				"*********"
    		"database"			"dbs596747"
    		"user"				"dbu736618"
    		"pass"				"**********"
    		//"timeout"			"0"
    		"port"			"3306"
    	}
    }
    You only need to configure a database if you are not going to use the standard that the plugin configures.

    PHP Code:
    sm_profilestatus_database "storage-local" //Database name. Change this value only if you're using another database set in databases.cfg 
    Mas caso queira uma database separada para o plugin tente isso:
    Code:
    "profilestatus"
    {
    	"driver"	"sqlite"
    	"database"	"profilestatus"
    }
    Add this to database.cfg and then change the name of the database in the cvar.
    paulo_crash is offline
    ratawar
    BANNED
    Join Date: Dec 2017
    Location: GB
    Old 07-19-2020 , 13:12   Re: [ANY] Profile Status v2.3.3 (06/23/2020)
    Reply With Quote #3

    Quote:
    Originally Posted by albiaps View Post
    What to put in databases.cfg?
    Please send me the text.
    Quote:
    Originally Posted by paulo_crash View Post
    You only need to configure a database if you are not going to use the standard that the plugin configures.
    Sorry if it's a bit confusing. Basically, the value inside sm_profilestatus_database is the name of the database connection specified in databases.cfg - you could use value my_database_for_ps in sm_profilestatus_database, and as long as you have a connection named my_database_for_ps inside databases.cfg with its respective database connection credentials, such as hostname, database name, user, password and port, it should work perfectly fine.
    ratawar is offline
    Send a message via ICQ to ratawar Send a message via AIM to ratawar Send a message via Yahoo to ratawar Send a message via Skype™ to ratawar
    mhdd
    New Member
    Join Date: Jun 2020
    Old 08-31-2020 , 05:45   Re: [ANY] Profile Status v2.3.5 (08/02/2020)
    Reply With Quote #4

    Hello I have. Install Plug-in on server everything works fine just I have some question:
    1- do you only work with sql or can we use mysql? If we can use mysql what to do to make it work
    2- after having. Installed the plug-in for the csgo server messages for the Chat duplicated

    Last edited by mhdd; 08-31-2020 at 05:47.
    mhdd is offline
    ratawar
    BANNED
    Join Date: Dec 2017
    Location: GB
    Old 08-31-2020 , 16:12   Re: [ANY] Profile Status v2.3.5 (08/02/2020)
    Reply With Quote #5

    Quote:
    Originally Posted by mhdd View Post
    Hello I have. Install Plug-in on server everything works fine just I have some question:
    1- do you only work with sql or can we use mysql? If we can use mysql what to do to make it work
    2- after having. Installed the plug-in for the csgo server messages for the Chat duplicated
    Hey, I'm not sure if I got exactly what your issues were, but I'll try to answer them.

    1- Plugin supports both SQLite and MySQL, you don't have to do anything for it to work with either of them as it detects the database driver and adjusts its syntax for the queries automatically.
    2- Did you mean messages get duplicated? In the chat, or in the server console? Can you attach logs or images of what you're talking about?
    ratawar is offline
    Send a message via ICQ to ratawar Send a message via AIM to ratawar Send a message via Yahoo to ratawar Send a message via Skype™ to ratawar
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 10:07.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode