



This plugin allows users to type !scrapbank in-game, at which point the scrap.tf page will open in the MOTD. As soon as the page loads, the users are added to the queue automatically.



This plugin requires an API key for scrap.tf. It's easy to get an API key; simply login to scrap.tf and register one via the



An API key is required so that we can limit "griefing" of the service. One API key can be used on multiple servers.





Scrap.tf is an automatic scrap banking service. We allow users to scrapbank and reverse bank at the same rate, 1 scrap per two weapons. It costs the users nothing to do so.





Cvars:



scrap_ad_time: (Default 180) Displays a text message alerting users of the !scrapbank command every X seconds.



scrap_enabled: (Default 1) If 0, the plugin will not be enabled.



scrap_private_key: The private API key for your server. You cannot share this with anyone.



scrap_public_key: The public API key for your server. This key is not required to remain a secret.



Commands:

bank: Typing !bank or /bank shows a menu allowing a player to choose hat, key, or scrap banking.





Installation instructions:

Register an API key. You only need one for all your servers. Place the following in your server.cfg:

scrap_private_key "PRIVATEKEYHERE"

scrap_public_key "PUBLICKEYHERE"



Changelog:

1.4.0:

-Added incineration banking to plugin

-Added exit entry in the menu

-Fixed the help link





1.3.0:

-Changed banking to a menu

-Added hatbanking



1.2.0:

-Added key banking

-Added colors to the ad message.



1.1.0:

-Added support for API keys This is the official scrap.tf plugin.This plugin allows users to type !scrapbank in-game, at which point the scrap.tf page will open in the MOTD. As soon as the page loads, the users are added to the queue automatically.It's easy to get an API key; simply login to scrap.tf and register one via the api key page . This is an automatic and free process.An API key is required so that we can limit "griefing" of the service.Scrap.tf is an automatic scrap banking service. We allow users to scrapbank and reverse bank at the same rate, 1 scrap per two weapons. It costs the users nothing to do so.: (Default 180) Displays a text message alerting users of the !scrapbank command every X seconds.: (Default 1) If 0, the plugin will not be enabled.: The private API key for your server. You cannot share this with anyone.: The public API key for your server. This key is not required to remain a secret.: Typing !bank or /bank shows a menu allowing a player to choose hat, key, or scrap banking.Register an API key. You only need one for all your servers. Place the following in your server.cfg:scrap_private_key "PRIVATEKEYHERE"scrap_public_key "PUBLICKEYHERE"Changelog:-Added incineration banking to plugin-Added exit entry in the menu-Fixed the help link-Changed banking to a menu-Added hatbanking-Added key banking-Added colors to the ad message.-Added support for API keys Attached Files Get Plugin or Get Source (scrap.sp - 702 views - 15.0 KB) scrap.smx (12.2 KB, 924 views) Last edited by Geel9; 07-11-2013 at 23:43 . Reason: Feedback given