[XASECO1] Knockout Cup Plugin

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

Post Reply
askuri
road tourist
road tourist
Posts: 88
Joined: 21 Apr 2013 10:01
Owned TM-games: All except TMO
Location: Germany
Contact:

[XASECO1] Knockout Cup Plugin

Post by askuri » 13 Jun 2020 14:25

This plugin creates a cup based on xaseco's local records. After a warm up phase, where everyone can participate,
the first knockout will happen. Means, all players who don't have a better serverrank than 'ko_begin_playercount'
(see plugin.knockout.php) will not get their records saved in the local database. Their local rank is frozen. These knockouts will happen periodically, knocking out more and more players until only one is left, who is the winner. The time between knockouts is referred to as a 'phase'. In-game, you will find cup information on the top left and in the top-center each player will see how close they are to being knocked-out.

WARNING:
This plugin has been lying around on my disk for about 4 years. Although i remember it working well, I do not guarantee it won't cause any problems. Use at your own risk!
This plugin is *NOT COMPATIBLE* with any other plugin or mod that requires replacing plugin.localdatabase.php or plugin.rasp.php!

Installation:
- Make a backup of your Xaseco installation!
- Copy knockout.json into your xaseco root folder (next to aseco.php)
- Copy all files in this zips plugins folder into your xaseco installation's plugins folder. Replace files if asked.
- Add this line to the bottom of plugins.xml: <plugin>plugin.knockout.php</plugin>

This plugin depends on Records Eyepiece, so it must be installed also!

Usage:
The following chat commands are available:

Code: Select all

/ko reset		restart cup and go to warmup, locals are kept
/ko skip		skip current phase
/ko refresh		refresh info widget
/ko setphasetime	changes the time between knockouts in hours
/ko addphasetime	makes current phase last x hours longer
Default settings for above chat commands and more settings can be set in plugin.knockout.php in the "config" section.

Download:
http://maniacdn.net/askuri/software_rel ... _0.1.0.zip

Post Reply