CTF league.dll build 2


Warnings:
There is a security flaw, read below.
This is to be used ONLY in conjunction with the cTF plugin!


About:
Organizes a warzone-style flag game league match between two squads.
Analyzes statistics from each flag game, displays them on a victory.


Installation:
In spawns.txt, use league.dll instead of blank.
Type /!enable to enable the bot.
Type /!teamlimit X to change from the default 10 players.
Type /!setcap0 <name> and /!setcap1 <name> to set team captains.
Type /!startround to begin the round.


Commands:
SysOp- 
SMod- *prize #7
Mod- *arena *specall *spec *setship *setfreq *flagreset *shipreset


Issues:
------------------SECURITY FLAW--------------------
Problem:
Limited operator powers are given to team captains,
granting Limited powers on other plugins loaded by
the same bot spawn.

Solution:
Do not load any other plugins on same bot spawn, or
do not load other plugins that grant specific power
to Limited operators.
---------------------------------------------------


Exported commands:

// Player+
!status - show game status
!listcaps - show teams and team captains

// Limited+ (captains)
!add - add players to team
!drop - drop players from team

// Mod+
!teamlimit - Set number of players per team
!enable - Lock arena (enable)
!disable - Unlock arena (disable)
!setcap0 - Set captain for team 0
!setcap1 - Set captain for team 1
!remcaps - Remove all captains
!startround - Start a new round
!abortround - Abort a round

// SMod+
+!version - dll name/maker/version
