PDA

View Full Version : Storing Plugin Data


dalto
07-28-2007, 20:07
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.

pRED*
07-28-2007, 20:15
Configurable settings? Like a cfg file? Configs folder..

Data thats only supposed to be edited by the program - Data..

dalto
07-28-2007, 20:27
Perfect, thanks

BAILOPAN
07-28-2007, 21:52
If it's editable settings, it's configs. If it's temporary/permanent storage, archival, or databases, it should go in data.

FlyingMongoose
07-29-2007, 04:25
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