TF2 Donations v1.1
5 Attachment(s)
Want to increase your server's donations?
Donations v1.1 Description: -Easily add donators and have them recognized accross multiple servers or just on one. -Recognition at the moment provides access to reserved slots, auto-balance blocker, coloured chat, and unbalanced team swapping. Installation: -Place Donations.smx in your addons/sourcemod/plugins/ folder. -Place donation_config.txt in your addons/sourcemod/data folder. -Configure your database.cfg accordingly, see below. Local Database configuration (1 Server): -Open database.cfg located in your addons/sourcemod/configs/ folder. -For SQL-Lite (Local SQL), you will want to edit three things. -Change the keyvalue "default_driver" from "mysql" to "sqlite". -Change the key "default" to "storage-global". -Change the key "storage-local" to "default". -It will look like: Code:
"Databases" Global Database configuration (2+ Servers): -Open database.cfg located in your addons/sourcemod/configs/ folder. -Edit the MySQL keyvalues respectivly to your MySQL Database. -It will look something like: Code:
"Databases" Usage: -Requires Admin 'Custom Level 1': sm_listdonators. This will print a list of all donators by SteamID in their console. -Requires Admin 'Custom Level 6': sm_donator <Steam Id>. This will add a donator to the database by their Steam Id. I.e., sm_donator "STEAM_0:1:696969". -Requires Admin 'Custom Level 6': sm_removedonator <Steam Id>. This is used the same way as sm_donator but removes a donator from the database. Config Configuration: -Open your donation_config.txt. -To enable/disable team swapping by changing the keyvalue of "Swap Team" to "1" for on, and "0" for off. -To enable/disable chat colouring by changing the keyvalue of "Coloured Chat" to "1" for on, and "0" for off. -To set the amount of slots you want to reserve by editing the keyvalue "Reserved Slots" respectivly. -To change the say command for team swaping, edit the keyvalue "Team Swap". -To Change the welcome message for donators, edit the keyvalue "Welcome Message". -Save & Exit. -It will look something like: Code:
"Config" Changelog: v1.1 -Config File -Coloured Chat -Team Swap -MySQL Connection Bug Fix v1.0 -Release Special Thanks: -iO gaming community -DJ Tsunami for SQL scripting help and helping me on my decision to make this post more masculine. |
Re: Donations v1.0 by Pinkfairie
Nice! I've been looking for this
|
Re: Donations v1.0 by Pinkfairie
i think coloured text would be nice
|
Re: Donations v1.0 by Pinkfairie
donators not getting autobalanced. not getting kicked for being idle,donators can play restricted classes[if pyro is set to 3 max donators can bypass that]
donators can do votes, donators may changes teams even if it would unbalance them slightly feel free to test it on our server like you did the gore plugin we have a full donations list and would love to test any addons to the plugin. |
Re: Donations v1.0 by Pinkfairie
+1 vote on mapchooser votes?
So they can count as 2 votes |
Re: Donations v1.0 by Pinkfairie
Colored text is a really good idea, ill implement that soon. As for idle kicking, restriction bypass and +map votes, these are not default in TF2; thusforth requiring a modified version of each of those plugins. I'll put in change team too.
|
Re: Donations v1.0 by Pinkfairie
Would it be also rude to ask if there was a automated remove time? seeing as you seem to make it require a sql database, could you get the plugin to check every-so-often (defineable by a config, I'd hope) and disable a donator ? (Not remove - as they might "redonate")
|
Re: Donations v1.0 by Pinkfairie
Invuln/godmode during bonus round time so they can't get humiliated? (Stole the idea from voogru)
|
Re: Donations v1.0 by Pinkfairie
Going to add teamswap, colored chat, auto-pruning, and invuln when round over. Good ideas guys
|
Re: Donations v1.0 by Pinkfairie
ello Pinkfairie I have some code that will give sponsors fast respawns, however IF the map is pl_goldrush OR cp_dustbowl it disables the fast respawns, keeping those maps as fair as possible. If you want it of course ;)
Matt |
All times are GMT -4. The time now is 13:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.