Client Prefs Question

Post Reply
RTWNick
New to forums
New to forums
Posts: 7
Joined: Fri Mar 07, 2014 5:05 pm

Client Prefs Question

Post by RTWNick » Fri Jul 04, 2014 8:25 pm

Hi,

I have a question regarding Client Prefs in SM and about using them. I know that client prefs requires a MySQL Database for the server but do I need one for every server (I run 6+ Servers) or do I need a seperate Database for each server.

Thanks!

User avatar
Spray
Staff
Staff
Posts: 546
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Client Prefs Question

Post by Spray » Sat Jul 05, 2014 8:19 am

You can use 1 client preferences databases for multiple servers. You can even use the same client preferences database for multiple games. I wrote a plugin a while back that uses client preferences to store user reputation points across servers for 3 games, all using the same database for information.

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Client Prefs Question

Post by soja » Sat Jul 05, 2014 8:45 am

Clientprefs are, by default, stored in a sqlite database, it works out of the box with nothing required by you.
Not a NFO employee

Post Reply