-
Notifications
You must be signed in to change notification settings - Fork 9
How to Configure Accounts With Priority Queue
Encho edited this page Jan 18, 2023
·
4 revisions
By default, 2based2wait is configured to handle prioless accounts that are connected to 2b2t 24/7, spending most of their time sitting through queue.
However, if you want to set up an account(s) with priority queue, there are a few things you should configure in your config.json
file:
-
waitForControllerBeforeConnect
{type: boolean}
{default: false}
: Set this to true so that the proxy will only connect to 2b2t when someone connects to the proxy, as opposed to staying online 24/7 and wasting bandwidth. -
notify
{type: object}
-
whenJoining
{type: boolean}
{default: true}
: Set this to false to remove the pointless "Joining Server!" messages to the status webhook, as they're redundant for accounts with priority queue. -
whenBelowQueueThreshold
{type: boolean}
{default: true}
: Set this to false to remove the pointless "Position X in queue!" messages to the status webhook, as they're useless for accounts with priority queue. -
whenControlling
{type: boolean}
{default: false}
: Set this to true to send a message to the status webhook when someone connects and disconnects from the proxy. This is only useful if you're sharing the account with multiple people and want to make it possible to tell whether an account is open without connecting to it.
-
whenJoining
-
experimental
{type: object}
-
disconnectIfNoController
{type: object}
-
active
{type: boolean}
{default: false}
: Set this to true so that the proxy will disconnect from the server if noone is controlling itexperimental.disconnectIfNoController.delay
seconds after someone disconnects from the proxy (while it isn't in queue). -
delay
{type: number}
{default: 7}
: How long to wait (in seconds) after a controller disconnects from the proxy to check whether it should disconnect from the server. Set this to "0" to disconnect immediately.
-
active
-
disconnectIfNoController