AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [TF2] Scrap.tf - automatic scrap banking (1.4.0) (https://forums.alliedmods.net/showthread.php?t=203295)

Geel9 12-17-2012 14:25

[TF2] Scrap.tf - automatic scrap banking (1.4.0)
 
3 Attachment(s)
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

NameUser 12-17-2012 17:51

Re: [TF2] Scrap.tf - automatic scrap banking (1.0)
 
According to my players, the plugin is saying "This function is disabled." Any ideas why?

DeJaDeW 12-17-2012 18:17

Re: [TF2] Scrap.tf - automatic scrap banking (1.0)
 
Works fine for me and other players. Maybe they have html motd disabled.

Skyrider 12-17-2012 18:27

Re: [TF2] Scrap.tf - automatic scrap banking (1.0)
 
I get the same "This function is disabled" message. HTML is fully enabled on my end seeing I see HTML motd's just fine.

Geel9 12-17-2012 19:08

Re: [TF2] Scrap.tf - automatic scrap banking (1.0)
 
That issue's been fixed.

Blackglade 12-17-2012 20:46

Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
 
Do you know if it works with pinion adverts or has any conflicting issues with them?

Jessecar96 12-17-2012 20:46

Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
 
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.

Geel9 12-17-2012 20:49

Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
 
Quote:

Originally Posted by Blackglade (Post 1855656)
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.

MaxOldPanda 12-17-2012 21:36

Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
 
Tested on several servers, works like a charm.

Trader 12-18-2012 00:21

Re: [TF2] Scrap.tf - automatic scrap banking (1.1.0)
 
Works on my server, nice plugin to have.
Decreases chatspam by 50% on my trade server.


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

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