Velocity: making players switch server with command-blocks
I'm new to Velocity and I wanted to make it possible for players to switch servers from the lobby (PaperMC) with the help of command blocks, without having them manually send the
/server
.
I tried to look up on the net but found very few resources. Putting something like execute as @p run server [server name]
won't work because /server
is parsed by Velocity and not by the sub-servers, I guess, so I'd need some equivalent command to make the lobby server capable of telling Velocity to move players around
Is there any way to automate the server switching? Is there some plugin I couldn't find by looking on the net? Do I need to code one to make this?4 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by dst212#0
Command blocks cannot be used to execute commands on the proxy. They're not proxy aware
why not use a plugin like deluxe hub so they can use the compas or npc, or add a plugin that adds /send and use mycmd etc on the proxy
Yeah, I got that... I was just wondering whether there was a way to automate that- I think the title I put is a little messy
Thanks, that was what I was looking for. Kinda. I'll read about that. Once I manage to set it up I'll mark this as solved