Description :
This plugin detect when someone finish a trade with the bot and give that someone some credits !
See exemple :
(click to zoom)
Commands:
Invite the steambot to trade with you, and tada ! You got your credits !
Installation :
1) Download the smx, put it in the plugins folder
2) Configure the CVAR
[IMPORTANT]
3) Put Steambot_CustomPrices.txt in
CONFIGS folder ! This file allow you to give extra rewards for item. For exemple :
[ITEM DEFINITION INDEX OR NAME]:[NUMBER OF CREDITS]
A few exemple :
Code:
5000:9000 -> Will give '9000' credits for the item definition index '5000' (Scrap Metal)
AK-47 | Cartel (Well-Worn):98745 -> Will give '98745' credits for the item with the name 'AK-47 | Cartel (Well-Worn)'
My config file :
![](https://forums.alliedmods.net/image-proxy/9842d13c4ffb614115d4e46827eeb298455f2b62/687474703a2f2f7075752e73682f726c6a4b722f653162626361323761382e6a7067)
Note, DO NOT put name of item for all TF2 related stuff. Only Item definition index.
4) Write in the server console : sm plugins load
SteamBotStoreCredits or restart the server.
By default, the plugin multiply the trade value by '1000'. For exemple, if you put a "Chroma 2 Case" and "Chroma Case", the trade value would be of 0.09$. (Chroma Case = 0.06$ and Chroma 2 Case = 0.03$, wich means 0.03+0.06 = 0.09, it's simple math ;3), now let's multiply the result by 1000, the user will have 90
CREDITS ! Now let's complicate things a little bit. Let's say you have put "Chroma 2 Case" in the config file like this :
The number of credits the user will have is.... come one.... you can do it... CORRECT ! 890 CREDITS ! (800 from the config file + 90 of trade value ;3 !)
That's all what you need, enjoy !
Request :
None for the moment... feel free to ask !
Logs :
1.0 : First public release.