cs:go, tf2 server sourcemod plugins
An in-game store plugin.
The installation of this plugin is very simple. Once you downloaded all the files, you just have to upload them and restart the server. Make sure you don’t have any store plugins installed.
You can easily modify the items and the menu layout. The menu is generated from the file addons/sourcemod/configs/store/items.txt. The file follows the KeyValue format of the engine. Nothing is hardcoded in it. You can just add, delete, modify items or even add new submenus to it. To add a new submenu, you just have to add a new block to the keyvalue. For example:
"My new category"
"A new subcategory in my category"
...rest of the items.txt...
You can turn categories into individual items as well by setting its price. If you do that, your players will be able to get access to everything inside that category by paying for the category itself.
You can restrict items and even whole categories by simply adding the “flag” attribute to them.
"My restricted category"
"A restricted item inside a restricted category"
While using a MySQL database is optional, if you want to share credits and items between servers, you have to use one. First, you should open cfg/sourcemod/plugin.store.cfg and find the sm_store_database cvar. Once you found it, set its value to “store” or whatever you like. Then open addons/sourcemod/configs/databases.cfg and add a new entry called “store” (or whatever you set for the sm_store_database cvar) and point it to a mysql database. Make sure the database is empty or at least it doesn’t contain tables from other store plugins. After a server restart, all the necessary tables will be generated automatically.
Your email address will not be published. Required fields are marked *
This site uses Akismet to reduce spam. Learn how your comment data is processed.