[TF2] backpack.tf Price Check
v1.0.0
Description:Official backpack.tf price check plugin! Downloads the latest price list from
backpack.tf every hour and provides a !pc (or !pricecheck) command that allows users to quickly look up the prices of items. Usage: !pc item name. 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. Put the item name in quotes for an exact match, for instance !pc "mann co. supply crate". !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 (in the form of HUD text in the top-left of the screen + an audible alert) 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.
- Axtinguisher: +0.5 refined
- Unusual Handyman's Handle: -0.5 Buds
You can also use !pricecheck instead of !pc.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_auto_update - enables automatic updating of the plugin (has no effect if Updater is not installed) (defaults to 1)
Requirements:Requires the
SteamTools extension.
Installation:Install
SteamTools, put backpack-tf.smx into /addons/sourcemod/plugins, and reboot your server or type "sm plugins load backpack-tf" into your console or rcon.
Auto Update:Install
Updater. The plugin will be autoupdated according to your Updater settings. It'll work without Updater.
Changelog:- v1.0.0 (8/31/12)
- Initial release
Download Plugin (backpack-tf.smx)Download Source (backpack-tf.sp) (right click > save as...)
Wyświetl pełny artykuł