Client Prefs Question

Post Reply
RTWNick
New to forums
New to forums
Posts: 7
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Mar 07, 2014 5:05 pm

Client Prefs Question

Post by RTWNick »

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
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Client Prefs Question

Post by Spray »

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 »

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