Configure Gate

This page explains how you can configure Gate using a config file or environment variables.


Rate limiter

You can find the rate limiters under the quota section of the config.

Rate limiting is an important mechanism for controlling resource utilization and managing quality of service.

There are two rate limiters:

  • Connection limiter
    • triggered upfront on any new connection
  • Login limiter
    • triggered just before authenticating player with Mojang to prevent flooding the Mojang API

Each rate limiter is IP block based but cutting off the last numbers (/24 block) as in

Too many connections from the same IP-block (as configured) will be simply disconnected, and the default settings should never affect legitimate players and only rate limit aggressive behaviours.

Last modified September 20, 2020: add Minecraft 1.16.3 (717eae5)