Advertisement
Guest User

Default Velocity Config

a guest
Jan 27th, 2021
680
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.15 KB | None | 0 0
  1. # Config version. Do not change this
  2. config-version = "1.0"
  3. # What port should the proxy be bound to? By default, we'll bind to all addresses on port 25577.
  4. bind = "0.0.0.0:25577"
  5. # What should be the MOTD? This gets displayed when the player adds your server to
  6. # their server list. Legacy color codes and JSON are accepted.
  7. motd = "&3A Velocity Server"
  8. # What should we display for the maximum number of players? (Velocity does not support a cap
  9. # on the number of players online.)
  10. show-max-players = 500
  11. # Should we authenticate players with Mojang? By default, this is on.
  12. online-mode = true
  13. # If client's ISP/AS sent from this proxy is different from the one from Mojang's
  14. # authentication server, the player is kicked. This disallows some VPN and proxy
  15. # connections but is a weak form of protection.
  16. prevent-client-proxy-connections = false
  17. # Should we forward IP addresses and other data to backend servers?
  18. # Available options:
  19. # - "none": No forwarding will be done. All players will appear to be connecting
  20. # from the proxy and will have offline-mode UUIDs.
  21. # - "legacy": Forward player IPs and UUIDs in a BungeeCord-compatible format. Use this
  22. # if you run servers using Minecraft 1.12 or lower.
  23. # - "bungeeguard": Forward player IPs and UUIDs in a format supported by the BungeeGuard
  24. # plugin. Use this if you run servers using Minecraft 1.12 or lower, and are
  25. # unable to implement network level firewalling (on a shared host).
  26. # - "modern": Forward player IPs and UUIDs as part of the login process using
  27. # Velocity's native forwarding. Only applicable for Minecraft 1.13 or higher.
  28. player-info-forwarding-mode = "NONE"
  29. # If you are using modern or BungeeGuard IP forwarding, configure a unique secret here.
  30. forwarding-secret = "JWJ4fSVsKeRX"
  31. # Announce whether or not your server supports Forge. If you run a modded server, we
  32. # suggest turning this on.
  33. #
  34. # If your network runs one modpack consistently, consider using ping-passthrough = "mods"
  35. # instead for a nicer display in the server list.
  36. announce-forge = false
  37. # If enabled (default is false) and the proxy is in online mode, Velocity will kick
  38. # any existing player who is online if a duplicate connection attempt is made.
  39. kick-existing-players = false
  40. # Should Velocity pass server list ping requests to a backend server?
  41. # Available options:
  42. # - "disabled": No pass-through will be done. The velocity.toml and server-icon.png
  43. # will determine the initial server list ping response.
  44. # - "mods": Passes only the mod list from your backend server into the response.
  45. # The first server in your try list (or forced host) with a mod list will be
  46. # used. If no backend servers can be contacted, Velocity won't display any
  47. # mod information.
  48. # - "description": Uses the description and mod list from the backend server. The first
  49. # server in the try (or forced host) list that responds is used for the
  50. # description and mod list.
  51. # - "all": Uses the backend server's response as the proxy response. The Velocity
  52. # configuration is used if no servers could be contacted.
  53. ping-passthrough = "DISABLED"
  54.  
  55. [servers]
  56. # Configure your servers here. Each key represents the server's name, and the value
  57. # represents the IP address of the server to connect to.
  58. lobby = "127.0.0.1:30066"
  59. minigames = "127.0.0.1:30068"
  60. # In what order we should try servers when a player logs in or is kicked from a server.
  61. try = ["lobby"]
  62. factions = "127.0.0.1:30067"
  63.  
  64. [forced-hosts]
  65. "minigames.example.com" = ["minigames"]
  66. # Configure your forced hosts here.
  67. "lobby.example.com" = ["lobby"]
  68. "factions.example.com" = ["factions"]
  69.  
  70. [advanced]
  71. # Specify a custom timeout for connection timeouts here. The default is five seconds.
  72. connection-timeout = 5000
  73. # Enables BungeeCord plugin messaging channel support on Velocity.
  74. bungee-plugin-message-channel = true
  75. # Specify a read timeout for connections here. The default is 30 seconds.
  76. read-timeout = 30000
  77. # Enables compatibility with HAProxy.
  78. proxy-protocol = false
  79. # Enables TCP fast open support on the proxy. Requires the proxy to run on Linux.
  80. tcp-fast-open = false
  81. # Shows ping requests to the proxy from clients.
  82. show-ping-requests = false
  83. # By default, Velocity will attempt to gracefully handle situations where the user unexpectedly
  84. # loses connection to the server without an explicit disconnect message by attempting to fall the
  85. # user back, except in the case of read timeouts. BungeeCord will disconnect the user instead. You
  86. # can disable this setting to use the BungeeCord behavior.
  87. failover-on-unexpected-server-disconnect = true
  88. # How much compression should be done (from 0-9). The default is -1, which uses the
  89. # default level of 6.
  90. compression-level = -1
  91. # Declares the proxy commands to 1.13+ clients.
  92. announce-proxy-commands = true
  93. # Enables the logging of commands
  94. log-command-executions = false
  95. # How large a Minecraft packet has to be before we compress it. Setting this to zero will
  96. # compress all packets, and setting it to -1 will disable compression entirely.
  97. compression-threshold = 256
  98. # How fast (in milliseconds) are clients allowed to connect after the last connection? By
  99. # default, this is three seconds. Disable this by setting this to 0.
  100. login-ratelimit = 3000
  101.  
  102. [query]
  103. # If query is enabled, on what port should the query protocol listen on?
  104. port = 25577
  105. # Whether plugins should be shown in query response by default or not
  106. show-plugins = false
  107. # This is the map name that is reported to the query services.
  108. map = "Velocity"
  109. # Whether to enable responding to GameSpy 4 query responses or not.
  110. enabled = false
  111.  
  112. [metrics]
  113. # A unique, anonymous ID to identify this proxy with.
  114. id = "0117dda4-d2ed-484f-9127-13c4b3ce414e"
  115. log-failure = false
  116. # Whether metrics will be reported to bStats (https://bstats.org).
  117. # bStats collects some basic information, like how many people use Velocity and their
  118. # player count. We recommend keeping bStats enabled, but if you're not comfortable with
  119. # this, you can turn this setting off. There is no performance penalty associated with
  120. # having metrics enabled, and data sent to bStats can't identify your server.
  121. enabled = true
  122.  
  123. # Legacy color codes and JSON are accepted in all messages.
  124. [messages]
  125. generic-connection-error = "&cAn internal error occurred in your connection."
  126. already-connected = "&cYou are already connected to this proxy!"
  127. online-mode-only = "&cThis server only accepts connections from online-mode clients.\n\n&7Did you change your username? Sign out of Minecraft, sign back in, and try again."
  128. # Prefix when the player is disconnected from a server.
  129. # First argument '%s': the server name
  130. disconnect-prefix = "&cCan't connect to %s: "
  131. no-available-servers = "&cThere are no available servers."
  132. # Prefix when the player gets kicked from a server.
  133. # First argument '%s': the server name
  134. kick-prefix = "&cKicked from %s: "
  135. moved-to-new-server-prefix = "&cThe server you were on kicked you: "
  136.  
  137.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement