Raised This Month: $12 Target: $400
 3% 

Storing Plugin Data


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dalto
Veteran Member
Join Date: Jul 2007
Old 07-28-2007 , 20:07   Storing Plugin Data
Reply With Quote #1

Where is the most appropriate place to store individual settings data for a plugin?

In the sourcemod data directory?
In the plugins directory?

Thanks again for the help, I am learning a lot from everyone.
dalto is offline
pRED*
Join Date: Dec 2006
Old 07-28-2007 , 20:15   Re: Storing Plugin Data
Reply With Quote #2

Configurable settings? Like a cfg file? Configs folder..

Data thats only supposed to be edited by the program - Data..
pRED* is offline
dalto
Veteran Member
Join Date: Jul 2007
Old 07-28-2007 , 20:27   Re: Storing Plugin Data
Reply With Quote #3

Perfect, thanks
dalto is offline
BAILOPAN
Join Date: Jan 2004
Old 07-28-2007 , 21:52   Re: Storing Plugin Data
Reply With Quote #4

If it's editable settings, it's configs. If it's temporary/permanent storage, archival, or databases, it should go in data.
__________________
egg
BAILOPAN is offline
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 07-29-2007 , 04:25   Re: Storing Plugin Data
Reply With Quote #5

cvar configs - <mod>/cfg/sourcemod
temporary/permanent storage, archival, or databases - <mod>/addons/sourcemod/data
custom (non cvar based) configs - <mod>/addons/sourcemod/configs

yay for fun
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
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 15:05.


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