Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 #33

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
 



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