Velocity Luck Perms
I have dabbled a bit with Velocity and am hosting on my moonlight panel, so far everything works great but im doing it IP based, and decided to buy a domain last night just to test something and NOW.... Its connecting to the MC Modded and not the Lobby even though I setup the srv correct. Im using name.com for my domain as i followed a video.
Current Setup
- Velocity
- MC Lobby
- MC Vanilla
- MC Modded
Using these i just have two nps that teleport and works with ip but not the url. Any and all help would be great!
64 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 onedeyepete#0
or would it be best to just have two servers... one for vanilla, one for modded as this seems to be a big project for someone new-ish
the domain should only point to the velocity server. nothing else
you can then create forced hosts via the velocity config
thats what i tried, using my public ip and port 25577 for velocity but it justs trying to go for MC Modded also giving error "need to connect to velocity"
are you able to make ur velocity server on 25565?
if so you dont even need to worry about an srv record
uhhhh maybe? id have to redo the server because the lobby is 25565 i think
not really a redo, takes 3 seconds
oh god my MC Modded is 25565 -.-
with moonlight panel
i'll work on that tonight
ty! i fixed it! now to get it to actually show the name
so i got it working now... modded isnt working
Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused
at io.netty.channel.unix.Errors.newConnectException0(Errors.java:166) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:567) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at io.netty.channel.unix.Errors.handleConnectErrno(Errors.java:131) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at io.netty.channel.unix.Socket.finishConnect(Socket.java:359) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:499) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.doFinishConnect(AbstractEpollChannel.java:711) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:688) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:407) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.3.0-SNAPSHOT (git-09f687e5-b413)]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
ah modded proxy needs a specific FLAG to enable extra packets
i have said flag lemme find it
it worked before Y_Y
-Dvelocity.increased-compression-cap=true -Dvelocity.packet-decode-logging=true
do you have these?let me check
these dont come in the velocity.yml
well, no. mainly because these are Flags not configs 😛
do you have a panel or something?
moonlight panel
:pain:
ok
i forgot if you Could edit the startup flags with moonlight or not
there was too little features for me so i swap back to petro :Sadge:
check inside of your Startup section on the panel if you are able to edit the flags. aka these
you can actually
(its pterodactyl but still)
oh nice, add the flags i sent you and see if it works
trying
:thumbsupcat:
i can tell it doesnt work 😛
didnt work
i love proxy systems (hell no i dont)
mind throwing a latest.log or something
fabricproxy-lite i put the secret still doesnt work.
i wanna see the full log if possible
ah fabric, is this a modpack?
if so which pack
(some packs are just fucked)
so we gotta edit around some mods they have, like the main one KRYPTON ( I hate that mod )
just nuclear waste for proxy systems
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
message.txt
Requested by onedeyepete
log just realizsed sends my public ip
@Mortis mind deleting the message
would be nice to have a Delete only for owner button
my mclogs bot has that 😛
i deleted it. the upload stars it out
ahhhh
ok
The bot cant delete the attachment sadly
:Sadge:
its okay i did it myself
only the person who sent the msg can, i thought about forcefully deleting and attaching the msg sent as well etc
yeah ty though!
CurseForge
Essential Mod
The best way to play Minecraft. Enhanced Minecraft features in one simple mod. Fast, friendly, and for everyone!
16.1M Downloads | Mods
CurseForge
Essentials Mods [FABRIC] - 1.21 UPDATE!
Enjoy a game with only essential mods! It will be like playing Minecraft 2.0
82.5K Downloads | Modpacks
For safety reasons we do not allow executables to be sent as they might contain malware. If you're compiling for someone please DM them and as a reminder. We cannot verify if a compiled jar has not been tampered in any way
I still seems to be having an issue with proxy lite. It literally worked before and I followed all the steps. T.T
https://mclo.gs/5YMev4a this log shows classic signs of firewall issues
the connection gets dropped before it gets to the server
there was also no logs on the modded server showing that a player was connecting
correct. and port is open
well the plot thickens. i made a new forge server just to test and im direct connecting
im stupid... nvm. even though port was open it was not forwarded... ignore me.
yeah velocity doesnt let u direct connect, use a forced host
(can be found in the velocity config)
you can however allow direct connections, but its not recommended
i figured it out. stupid 25568 wasnt forwarded, i FINALLY upgraded to 1.20.1 and got taterzen to fully connect between modded, Lobby, and vanilla 😄
time to update to 1.21.1 now
orrrrr use ViaVersion 😄
NOW... I got a question about luck perms xD Y_Y
ngl just put it here and rename the question title
Skullians! yeah thats fair.
im currently following a guide and added the plugins and its not saving on lobby. i want certain people to be admin with op but... its not working and the video says yasss use DB but moonlight doesnt exactly give access to DB easily.
1. would strongly encourage against using /op. always use LuckPerms
2. Yeah, you’re in a bit of a situation there. You can either make another docker container separate (or in) moonlight, make a panel & user and enter details with that (etc) or use the ML integrated DB which isn’t ideal
1.20.1 is full of exploits
soo
¯\_(ツ)_/¯
^^
my biggest thing i REALLY wanted to do was have 1 npc for Vanilla, and 1 Npc for modded... but have the NPC say something like "HEY! You're not using fabric?! you cant connect!" or something like that
paper quite literally just made an announcement the other day warning people to upgrade
cause of the exploits
ugh but there goes all the mods or plugins i put into it Y_Y
ngl you’d probably have to implement some kind of custom plugin to check the client brand (which can sometimes not be available)
Updating paper servers is generally easier than modded
i was looking at velocity plugins and came across serverpermissions, but that didnt work.
yeah i just gotta backup and save world and upgrade the server
yeah, but with mods it’s generally more complicated
ik. trust me i know T_T
i JUST got it to a working state Y_Y
luckperms is the way to go, dont even look at other plugins/mods. your goal should be to figure out how to setup ur db properly
and also never prioritize * permissions as its basically operator without the true op, but still as deadly
also
luckperms velocity (proxy) /=/ luckperms on game servers (the normal luckperms with load of permission nodes)
dang it. i put this on hold and never got back to it -.-
moonlights got a hidden mysql DB as its not added to their settings yet
i dont even recall if i upgraded to the 1.21