View Single Post
Author Message
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 09-14-2013 , 16:52   [ANY] Clientprefs Cleaner (Cookies Purge)
Reply With Quote #1

I believe it was requested for several times, so I decided to realize that for everyone because I am also interested in that.

This is simple as its called - plugin purges clientprefs database by removing player 'cookies', which has not been updated for long time.
It also refreshes cookies timestamp every time player connects, so cookies will not be removed accidentally (at least after once it purged).

There's only one ConVar: sm_cookies_removedays - Removes cookies which hasn't been updated for X days.
By default it removes cookies after 30 days of player inactivity.

Also don't forget to save current clientprefs database if you really care about cookies.

Servers with this plugin

Download plugin
Browse source code
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot

Last edited by Root_; 04-10-2014 at 11:16.
Root_ is offline