Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM 4.0 Plugin] Donate and TeamDonate
[SSGM 4.0 Plugin] Donate and TeamDonate [message #484169] Tue, 22 October 2013 05:07 Go to previous message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma:
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





http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] 4.0 Patch 1 Client building revival state fix
Next Topic: [SERVERTOOLS] 4.0 Server Tools
Goto Forum:
  


Current Time: Thu Dec 12 07:17:48 MST 2024

Total time taken to generate the page: 0.00849 seconds