Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Velocity not working [server] NPC #12

Open
TheMrMes109 opened this issue Jun 19, 2023 · 1 comment
Open

Velocity not working [server] NPC #12

TheMrMes109 opened this issue Jun 19, 2023 · 1 comment

Comments

@TheMrMes109
Copy link

TheMrMes109 commented Jun 19, 2023

Describe the bug
A clear and concise description of what the bug is.

Velocity not working [server]
When you click on the NPC does not throw to the server
On the old version 1.18.2 everything worked

Expected behavior
A clear and concise description of what you expected to happen.

When I click on the NPC, I should be connected to another server in Velocity

Versions (please complete the following information):

  • Citizens version : Citizens version 2.0.32-SNAPSHOT (build 3131)
  • Spigot version : Current: git-Purpur-1996 (MC: 1.20.1)*
    Previous: git-Purpur-1985 (MC: 1.19.4)
  • CitizensCMD version : CitizensCMD version 2.6.12
  • Java version : java -version
    openjdk version "17.0.7" 2023-04-18
    OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
    OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)

Additional context
Add any other context about the problem here.

CitizensCMD/data/saves.yml
 npc-data:
   npc-0:
     cooldown: 0
     right-click-commands:
     - '[message] I'm trying to connect to the server!'
     - '[server] recreation'
     left-click-commands:
     - '[message] I'm trying to connect to the server!'
     - '[server] recreation'
     price: 0
velocity.toml
[servers]
# Configure your servers here. Each key represents the server's name, and the value
# represents the IP address of the server to connect to.
hub = "hub.example.com:25569"
recreation = "rc.example.com:25566"
skyblock = "sb.example.com:25567"
beta = "beta.example.com:25568"
# In what order we should try servers when a player logs in or is kicked from a server.
try = ["hub"]
@HexedHero
Copy link
Owner

Velocity should be listening to the BungeeCord channel and managing the server change
https://github.com/PaperMC/Velocity/blob/dev/3.0.0/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BungeeCordMessageResponder.java#L60
Unless this is also broken on BungeeCord networks it's a Velocity issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants