Page 1 of 1

[ML 2] AutoQueue

Posted: 14 Dec 2011, 18:12
by The_Big_Boo
A new standard plugin to manage a queue of spectators waiting for playing and more, inspired from the (aseco/fast/xaseco) plugin by fuckfish. The main purpose of this plugin is to be used on high ranked servers (eg. RoC servers).

Configuration

This plugin has several features that can be configured. You should first create an alias to make it easier.

Code: Select all

alias autoqueue = ManiaLivePlugins\Standard\AutoQueue\Config
autoqueue.lastToKick
How many players should be kicked at the end of the match. Note that it concerns only people who played the whole match (also known as newbie protection). Default is 2.

autoqueue.queueInsteadOfKick
Whether last players will be queued instead of kicked. If there isn't any spectator free place, they'll be kicked anyway. Default is true.

autoqueue.kickAdmins
Whether server admins are also concerned by kicking rules. Default is false.

autoqueue.playerIdleKick
Time in seconds before a player is kicked because of being considered as away from keyboard. Default is 300. A value of 0 disable the feature.

autoqueue.spectatorIdleKick
Same than previous setting but for spectators. Queued spectators aren't concerned. Default is 600, a value of 0 disabled it.

autoqueue.posX
autoqueue.posY

Position of the queue window. The window is always horizontally centered on posX. Columns are added automatically when needed. Default is 0 for posX and -40 for posY.


It is available in the standard plugins r304 and needs at least ManiaLive2 r284
Standard plugins