An open store plugin for SourceMod.
More documentation and tutorials can be found at our wiki.
Just download the attached zip archive and extract to your sourcemod folder intact. Then navigate to your configs/
directory and add the following entry in databases.cfg
:
"store"
{
"driver" "mysql"
"host" "<your-database-host>"
"database" "<your-database-name>"
"user" "<username>"
"pass" "<password>"
}
Then, navigate to configs/store/sql-init-scripts
and execute store.sql
in your database. For each item module you want to add, execute the corresponding SQL file in configs/store/sql-init-scripts
and enable the plugin.
(Tutorial)
Copyright (C) 2013 Alon Gubkin
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.