-
-
Notifications
You must be signed in to change notification settings - Fork 271
Queue Settings
Lusamine edited this page Oct 13, 2020
·
1 revision
- Weighted mode allows you to assign customized weight to each type of queue. This allows you to specify how much you want the number of people in the queue and how long those people have waited to matter when the bot decides the next queue to process.
- LessCheatyFirst mode goes in the order SeedCheck, Clone, Dump, and Link Trade. The idea is less-popular and faster modes should be processed first.
The queue can be automatically opened and closed by the program.
- Threshold: The queue will close when the amount of users in the queue hits the maximum threshold value. The queue will open once the amount of users in the queue decreases to the minimum threshold value.
- Interval: The queue will open for a specified amount of time and will stay closed for another amount of time before re-opening.
-
Manual: Sudo users can manually toggle the queue open or closed with
$tt
. The queue will not open or close otherwise.
Note: If the mode is set to Threshold or Interval, the bot will automatically open the queue if conditions are met, even if a sudo user closes it manually.
You can adjust the weights of the queues to customize how users are prioritized:
- First come, first served:
- Set the Count weights to zero, set the weight mode to Add, and set the Time weights to the same value.
- Biggest queue first: Set the Count weights to the same value, and set the time weights to zero.
- Mix and match the weights as you see fit. Default is 100 for count and 1 for time.
Note: Users with sudo permission are given highest weight and will be processed first. Giving out sudo is not recommended except for testing since sudo users have power over your bot.