commandqueue

[Open Assets] commandqueue 2.1

Hi Everyone!

I've added some new features for this script:

suggestq

It's like "Add To Queue" from spotify, but in kart! Players can suggest to play a map next using this command. If the vote succeeds, that map will be played next without any vote. Now players can make requests for specific maps without needing to bother an admin!

How to use
In console (press ~), type suggestq followed by the name of your desired map


Note: you can suggest a map with its name, MapID, or two character code
suggestq Coastal Temple
suggestq MAP57
suggestq 57

If the vote passes, that map will be played next!




Note: Multiple maps can be queued at once, so feel free to keep queuing up as much as you want!

Server owner notes
* This feature requires hostmod to be loaded on your server
* You will need to make addq votable with hostmod. Add in your kartserv.cfg the following: hm_votable addq
* Additionally, you'll need to enable the commandqueue, and poponvote cvars:
cq_commandqueue 1
cq_poponvote 1
* Also, you will need to whitelist the map command
cq_whitelist map


Streamlined map queuing

* Multiple maps can now be queued up with one command. The example below will add Green Hills - Darkvile Garden to the queue in one command:

addq 01 02 03 04 OR addq MAP01 MAP02 MAP03 MAP04
Credit where credit is due: This functionality is inspired by ATO.

* When using addq for one map, you can additionally use its name to identify it
addq Green Hills
If there's more than one match, all matches will be displayed along with their mapid

What's that? You're wondering what a clock is doing in the bottom left? Don't worry about it :worry: (not this addon)
Back
Top