Lottery

by Dr. Kaputnik

System

XASECO

Description

Run a copper lottery on your server
It is based on Mistrals lottery and will select a random player at the end of the race. It will only pay to players who finished the track at least once. The more often a player finishes, the higher his/her winning chance will be.
You can set a minimum number of finishes and/or players needed for the lottery to pay, so no single player alone can take all of your server coppers.
There's also a possibility to exclude players from being paid out, this is meant especially for admins who don't want to win at their own lottery.

Installation

1. unzip the script to xaseco base directory
2. edit xaseco's plugins.xml and include the following line:
Code:
<plugin>plugin.lotto.php</plugin>
3. restart xaseco

Settings

Edit options in lotto_config.xml as described in the included readme.txt.

Note

Lottery will automatically pay amounts which are dividable by 5. The minimum amount that will be paid is 5 coppers.

Link(s)

Forum: https://www.tm-forum.com/viewtopic.php?t=21534

Download(s)

File Version Date Size Downloads
lottery(1.0).zip 1.0 2009-05-22 3.51 KB 2173