Downloads the latest price list from backpack.tf every hour and provides a !pc command that allows users to quickly look up the prices of items. The item name can be partial, for instance !pc napper's will present prices for Napper's Respite. Displays prices for all qualities, including unusual. !pc without any item name will present a list of all items.
The price list is updated every hour automatically. When a price list update is loaded, a notification is displayed to all users, followed by a list of all prices that have changed in the past hour. Example:
Price list updated.
Type !pc for a price check.
Demoman's Fro: Up from 1.33-1.44 refined to 1.55-1.66 refined
Orbiting Fire Handyman's Handle: Down from 1.5 buds to 1.3-1.5 buds
This plugin also provides !backpack and !bp commands that use backpack.tf. Set backpack_tf_bp_command to 0 if you have a separate backpack viewing plugin.
Commands: sm_pc [item name] - price checks an item sm_pricecheck [item name] - same as above sm_bp [username] - opens a player's backpack (or displays a list of clients if no match is found) sm_backpack [username] - same as above sm_updateprices - forces the price list to update (updates every hour automatically)
Cvars: backpack_tf_version - plugin version backpack_tf_bp_command - enables the !bp command (defaults to 1) backpack_tf_display_update_notification - enables the HUD + sound update notification and price update ticker (defaults to 1) backpack_tf_display_changed_prices - if backpack_tf_display_update_notification is enabled, displays all prices that have changed since the last update as a ticker (defaults to 1) backpack_tf_update_notification_x_pos - X-position for HUD text (defaults to -1.0) backpack_tf_update_notification_y_pos - Y-position for HUD text (defaults to 0.1) backpack_tf_update_notification_red - Red value of HUD text (defaults to 0) backpack_tf_update_notification_green - Green value of HUD text (defaults to 255) backpack_tf_update_notification_blue - Blue value of HUD text (defaults to 0) backpack_tf_update_notification_message_time - Seconds to keep each HUD message on the screen (defaults to 5) backpack_tf_menu_open_time - Seconds to keep the price check menu open, 0 for forever (defaults to 0) backpack_tf_api_key - API key obtained from http://backpack.tf/api/register/ backpack_tf_add_tag - Adds the "backpack.tf" tag to sv_tags, which is required for the server to be listed at http://backpack.tf/servers (defaults to 1) backpack_tf_auto_update - enables automatic updating of the plugin (has no effect if Updater is not installed) (defaults to 1)
Plugin generates and loads cfg/sourcemod/plugin.backpack-tf.cfg.
Install SteamTools, extract backpack-tf.zip, upload its contents to your /addons/sourcemod directory, and reboot your server or type "sm plugins load backpack-tf" into your console or rcon. Once loaded, the plugin will generate a configuration file under cfg/sourcemod. Get a backpack.tf API key and fill it into the appropriate cvar in the configuration file, then reload it (sm plugins reload backpack-tf).
Install Updater. The plugin will be autoupdated according to your Updater settings. It'll work without Updater.
Added Halloween 2014 taunt unusual effects
Added EOTL unusual effects
Added Halloween 2014 unusual effects
Added new taunt effects
Added support for Collector's
Added graceful MOTD failure messages
Added support for Vintage Uncraftable
Added new Halloween Unusual effects
Added Russian translation
Added support for Strange Uncraftable
Added Spanish and German translations
Added more verbose error logging
Added new Unusual effects
Added new robot Unusual effects
Updated plugin to use v3 of the backpack.tf IGetPrices API