PaperMC / Velocity

The modern, next-generation Minecraft server proxy.
https://papermc.io/software/velocity
GNU General Public License v3.0
1.68k stars 583 forks source link

Can't join Velocity Server with BungeeGuard (Unable to connect to lobby: Unable to authenticate) #1325

Closed DavidFrings closed 1 month ago

DavidFrings commented 1 month ago

Hi, I wanted to make a Velocity server with bungeeGuard (paper on the MC server side), but I can't join my server

I set bungeecord in the spigot.yml to true I also set bungeecord to true in the velocity.toml

the forwarding.secret contains:

{TOKEN}

the config.yml in BungeeGuard contains:

# BungeeGuard Configuration

# Allowed authentication tokens.
allowed-tokens:
  - "TOKEN"

# Messages

# Kick message sent to connections without any forwarded data from the proxy.
# Most likely a vanilla client connecting directly to the server, bypassing the proxy.
no-data-kick-message: "&cUnable to authenticate - no data was forwarded by the proxy."

# Kick message sent to connections with forwarding data, but without a correct BungeeGuard token
# included in their handshake. Assuming BungeeGuard is installed correctly on all proxies,
# this is most likely a client trying to exploit the BungeeCord protocol to spoof their uuid.
invalid-token-kick-message: "&cUnable to authenticate."

TOKEN = my token

DavidFrings commented 1 month ago

I don't know, is it an BungeeGuard or Velocity Problem?

DavidFrings commented 1 month ago

If it dont work with BungeeGuard, how can I fix the Problem with the skin, etc. when I set spigot.yml to none (I saw I could cange it to modern). What I would need to do?

Timongcraft commented 1 month ago

Read this: https://docs.papermc.io/velocity/player-information-forwarding Also this is not a bug so please go to the discord for support next time.