Agave Tequilana can be used to determine the end of a game if enabled with EnableFinish (default).

Starting at VoteTurn, players can vote. Each player's vote is worth their number of planets, plus number of cactuses controlled (i.e., planets with a cactus count double). The game ends when more than FinishPercent of all votes want the end.

To vote for the end of the game, send a message

cactus: vote yes

to yourself. A vote is "sticky" and will be applied for this and future turns. To retract a vote, send a message

cactus: vote no

You cannot vote for the end of the game while you are still building cactuses. Any build command (temporarily) invalidates a vote yes.

Alternatively, the game will end when someone reaches FinishScore.

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.