Finish Copper Payout

by Expressman

System

XASECO

Description

Pay out coppers for finishing a map the first time and beating the gold time the first time
It's based on Mistrals & Dr. Kaputniks lotto script. Credits to them.

Features

- optional pay out coppers for reaching the finish the first time
- pay out coppers for beating gold (would be easy to modify for authortime)
- optional payment logging
- ignored login list

Installation

1. unzip the script to xaseco base directory
2. edit xaseco's plugins.xml and include the following line before localdatabase and rasp plugins:
Code:
<plugin>plugin.finishpayout.php</plugin>
3. configure the settings described below
4. restart xaseco

Note

!!! Plugin must be inserted as very first plugin in front of localdatabase and rasp, otherwise the check for first finish on map won't work as intended, because the time is already inserted into the database !!!
Note also, that there is a hardlimit of maximum 500 coppers payment included to prevent config mistakes!

Settings

Settings file is located in xaseco base directory and called finish_config.xml.
Edit servername and coppersamout to pay the winners.

Link(s)

Forum: http://www.tm-forum.com/viewtopic.php?t=21931

Download(s)

File Version Date Size Downloads
finish_copper_payout(1.0).zip 1.0 2009-06-22 3.48 KB 798