[SSGM 4.0 Plugin] Donate and TeamDonate [message #484169] |
Tue, 22 October 2013 05:07 |
|
Xpert
Messages: 1588 Registered: December 2005 Location: New York City
Karma: 0
|
General (1 Star) |
|
|
Donate Plugin:
Yes regulators such as BRenBot and CloudyServ already have a donate function. However, I never liked the idea of the regulators being in control of the donate. If the bot goes down or is restarted, players can't donate and also the donate wait timer is off track. The bots can't also tell how much credits the player is holding and is just assuming the player has the right amount of credits and tries to distribute it.
If you're using BRenBot, set the donate module off from IRC:
!set donate off
You can set the time for how long before a player can donate into the map. The default is set to 300 seconds (5 minutes) if a setting isn't placed.
TeamDonate Plugin:
Credits:
reborn for original plugin from ssgm 2.0.2.
Iran for original conversion to a 4.0 plugin.
roszek for bringing up the idea of adding a timer in Iran's teamdonate plugin topic.
You can set the time for how long before a player can team donate into the map. The default is set to 300 seconds (5 minutes) if a setting isn't placed.
I changed a logic originally placed by Iran. You can't team donate an amount that's less than the amount of players on your team instead of the original logic of 100 or less.
Settings:
Quote: |
[Donate]
; WaitTime_Donate=
; WaitTime_TeamDonate=
;
; Time to wait before allowing players to use donations.
WaitTime_Donate=300
WaitTime_TeamDonate=300
|
Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.
Part time streamer - https://twitch.tv/gg_wonder
[Updated on: Wed, 13 November 2013 05:36] Report message to a moderator
|
|
|
|
|
|
Re: [SSGM 4.0 Plugin] Donate and TeamDonate [message #484445 is a reply to message #484169] |
Wed, 13 November 2013 05:37 |
|
Xpert
Messages: 1588 Registered: December 2005 Location: New York City
Karma: 0
|
General (1 Star) |
|
|
Updated both plugins.
Forgot to register the INI functions for TeamDonate. This caused the timer setting not to be read.
Edited donate so that it pages the user how to donate if they enter it incorrectly.
Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.
Part time streamer - https://twitch.tv/gg_wonder
|
|
|