Advertisement
Guest User

Untitled

a guest
Oct 4th, 2024
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.50 KB | None | 0 0
  1. # Config version. Do not change this
  2. config-version = "2.7"
  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:13062"
  5. # What should be the MOTD? This gets displayed when the player adds your server to
  6. # their server list. Only MiniMessage format is accepted.
  7. motd = "Minecraft Network"
  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 = false
  13. # Should the proxy enforce the new public key security standard? By default, this is on.
  14. force-key-authentication = true
  15. # If client's ISP/AS sent from this proxy is different from the one from Mojang's
  16. # authentication server, the player is kicked. This disallows some VPN and proxy
  17. # connections but is a weak form of protection.
  18. prevent-client-proxy-connections = false
  19. # Should we forward IP addresses and other data to backend servers?
  20. # Available options:
  21. # - "none": No forwarding will be done. All players will appear to be connecting
  22. # from the proxy and will have offline-mode UUIDs.
  23. # - "legacy": Forward player IPs and UUIDs in a BungeeCord-compatible format. Use this
  24. # if you run servers using Minecraft 1.12 or lower.
  25. # - "bungeeguard": Forward player IPs and UUIDs in a format supported by the BungeeGuard
  26. # plugin. Use this if you run servers using Minecraft 1.12 or lower, and are
  27. # unable to implement network level firewalling (on a shared host).
  28. # - "modern": Forward player IPs and UUIDs as part of the login process using
  29. # Velocity's native forwarding. Only applicable for Minecraft 1.13 or higher.
  30. player-info-forwarding-mode = "modern"
  31. # If you are using modern or BungeeGuard IP forwarding, configure a file that contains a unique secret here.
  32. # The file is expected to be UTF-8 encoded and not empty.
  33. forwarding-secret-file = "forwarding.secret"
  34. # Announce whether or not your server supports Forge. If you run a modded server, we
  35. # suggest turning this on.
  36. #
  37. # If your network runs one modpack consistently, consider using ping-passthrough = "mods"
  38. # instead for a nicer display in the server list.
  39. announce-forge = false
  40. # If enabled (default is false) and the proxy is in online mode, Velocity will kick
  41. # any existing player who is online if a duplicate connection attempt is made.
  42. kick-existing-players = false
  43. # Should Velocity pass server list ping requests to a backend server?
  44. # Available options:
  45. # - "disabled": No pass-through will be done. The velocity.toml and server-icon.png
  46. # will determine the initial server list ping response.
  47. # - "mods": Passes only the mod list from your backend server into the response.
  48. # The first server in your try list (or forced host) with a mod list will be
  49. # used. If no backend servers can be contacted, Velocity won't display any
  50. # mod information.
  51. # - "description": Uses the description and mod list from the backend server. The first
  52. # server in the try (or forced host) list that responds is used for the
  53. # description and mod list.
  54. # - "all": Uses the backend server's response as the proxy response. The Velocity
  55. # configuration is used if no servers could be contacted.
  56. ping-passthrough = "DISABLED"
  57. # If not enabled (default is true) player IP addresses will be replaced by <ip address withheld> in logs
  58. enable-player-address-logging = true
  59.  
  60. [servers]
  61. # Configure your servers here. Each key represents the server's name, and the value
  62. # represents the IP address of the server to connect to.
  63. lobby = ""
  64. minigames = ""
  65. Survival = ""
  66. BoxPvp = ""
  67. # In what order we should try servers when a player logs in or is kicked from a server.
  68. try = ["lobby"]
  69. factions = ""
  70. [forced-hosts]
  71. "minigames.example.com" = ["minigames"]
  72. # Configure your forced hosts here.
  73. "lobby.example.com" = ["lobby"]
  74. "factions.example.com" = ["factions"]
  75. [advanced]
  76. # Specify a read timeout for connections here. The default is 30 seconds.
  77. read-timeout = 30000
  78. # Enables TCP fast open support on the proxy. Requires the proxy to run on Linux.
  79. tcp-fast-open = false
  80. # How much compression should be done (from 0-9). The default is -1, which uses the
  81. # default level of 6.
  82. compression-level = -1
  83. # How large a Minecraft packet has to be before we compress it. Setting this to zero will
  84. # compress all packets, and setting it to -1 will disable compression entirely.
  85. compression-threshold = 256
  86. # How fast (in milliseconds) are clients allowed to connect after the last connection? By
  87. # default, this is three seconds. Disable this by setting this to 0.
  88. login-ratelimit = 3000
  89. # Specify a custom timeout for connection timeouts here. The default is five seconds.
  90. connection-timeout = 5000
  91. # Enables logging of player connections when connecting to the proxy, switching servers
  92. # and disconnecting from the proxy.
  93. log-player-connections = true
  94. # Enables BungeeCord plugin messaging channel support on Velocity.
  95. bungee-plugin-message-channel = true
  96. # Shows ping requests to the proxy from clients.
  97. show-ping-requests = false
  98. #Allows players transferred from other hosts via the
  99. #Transfer packet (Minecraft 1.20.5) to be received.
  100. accepts-transfers = false
  101. # By default, Velocity will attempt to gracefully handle situations where the user unexpectedly
  102. # loses connection to the server without an explicit disconnect message by attempting to fall the
  103. # user back, except in the case of read timeouts. BungeeCord will disconnect the user instead. You
  104. # can disable this setting to use the BungeeCord behavior.
  105. failover-on-unexpected-server-disconnect = true
  106. # Declares the proxy commands to 1.13+ clients.
  107. announce-proxy-commands = true
  108. # Enables compatibility with HAProxy's PROXY protocol. If you don't know what this is for, then
  109. # don't enable it.
  110. haproxy-protocol = false
  111. # Enables the logging of commands
  112. log-command-executions = false
  113. [query]
  114. # If query is enabled, on what port should the query protocol listen on?
  115. port = 25577
  116. # Whether plugins should be shown in query response by default or not
  117. show-plugins = false
  118. # This is the map name that is reported to the query services.
  119. map = "Velocity"
  120. # Whether to enable responding to GameSpy 4 query responses or not.
  121. enabled = false
  122.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement