This is a collection of plugins for minqlx.
The Python dependencies are included in requirements.txt. Make sure you do a
python3.5 -m pip install -r requirements.txt
first. pyzmq
and hiredis
might
need easy_install
instead of pip
.
The extras directory contains plugins I would not advice you use unless you further improve them or just use them for the purpose of learning.
If you have any questions, the IRC channel for the old bot, #minqlbot on Quakenet, is being used for this one as well. Feel free to drop by.
This is a list of plugins and their cvars. Set the cvars by passing them as a command line argument or using server.cfg
like you would with any other QLDS cvar.
- plugin_manager: Adds commands to load, reload and unload plugins at run-time.
- essentials: Adds commands for the regular QLDS commands and some more. Adds functionality to restrict teamsize voting
and to pass votes before it fails if the majority votes yes.
qlx_votepass
: A boolean deciding whether or not it should automatically pass votes before they fail if the majority voted yes.- Default:
1
- Default:
qlx_votepassThreshold
: Ifqlx_votepass
is1
, determines the percentage (in decimal) of in-game players required to vote before it automatically passes any votes.- Default:
0.33
- Default:
qlx_teamsizeMinimum
: The minimum teamsize allowed to vote for.!teamsize
can override this.- Default:
1
- Default:
qlx_teamsizeMaximum
: The maximum teamsize allowed to vote for.!teamsize
can override this.- Default:
8
(if teams are full and teamsize is above 8, players will not be visible on the scoreboard)
- Default:
- ban: Adds command to ban people for a set amount of time. Also adds functionality to ban for automatically
for leaving too many games.
qlx_leaverBan
: A boolean deciding whether or not it should automatically ban players for leaving.- Default:
0
- Default:
qlx_leaverBanThreshold
: Ifqlx_leaverBan
is1
, determines the percentage of games (in decimal) a player has to go below before automatic banning takes place.- Default:
0.63
- Default:
qlx_leaverBanWarnThreshold
: Ifqlx_leaverBan
is1
, determines the percentage of games (in decimal) a player has to go below before a player is warned about his/her leaves.- Default:
0.78
- Default:
qlx_leaverBanMinimumGames
: Ifqlx_leaverBan
is1
, determines the minimum number of games a player has to player before automatic banning takes place. If it determines a player cannot possibly recover even if they were to not leave any future games before the minimum, the player will still be banned.- Default:
15
- Default:
- clan: Adds commands to let players have persistent clan tags without having to change the name on Steam.
- motd: Adds commands to set a message of the day.
- permission: Adds commands to set player permissions.
- names: Adds a command to change names without relying on Steam.
qlx_enforceSteamName
: A boolean deciding whether or not it should force players to use Steam names, but allowing colors, or to allow the player to set any name.- Default:
1
- Default:
- raw: Adds commands to interact with the Python interpreter directly. Useful for debugging.