Skip to content

Configuration Guide

Encho edited this page Mar 24, 2022 · 25 revisions

account:

  • username: The username of the account
  • password: The password of the account (only required for Mojang accounts—Microsoft accounts will get instructions to give application permissions in the console, so just leave it empty)
  • auth: Authentication type ("mojang" or "microsoft")

discord:

  • webhook:
    • position: The Discord webhook to send updates on your position in queue
    • livechat: The Discord webhook to relay livechat
    • sensitive: The Discord webhook to send sensitive information
  • color: Color of Discord embeds sent to the webhooks in decimal value (you can use convertingcolors.com to find the decimal value of a color you want)
  • id: ID of the Discord user(s) to ping when below the queueThreshold

queueThreshold: Minimum queue position before desktop notifications & Discord pings start getting sent

reconnectInterval: Time (in seconds) between each reconnection attempt

uncleanDisconnectInterval: Time (in seconds) proxy will go without getting a single packet from 2B2T before assuming it was uncleanly disconnected and initiating a reconnect attempt

log:

  • active: Whether to make logs (true or false)
  • cutoff: Maximum size a log can be (in bytes) before it gets split up
  • filter: Array of packets to not log (default settings are totally arbitrary and just there to stop your logs from ballooning in size if you don't configure these settings)

server:

  • host: Address of the server to connect to
  • version: The version of Minecraft the server is on (e.g. 1.12.2, 1.18.1, etc.)

proxy

  • whitelist: Array of playernames of accounts that are allowed to connect to the proxy
  • onlineMode: Whether to enable online-mode—probably shouldn't touch this (true or false)
  • port: Which port to connect to the proxy

ngrok

  • active: Whether to create an ngrok tunnel (true or false)
  • authToken: The auth token for your Ngrok.io account
  • region: Tunnel region (e.g. us, eu, au, ap, sa, jp, or in)

coordination

  • active: Whether to use a master config file and coordinator (true or false)
  • masterConfigPath: Path to the master config file.
  • coordinatorPath: Path to the coordinator file.

^ A guide on using the coordinator will be added once functionality is complete