Raised This Month: $32 Target: $400
 8% 

[TF2] Scrap.tf - automatic scrap banking (1.4.0)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Geel9
Senior Member
Join Date: Mar 2009
Plugin ID:
3420
Plugin Version:
1.4.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows users to join the scrap.tf queue by typing !scrapbank
    Unapprover:
    Reason for Unapproving:
    API key page 403s
    Old 12-17-2012 , 14:25   [TF2] Scrap.tf - automatic scrap banking (1.4.0)
    Reply With Quote #1

    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.

    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 api key page. This is an automatic and free process.

    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
    Attached Files
    File Type: sp Get Plugin or Get Source (scrap.sp - 843 views - 15.0 KB)
    File Type: smx scrap.smx (12.2 KB, 1060 views)

    Last edited by Geel9; 07-11-2013 at 23:43. Reason: Feedback given
    Geel9 is offline
    NameUser
    Senior Member
    Join Date: Apr 2012
    Location: Bay Area, California
    Old 12-17-2012 , 17:51   Re: [TF2] Scrap.tf - automatic scrap banking (1.0)
    Reply With Quote #2

    According to my players, the plugin is saying "This function is disabled." Any ideas why?
    __________________
    NameUser is offline
    Send a message via Skype™ to NameUser
    DeJaDeW
    SourceMod Donor
    Join Date: Jul 2009
    Location: California
    Old 12-17-2012 , 18:17   Re: [TF2] Scrap.tf - automatic scrap banking (1.0)
    Reply With Quote #3

    Works fine for me and other players. Maybe they have html motd disabled.
    __________________
    DeJaDeW is offline
    Skyrider
    AMX Mod X Beta Tester
    Join Date: May 2005
    Location: Netherlands
    Old 12-17-2012 , 18:27   Re: [TF2] Scrap.tf - automatic scrap banking (1.0)
    Reply With Quote #4

    I get the same "This function is disabled" message. HTML is fully enabled on my end seeing I see HTML motd's just fine.
    __________________

    Last edited by Skyrider; 12-17-2012 at 18:27.
    Skyrider is offline
    Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
    Geel9
    Senior Member
    Join Date: Mar 2009
    Old 12-17-2012 , 19:08   Re: [TF2] Scrap.tf - automatic scrap banking (1.0)
    Reply With Quote #5

    That issue's been fixed.
    Geel9 is offline
    Blackglade
    Senior Member
    Join Date: Jul 2012
    Location: NYC
    Old 12-17-2012 , 20:46   Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
    Reply With Quote #6

    Do you know if it works with pinion adverts or has any conflicting issues with them?
    Blackglade is offline
    Jessecar96
    Junior Member
    Join Date: Jan 2011
    Location: right here
    Old 12-17-2012 , 20:46   Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
    Reply With Quote #7

    So Geel9 originally had it done in a very bad and exploitable way so I disabled it temporarily.

    We redesigned it with API keys, and it's all working now.
    __________________

    Last edited by Jessecar96; 12-17-2012 at 20:52.
    Jessecar96 is offline
    Send a message via Skype™ to Jessecar96
    Geel9
    Senior Member
    Join Date: Mar 2009
    Old 12-17-2012 , 20:49   Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
    Reply With Quote #8

    Quote:
    Originally Posted by Blackglade View Post
    Do you know if it works with pinion adverts or has any conflicting issues with them?
    It displays its own message every so often, but you can set the timer cvar to 0 to make it not display.
    Geel9 is offline
    MaxOldPanda
    SourceMod Donor
    Join Date: Sep 2012
    Location: Shambhala
    Old 12-17-2012 , 21:36   Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
    Reply With Quote #9

    Tested on several servers, works like a charm.
    __________________
    MaxOldPanda is offline
    Trader
    Junior Member
    Join Date: Oct 2011
    Old 12-18-2012 , 00:21   Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
    Reply With Quote #10

    Works on my server, nice plugin to have.
    Decreases chatspam by 50% on my trade server.
    Trader is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 21:45.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode