#waterfall-help
1 messages Β· Page 54 of 1
do I need to do anything for plugins
no
if I ban someone where would they be banned from
Only that server
no
would they be banned from that specific server or from bungee entirely
You'd need a plugin if you wanted global bans
kk
I'm using litebans rn and Imma look into how to use it
with bungee
does waterfall need a high ram?
like in the startup options
no
most memory you care about is off-heap, most waterfall servers run sub 1G of ram
ahh I see
so the rams would be taken from the server themselves
so what do I add in the start script
pins
java -jar -Xmx1G ./waterfall.jar?
found it
how do you restart bungee?
the command
no
should waterfall be run on a different device or the same device as the servers
wait what address already in use?
but non of the servers have started yet
how do you check like which port is being used by which process?
wait a minute
you can't bind to 0.0.0.0 right
[16:41:38 WARN]: Could not bind to host /0.0.0.0:25565
java.net.BindException: Address already in use: bind
so this means something is taking up 25565
plz gibe windows command XD
developing on windows is easier ok I'm used to it dont judge
oh no reply pings either?
kk
bruhhh
why does everything has to take 25565
it's the freaking wacom tablet
now it's asus armoury
when will it end
is there why people have dedicated developing computers
in part, yea
CAN NOT OBTAIN OWNERSHIP INFORMATION
how does that work
just nothing is using it but it's being used?
is there some other address I can bind it to and doesn't require the players to specify a port?
no
only 0.0.0.0:25565?
i mean, you can try assigning to the LAN ip, but, gotta be port 25565
no
it, erm, binds on a local host, afaik
thiink that there was some oddities with that option a while ago
or would that break things
your pc doesn't have the public IP address on it
right
ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
now wtf is THIS
TCP 0.0.0.0:25565 DESKTOP-RP14TS0:0 LISTENING
it's just the windows OS?
why is there a random javaw running that's taking up 25565 ahhhh
holy sh*t finally after killing dozens of process
wait what is ip forwarding
i know port forwarding
what is ip forwarding
bungee needs to forward the ip/uuid of the user
then why would it be optional at all
vanilla
wot
you mean like you dont need ip forward if youre proxying to a vanilla server?
more, you can't, the protocol doesn't support it so you can't join a vanilla server with ip forwarding
bruh
so you can't have a bungeecord connect to both vanilla and spigot/paper server?
there's a magical tool to shim support into the vanilla server, as well as fabriccord iirc
or you do need something like nested bungee
would that work actually I'm kinda curious
like a bungee server proxying to multiple bungee servers
not supported, proxy in proxy is dumb and causes issues
but like would it work technically
I can't think of a situation where that would be usful but I'm curious
technically it would work
can bungee be used to improve latency?
no
even when used as like a mid-way station?
soooome very niche cases where it can, but, 99% of installs, it's gonna add latency
you've still gotta traverse over the network
like server in canada/US and bungee in EU and player in australia
Basically, it's all down to routing
in some cases, hosting a proxy elsewhere can gain better latency due to better routing
cause like the isp?
but, that's shit that you've actually gotta consider, otherwise you generally just make it worse
damn
at the end of the day, that data has to go over the internet, chances are AUS > US would be better going between there vs into the EU, as they're gonna be sharing the same routes generally and you're either gonna be going across the entire EU, or, they're just gonna send it back that way
how do I make signs / buttons ect send players to a different server
you'd need a plugin for that
a plugin like?
π€·ββοΈ
like what function do I need from a plugin
you need to to specifically support what you're asking
it needs to actually have the capacity to interact with the proxy
I just simply want a lobby that sends players to different servers depending on what sign they click on
I found this like 30m ago already but thx :P
It seems I am being rate-limited by Mojang.
connection timed out: sessionserver.mojang.com/143.204.212.175:443
Cannot ping sessionserver.mojang.com (143.204.212.175) from main Waterfall machine, but from any of my other machines I have to issues with that particular IP/the DNS.
Anyone who has any idea what to do about this?
Rate limit has been going on for atleast 30 minutes now where we haven't been able to authenticate users.
Also tried restarting the proxy + enabling/disabling Nette resolver.
Session servers will block you if you send too many requests. You can check the quota youβre allowed in the header of the connection response- but in this case- the session servers have been funky the past few days
Ok, but what can I do to work around this issue?
If anything then o.O
Been completely blocked for more than an hour atm.
Wanted to try and see if I could force the resolve of sessionserver.mojang.com to another of their IPs but I haven't been able to yet.
@royal hawk
Hey what is it this
"Forced host server pvp is not defined" I don't really undestand what this means. Not nessesarily the defining part, but what the PVP Server actually is. I removed it from the waterfall config. Anyone got any ideas?
GET https://status.mojang.com/check
RESPONSE (json/url):
[
{"minecraft.net":"green"},
{"session.minecraft.net":"green"},
{"account.mojang.com":"green"},
{"authserver.mojang.com":"green"},
{"sessionserver.mojang.com":"red"},
{"api.mojang.com":"green"},
{"textures.minecraft.net":"green"},
{"mojang.com":"green"}
]
Session servers are literally down at the moment
Unless you're a big network there is no easy way around it.
But I don't think they are?
https://pings.playlegend.net/
I see no other outages etc @royal hawk
I just think the IP that google/cloudflare dns nameservers lead to may be offline
143.204.142.175
the IPs change often
Yes I am aware
you can try disabling async dns in waterfall.yml, that will make it use your hosts DNS stack through java
Why I wanted to try and force a resolve to a specific IP that I can connect to
I did try both :/
On a dedicated machine, using Google DNS
netty dns already uses google DNS, so
if you disable netty's, could shove an entry in /etc/hosts, but, not generally a good idea
I did try that and it just wouldn't work
143.294.242.91 sessionserver.mojang.com
Nvm actually made it work, just needed 1 space
why i got 127.0.0.1 ping
[11:56:01 INFO]: [/127.0.0.1:25565] <-> InitialHandler has pinged
[11:56:05 INFO]: [/127.0.0.1:25565] <-> InitialHandler has pinged
[11:56:09 INFO]: [/127.0.0.1:25565] <-> InitialHandler has pinged
[11:56:38 INFO]: [/127.0.0.1:25565] <-> InitialHandler has pinged
[11:57:21 INFO]: [/127.0.0.1:25565] <-> InitialHandler has pinged
[11:58:02 INFO]: [/127.0.0.1:25565] <-> InitialHandler has pinged
[11:58:06 INFO]: [/127.0.0.1:25565] <-> InitialHandler has pinged
[11:58:09 INFO]: [/127.0.0.1:25565] <-> InitialHandler has pinged
Hello! So the thing is that I've set up a Waterfall Bungeecord and suddenly in game chat not working, cant type commands or anything.
Just from console
sudoing to chat works
and every command from console
why is that?
can somebody help me?
did you setup ip forwarding properly, etc?
I don't know.
THis is my first time with bungeecord
May I send you my config?
I only have just one server connected to it for protection and future projects.
See the bungee installation guide, you need to ensure that you enable bungee mode in spigot.yml
bungeecord is set to true in spigot.yml.
can you replicate it without plugins on the backend server?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
THis is my config.
Umm, I don't know what that means.
test without plugins on the actual server
Okay
the server itself doesn't care if you're behind bungee as it doesn't know about it
there are some plugins which can derp when you do such stuff, however
was your server in online mode or offline mode before you migrated?
offline
My main server is offline
as well as bungee
It works without plugins
so its not a bungee fault
but my server
has problems
I'm going to put the plugins in 1 by 1
Found the problem!
The problem was the BotSentry plugin.
Thanks for your time.
im getting a lot of this posted in the console [22:54:53 WARN]: Query - Incorrect magic!: /<pingers ip>
whenever an ip pings the server
can i get some help?
disable the query protocol or use a firewall
thats not remotely waterfall related. Go to #paper-help and provide some more info
Are there any disadvantages to using Tavertine over Waterfall?
I care about it less
beyond that, and potential issues with plugins not expecting 1.7.10, it's generally fine
Ok thanks
Hello guys.
Im having some weirld issue
I've a create a spgiot server with no bungeconnect connection, the time to login is like 1/2 seconds.
I've create a waterfall, and it takes 8-10 seconds to log in in where it says "Encrpyting connection"
This happen only with bungecord, no matter if there is a server linked to the bunge.
Im not using any plugin at the bungecoord.
I tried running the server as root or in the user but wont change.
What can it be?
Hello!
Encrypting will take time obviusly, but 8-10 sec isn't that much of a login time if you have a lot of players on, and your cpu is stressed.
Try doing the same thing locally or with a not even used cpu and check if the issue still happens with velocity.
I already founf the issiue.
zzzCat (Don't ping) β 27/07/2019
waterfall.yml disable the dns one
Ah π
god bless discord searcher
If some of your players clients support it, you can try tcp fastopen with velocity...Wicked fast login times go brrr
Hey
zzzCat
The Netty DNS Resolver
To be enable to true and not causing the 6-10 delay to join the server, which is the enviorment my dedicate server needs?
TO properly work
it uses googles DNS
as for why it stalls, idk, it's a network lookup, for some reason some people have issues with it, but, if I can't reproduce it π€·ββοΈ
in my personal experience, whenever the auth servers go down the only way to get bungee working properly was to disable the netty dns
How can I remove that β thing
Why do I still get this message when trying to join through a force host? https://i.imgur.com/auAxQzW.png
I'm going to guess that you joined directly to the server itself and not the proxy
zzzCat, could be the java version?
If I set the forced host section up like this (unless this is wrong) forced_hosts: cobalt.mctve.com: cobalt cypress.mctve.com: cypress and try to connect with cypress.mctve.com. Is that doing it wrong?
causing that delay 6-10 seconds?
.
do the hostnames point to the proxy itself?
have you just made any DNS changes? (i.e. are you sure that your entries have propagated)
https://i.imgur.com/NzQDo9g.png play.mctve.com is how you connect to the network itself
It should've had enough time since I made dns changes
who do those have different IPs?
hm?
play points to the proxy?
what is the other one pointing to
as, if you want forced hosts to work, that needs to point to the proxy
the fact that you can also see the ip forwarding message implies an insecure setup
configure your firewall or look at bungeeguard
zzzCat, the netty DNS resolver of waterfall, what does exactly improve? The ping?
the connection?
So if i turn it off, what are the downsides im going to see?
well, your servers gonna block for DNS requests
Could you give me a run down on what the/a proxy would be? π₯Ί
netty DNS when its working is gonna be much smoother vs not using it
just, for some people it blows ass
if it's blowing ass , disable it
This is not rocket science
The pros of some system is literally worthless if it's shitting itself in your environment
dovah, what?
Kinda a technical noob - what do you mean when you say proxy? I don't think I've ever setup a proxy for the server, before?
proxy, waterfall
the proxy needs to intercept the connections
so, you have all those domains go to the proxy
since when its this option in waterfall of netty DNS
ooo, okok
disable forge in the config- But that will break all forge servers on your network (if any)
If you have forge servers- you can't disable that.
anyway i can get waterfall for 1.12?
what do you mean by that
waterfall is not versioned in the same way paper or other servers are
does it have viaversion built in
no, your backend would need that
it is just able to proxy versions 1.8-1.16
it will not however translate between them for clients to connect to a server on a different version
ok
I have Waterfall pointing toward a factions server. I have the bungeecord option in spigot.yml disabled for testing right now because of the issue I'm having.
Every time I try to connect, I get an UpstreamBridge has disconnected error. But when I join via IP, I can connect.
Latest version of Waterfall
is there a waterfall config.yml optimization guide?
%player% moved wrongly! This message, the player's screen is dark and they are out of the game.
how to fix
can I make it so that when player is sent to the lobby they dont spawn where they left?
use a plugin like spawn on join
is it a spigot plugin or bungee
also it's this one right? pretty old
https://www.spigotmc.org/resources/spawn-on-join.16637/
nvm it literally said spigot
the proxy can't control where people are in the world
is there one that like hooks into essentials?
If you are already sending players to the lobby server you donβt need anything else proxy wise. Just use essentialsβ spawn-on-join feature
the waterfall server isn't visible from outside network, any idea?
is the port open, does it listen on a public address (if you home-host: do you have the port forwarded)?
I have Port forwarded every port XXD
I have an idea rn lemme test it first
nope didn't work
I'm sure the port forward is fine because my apache server is running fine
server_connect_timeout: 5000
listeners:
- query_port: 25577
motd: '&1Now with NCP test server!'
tab_list: GLOBAL_PING
query_enabled: false
proxy_protocol: false
forced_hosts:
pvp.md-5.net: pvp
ping_passthrough: false
priorities:
- lobby
- UHCAAC
- UHCNCP
bind_local_address: true
host: 127.0.0.1:25565
max_players: 100
tab_size: 60
force_default_server: false
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
default:
- bungeecord.command.server
- bungeecord.command.list
admin:
- bungeecord.command.alert
- bungeecord.command.end
- bungeecord.command.ip
- bungeecord.command.reload
log_pings: true
connection_throttle_limit: 3
prevent_proxy_connections: false
timeout: 30000
player_limit: -1
ip_forward: true
groups:
md_5:
- admin
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
stats: 2dbbe1f3-b409-4da1-9d73-2741e27a8392
online_mode: true
forge_support: true
disabled_commands:
- disabledcommandhere
servers:
UHCAAC:
motd: UHC server with AAC anticheat
address: localhost:25501
restricted: false
UHCNCP:
motd: UHC server with NCP anticheat
address: localhost:25502
restricted: false
lobby:
motd: Lobby
address: localhost:25500
restricted: false
my config.tml
I mean, you bind the listener to localhost...
I tried to let it listen to my public ip address:25565 but it says it can't bind to it
you have to make it listen to your machines lan address, either via directly specifying it or using 0.0.0.0
I see...
(otherwise your router will not be able to reach it via lan ;))
how do I check my local ip address again\
Depending on your system, ip a, ifconfig,ipconfig
In order of pretty much more modern to less
it's just the IP that you forwarded to in your router
I knew it
I set a static local ip address but I wasn't sure
nope still
I binded it to 192.168.1.10:25565 but still cam't join from outside internet
help plz uwu
you need to figure out at which point the connection fails
it says time out
yeah sad
CGNAT, wrong ip, firewall, port forward misconfig
try forwarding the minecraft port to apache and see if you get your webserver
what
if not then your ISP might be blockign non-standard ports
hmm
but 25565 was fine when I ran spigot server
it's only broken when I use waterfall
well I guess then it's not that issue
and your waterfall setup is wrong
just use the same ip/port config you used in your server.properties in the proxy listener section
lemme see
(and obviously make sure it actually binds to that in the proxy log)
yeah in server.properties I bind it to 127.0.0.1 so no one can join because online mode is on lol
did I set up my waterfall wrong? i think that's the only thing that can cause problem her
I meant the ip that you used on your Spigot server before which worked
I just set it to blank
that would mean the same as 0.0.0.0 afaik
imma try that
it could be firewall actually
how do I check
cause I just changed a spigot server to port 25565 and remove ip limitation and still unreachable from outside
ok so I just binded apache2 to 25565 and I got this error
An error occurred during a connection to localhost:25565. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
does that indicate anything
holy shit it is the firewall
faaack man
I just allowed 25565 through firewall and boom
thanks guys
what plugin can i use to teleport players between servers
like bungeeessentials
hi
i do not have access to my computer at the moment so i have to ask this
what do the query logs contain?
is it the player uuid or player name and their ip?
please ping me if you have an answer
thanks in advance
Hey I keep getting this Bungee message as the MOTD instead of my actual motd
(also sorry for the weird screen shot. This was on my trello board)
any one got a clue whats causing it?
Oh I should state that when you press on the server the servers can connect.
Looks like some weird plugin causing that
hmm
one second. im gonna pass a list of the plugins
I dont have many
these are it
I would ignore the double geysers
TydiumHub I would ignore (literally just a custom created bungee hub plugin)
I honestly would either blame Bun...
bungeepluginmanager I dont even use one second im gonna delete it
Well, try removing some and see if that helps
alrighty
How many ram should bungee be running?im on a shared host that give me 256mb on bungee,will that cause problem?
BungeeCord doesn't take much. 256 or 512 should be enough.
Okay, I am very stressed!
This has been killing me all day... I have a bungeecord server and a hub server, you CAN join the hub server directly form the hub server's ip, but you can't get in from bunggecord, like bungeecord thinks the server is offline. Even if their is an error it should display it when trying to connect, like "server is online mode" or something like that, right??? All it says is "Could not connect to a default or fallback server, please try again later: io.netty.channel.ConnectTimeoutException" The server IS online!!
BTW it was working untill i switched hosts for the bungeecord sevrer ^^^
i switched from Apex to Skynode, and it stopped working, so i tried switching back without changing any configuration, and it is not working anymore? i cant figure out yyyyy
both Apex and Skynode won't work now, i also tried fresh installs of the bungeecord jar file
i also tried a fresh install of the hub server
like i literly wiped everything and re-configured it all
have you set up the config file for the bungeecord server correctly? (putting in the correct ip and port for the hub server) . has the hub server been set to offline mode and set to bungeecord = true?
ping me when answering please
how do I add hexcolors to motd in serverlist?
Whats the format - does the config support it
or is it plugins doing it?
you might be able to use a fallback format but using a plugin with a better format (e.g. my SLP fork) would be easier
@ebon aurora Yes, it is all set up correctly, I have done this many times before, and it was working before i tried to switch hosts, i even tried switching back.
I will send you my configs so you can see, gimmie a sec.
If you have extra time, maybe take a look at that and see if I did anything incorrectly.
sure ill take a look in a few hours
yes, it is all set up correct
erm
if you can jjoin the hub server directly, no, it's not setup properly
ConnectTimedOut basically means that the proxy couldn't connect to the backend server, generally network routing issues (hosting provider issue) or configuration issue, basically
any tips for improving the cpu usage on waterfall with 70+ players?
waterfall sometimes logged that [Netty Worker IO Thread #1/WARN]: [/xx.xx.xx.xx:63161] <-> InitialHandler etc..
it seems 63161 port instead of 25565.
So, why random ports (40000-70000) appers in log (only open 25565 port)?
it logs the clients port, not the servers port
I got!! thanksπ
how i can share inventory in two servers?
MySQL Player Data Bridge dont work
its soo bug
That's the only way I'm familiar with.. The problem is how Minecraft handles inventory.. When you start looking into sharing it across servers it will be buggy as hell.
Michael has apparently been doing fine with mysql player data bridge but i've heard nothing but issues
The entire way that server switching works is flawed as there is no real way for plugins to hook into the process properly
Really, what you want is a bungee/bukkit plugin combo which can deal with negotiating certain aspects of the switch better
e.g. send a AM GOING TO MOVE THE PLAYER FLUSH YE DATA before you actually do the transfer, as the new server sees the player connecting before the original server actually DCs, so, creates this moronic race condition
ideally this would all be gated behind some negotation bs where supported, but, err...
I create ping spikes that lag the whole server whenever I do commands when I have OP or * permission. I've tested having one of each and both trigger it. When I don't have it either one of those, I can do the same commands without causing the lag.
well, waterfall has nothing to do with OP or * permission; that also screams that that is an isse with something installed on your server too, as * is not a thing that the server cares about
use timings or a sampler or something
I've tried checking timings but its hard to isolate? Would you recommend something like spark to sample?
Yes, but, wrong channel, and you also need to diagnose other potentials like network
what do i do in my plugin to send someone from one server to another
yea I have my lobby plugin with this ```java
ByteArrayDataOutput out = ByteStreams.newDataOutput();
out.writeUTF("Connect");
out.writeUTF("pvp");
Player ply = (Player) e.getWhoClicked();
ply.sendPluginMessage(TWSurvivalMain.instance, "BungeeCord", out.toByteArray());``` but it says that the bungeecord channel doesnt exist
what says that?
console when the code runs
did you forget to register?
did not know that i had to register
Is that on 1.13 or newer? In that case the channel is bungeecord:main
yes but i got it working by registering the BungeeCord channel before trying to send people, is there any benefit to switch to that?
it's the more proper name
bungee does some horrors with that channel name, and will always be posted to the server as "BungeeCord", iirc
Waterfall allows me to use both forge mods and bukkit/spigot plugins or is it only focused on mods and multi-server networks?
it's a proxy, not a server
Wait so i can run it ontop of paper..?
Or like what's the focus of the waterfall, does it support mods and plugins on the same server
ohh alright
it doesn't do server stuff like server plugins or server mods, it's entirely detached from those bar the protocol
ah alright
i was simply confused by Our fork of the BungeeCord software, with improved Forge support and more features.
thought it is supposed to allow forge mods to run next to plugins but alright
never had any luck when it comes to spongeForge either..
How can I protect my server there are people entering the server with the ip 127.0.0.1 with the account of people or the owners and admin
127.0.0.1 is localhost tho?
Re-check your firewall and NAT/routing/network setup. Firewalling the ports to the outside is the best approach, but you can still add something like bungeeguard ontop of it if you want
help
what is this error?
waterfall 403
can you reproduce without plugins on the proxy?
it gives me this
When I use /server on my opped account it works fine but not when I'm deopped. I havent changed any permissions in the config file either
Operator status has absolutely nothing to do with waterfall
Waterfall works with the permissions in the config.yml unless you have a plugin like LuckPerms installed on the proxy
how much ram should i give to waterfall if i have assume there are around 80-100 connecting?
Is there a timings command for waterfall? Waterfall is taking up LOADS of CPU all of the sudden and I would like to know what is causing it. (Running latest version)
no
Any other way to find out why waterfall is using 20/40 threads 100%?
use a profiler
alrighty this is going to be fun
Hey, I cannot find a bungeecord messaging option in the waterfall config settings?
I try to connect from waterfall to papermc 1.8.8 with viaversion but papermc crash when someone join (without viaversion crash too)
Im not having much luck getting venturechat working
ill keep looking for a fix i suppose
Hi I'd like to know how I can set a fallback color for rgb motd since it's currently showing up as gray
left is 1.16.5 right is 1.12.2, the local server is my server, and the server below is a demo of another server using rgb motd
Youβll need a plugin for that as itβs outside the scope of default functionality
oh......
do you have a suggestion for such a plugin?
No; but google is your friend
"non-official"
idk, since some servers doesn't allow non staff solutions, just confirming, no offense π€
was more wondering what you meant, it's an open discussion channel, whoever wants to help can help
ah cool then xD
as for your issue, five is correct, there is no such thing as a fallback for that stuff
You'd need a plugin capable of distinguishing on the protocol version
since one time I tried to help someone at spartan anticheat's discord and they told me not to π€£
alright thank you
<3
does anyone know how to get viaversion working on waterfall?
i have the proxy server, lobby server, and towny server, lobby should allow 1.8 - 1.16 and towny should only be 1.16
we don't provide support for it, but, you can just slap it in the plugins folder
recommended to throw it on the servers anyways
in the waterfall one or the server specific one?
and if you do it in the proxy, it's gonna allow all clients, it just translates, there's no per-server config
waterfall is a proxy, not a server
isnt a proxy a server
no
alright well is there a setting to just allow all mc versions to connect to the servers themselves
my only issue is that its getting caught at the proxy, not letting it check to see if it could connect to the server
Ok so im using Waterfall and ViaBackwards and ViaVersion, and I'm trying to connect to my pixelmon server and the pixelmon server doesnt even acknowledge that anything is trying to connect
i mean, stuff like via and mods is generally not gonna work
So is there anything I can do?
for mods? no
mods themselves are generally version dependent
you'd need to make via support forge, and then deal with translating all the mod stuff, which, "good luck", basically
So theres no way to be able to connect my pixelmon server to waterfall
ah
Is there a way to force move players to a backup server should the other server shutdown?
Without kicking everyone?
with a plugin, sure
I use my own super simple one for that: https://github.com/Minebench/KickInfo/
this is cool
Do you have one like this but for when they are banned from one server they can go to another?
(For deathban)
the plugin only connects to the servers from the priorities list when they get kicked from a different server, it doesn't do any fancy redirection based on other stuff
I'm trying to figure out a clever way when a player dies they leave the hardcore server via deathban plugin, and end up in a spirit world
where they can play in a more harsh environment
for 1 day
if they disconnect and reconnect they stay in the spirit world because it detects they are still banned
once unbanned they can go back
you are most likely going to need a custom solution for that
actually
forced host: true to the hardcore server
when it bans you're kicked and it goes to the spirit world
due to your plugin
YES
it works
I can live with this!
Thanks for the plugin!
plugin keeps me here
I noticed sometimes the plugin doesn't work when banned, it'll kick faster than the plugin can handle, is there an adjust ment?
because I plan on adding more servers and 1.16.4 isn't great for servers that don't need it
there is zero reason to use a Mojang-based server then
if you need vanilla mechanics you are best suited using latest (especially as you get support), if you don't need those mechanics then a standalone implementation will be the best suited from both the performance as well as support viewpoints
hi, can anyone tell me how to deal with this problem or what should i do to fix this disconnect problem?
An existing connection was forcibly closed by the remote host @ sun.nio.ch.SocketDispatcher:-2
Welcome to the nature of exposing stuff on the internet
either use a DDoS mitigation service which can restrict stuff like that or go configure your firewall and setup fail2ban or something
Hi can anyone help me solve this problem.
At some point my proxy uses 100% CPU.
I have some screenshots of spark.
How can I find out where the java.util.concurrent.ConcurrentLinkedQueue is coming from. There are 83 million which makes zero sense.
screenshots π
also I strongly recommend that you read the percentages after the entries, they are litterally 0
this is the only one taking up this many ms though
but, it's not
The thread is always running, that's how it works
but, it's sleeping like 99.9% of the time
everything takes about 500k but this one uses 4.4 million
alright its sleeping most of the time
I assume this is probably caused by a plugin then. How do I find which plugin is causing the 83 million ConcurrentLinkedQueues
I see
you'd wanna use an allocation recorder
But, memory usage != CPU usage unless you're stalling GC to all shit
which is generally why I recommend 'proper' tools over spark
I am using Aikar's flags from the pin in this channel
They're not magical.
I am aware of that, but I assume my GC is okay?
They're not gonna stop GC stalling to all shit if you're running low on heap space
Okay I see
I mean, if you wanna make baseless assumptions go ahead
No I really don't
I want to fix this
Network has been down for 24 hours and my boss is pissed
if you wanna see properly, attach a proper tool like visualvm, yourkit, jprofiler, and see what the system is doing
Which one is your favorite?
yourkit, but, it's paid
huggles his OSS license
they do have a free trial however
When using Travertine i get kicked with se.llbit.nbt.NamedTag cannot be cast to java.lang.Integer when trying to join my 1.7.10 server on 1.16.5 client, this doesnt happen with other bungeecords like hexacord or even the normal bungeecord
We don't support protocol hacks
You can disable entity metadata rewriting which will disable the mechanism which causes that, but, unless you can show that trav is mishandling metadata, I got 0 interest
it is disabled
I doubt it if you got that
logs?
But, I mean, you're using a protocol hack, so π€·ββοΈ
oh nvm i though you meant that it was set to true
then i will go again unnoticed thanks (:
I started using bungeecord yesterday, and switched to Waterfall today. Trying to create a bungeecord type network with 2 Spigot servers, and one hybrid server running forge.
The problem I am having is a normal vanilla client can connect fine to my test lobby. But when using a forge modded client, I get kicked off my server. Is there any plugins I need to install to get it to connect? The error I get from the proxy is βincomplete set of tags received from server. please contact server operatorβ.
Servers and client are both running 1.16.5
modern forge doesn't support proxies
velocity is currently trying to make some stuff on it but it's still an earlish WIP last I knew
so no solution in my case.
pretty much
cause Waterfall states it has Forge support. Which is why I switched to it from BungeeCord
We support forge as much as viably possible and put effort to it outside of bungee who pulled support for it (you gotta flip a flag now for bungee)
forge basically broke support in a way which wasn't possible to work around, velocity is working on it as I really don't got the health to right now, so, fun, but, support for it will end up in waterfall when viable
https://www.curseforge.com/minecraft/mc-mods/fabricproxy-lite
What about a mod like that? Is there a working mod that can add proxy support?
No
that's what they're working on and even hoping to get their work inside of forge itself
Basically, it's a chicken and egg situation
velocity is currently trying to work on both at the same time
even if velocity does solve that problem, i have plugins that depend on bungeecord/waterfall. So that is a no go. Guess the Hybrid server will have to be seperate from the bungeecord server setup.
as I said, it's still a WIP and will be ported over to waterfall down the line
right now, there is no solution
#BlameForge
Erm
ok, thanks for the assistance, and I dont blame either one. If its not supported, then its not supported. I'll take what I can get.
How do I block the UUID injection
Someone hacked my server with a UUID exploitπ is there a way to block that from happening ?????
UUID injection hasn't been a thing for years
Unless you mean you didn't configure your backend servers properly
They're not outdated, they're just created by people who don't know what they're doing
"if you can't do, teach"β’
Lol
You need to configure the firewall for the backend servers to only allow connections from your proxy, or, failing that, use bungeeguard
i'm still learning the ins and outs of the bungeecord myself. and havent even started on the security yet on mine. Still running it on a laptop while i learn it before uploading to the dedicated server and doing the full switch to combine 2 existing servers.
Any suggestions for bungeecord/waterfall plugins regarding security and permission plugins?
luckperms for permissions across the entire network
No security plugins are really needed for sane setups, all you gotta do is prevent your actual paper servers or whatever being exposed to the internet and restrict them so just your proxy can connect to them
yea, not going to try luckperms again. too much hassle to set up properly. and the last time i tried, it was complete open season with all permissions open to ranks not supposed to have them.
There is bungeeguard for paper/waterfall failing the ability to setup a firewall
LP is pretty much the best perm plugin
Like, perms in general are not a "done in 5 minutes" type thing
LP has a web editor which can help with some stuff
guess i am biased toward pex myself. got such a dislike toward lp, that i wont try again
pex is dead
^
There have been so many cries for it that Iβm actually considering making modern forwarding a thing in waterfall
I've been tempted on it
Just, I was thinking to make it per-server given the whole nature of it
But then I gotta go modify the ServerInfo class, and, just...
I can make it non-api-breaking
If youβre willing to accept it
The config for it would be in the waterfall.yml
My thing was the horrors of having server configs in waterfall.yml
I was somewhat debating on if I just rip the entire config stuff apart
I donβt want to break compatibility with bungeecord so it has to be in the waterfall.yml
I got no idea, really, having it per-server would be nice but modern forwarding is something that's been on my todo list, so, if you wanna do it go for it
Or just get another file named forwarding.yml
Iβve been tinkering with adventure and Iβve run into way more issues than I can count
Iβd be all for hard-forking waterfall

As long as we still pull the -api module Iβm game
Pull api and hard-fork proxy internals
So keep patches for API and have our own internals
headache is that so much depends on proxy internals the entire situation is just a fucking nightmare
flashback to that one time I broke a big plugin because I thought returning raw json strings in the API was fucking moronic
No touch api

Oh one more thing
Should I also integrate bungeeguard
Because modern forwarding will undoubtedly break that
Is someone willing to help me diagnose my CPU utilization / lag issue using a YourKit snapshot? I am not really sure what I'm looking for. What I have noticed is:
- we are not short of Heap Memory
- there are very many Nodes in java.util.concurrent.ConcurrentLinkedQueue (62 million in Object explorer and it is also the biggest object), it also looks like they almost always contain the same data (noticed that in duplicate string inspection)
- In threads HttpClient Workers seem to be hot and blocking often with high cpu times
Anyone have a link to a resource where I can set up waterfall?
see the bungee install guide
Alright
Hmm that's strange
I don't have a server.properties file
Servers go into config.yml?
Yes, servers don't have a server.properties file, those are your backends
Hey Hey.. im kinda confused with "network-compression-threshold".. i read so many threads about it but every thread is telling something different... The best Solution is Bungeecord on 128 / 256 and all spigot server (localhost) should be -1 right?
Running a Ryzen 5900X, 1000 mbit download/upload, Java 11 (if that matter). Bungeecord and the servers are running on the same dedicated server
-1 if same server/network, no need to waste CPU cycles for instant throughput
as for the proxy, generally the default, some people 1/2 it, there is no magical value here, boils down to varying factors
alright.. sometimes i feel like the login, teleport and sometimes chunk loading isnt on point (feels like 300 ping).. could that be because my bungeecord is currently on 512?
can bungeecord/waterfall be responsible for editing iptables? 
No; but some (premium) plugins or forks do that
hi, i use this rules to limit udp query packets, but is it affecting connecting players by any way?
iptables -A INPUT -p udp -j udp-flood
iptables -A udp-flood -p udp -m limit --limit 5/s -j RETURN
iptables -A udp-flood -j DROP
it seems to me that connecting takes longer than without these rules
hi all, so I've been using maxbans since forever and its always been very touch and go when it comes to bans actually working across network. It seems now that it just doesn't work period. so I'm looking for an alternative. what is the "best" one to use with waterfall that can ensure bans remain consistent across the network?
hi, can anyone tell me what does this mean?
[Netty Worker IO Thread #0/ERROR]: Error authenticating Ron_Theobald with minecraft.net
java.net.UnknownHostException: failed to resolve 'sessionserver.mojang.com' after 2 queries
Caused by: io.netty.resolver.dns.DnsNameResolverTimeoutException: [/1.1.1.1:53] query via UDP timed out after 5000 milliseconds (no stack trace available)
That 1.1.1.1 didnt reply in time to resolve sessionserver.mojang.com
if i remember correctly, 1.1.1.1 is cloudflare dns?
yea
anything can i do to prevent this happen?
this kick half of my server players : (
or, does it happen rare?
idk, check your connection to that DNS, change to a different DNS
try disabling netty dns inside of waterfall.yml, that thing generally performs better but for some reason some people manage to host in environments that breaks it
Hi!, how i can balance two Survival servers without lobby?
find a plugin which deals with load balancing
When I use /server on my permission * account it works fine but not when I'm deopped. I havent changed any permissions in the config file either
waterfall doesn't support * perms
op has nothing to do with waterfall, the proxy can't see it
so why cant people use /server?
Did you install a perm plugin like LP on the proxy?
yes
perm plugin overrides config.yml, need to configure perms in your perm plugin
ah ok
is there a specific permission to get access to a server
or just bungeecord.command.server
assuming not restricted, just that
ok thanks
Hi, I updated both my paper and waterfall build to the laterst version (WATERFALL #403, PAPER 1.16.5 #580) today, and I received this error:
Could not connect to a default or fallback server, please try again later: io.netty.channel.AbstractChannel$AnnotatedConnectException
I'm sure I initiated the correct jar, and I didn't change any config settings.
Are those two builds compatible? If not, which two should I use?
not a build compat issue
make sure the server is running and the network is good between your proxy and your paper server
Yeah, all servers are running and the network connection is good. Also, everything worked fine before I switched the jar.
Problem resolved. Turns out that it's a ViaVersion issue. Thanks for the help!
Hi
I am having an issue
It is only effecting one of my servers
I will tip anyone with $20 that can solve the problem promptly
May can I ask, what is your server OS?
Connection reset by peer means something closed the connection between the parties
english
Someone is either TCP pinging your minecraft port or refreshing the servers list frequently
Also fun fact... There's an NGINX server running behind that IP.
How can I set a delay for changing between servers?
[19:46:09 WARN]: [/185.51.328.239:18311] <-> InitialHandler - bad packet ID, ar
mods in use!? Couldn't read all bytes from a packet. For more information, lau
ch Waterfall with -Dwaterfall.packet-decode-logging=true
why is it spamming?
Look at the connection throttle option in the config
You likely have a plugin sending bad data back to the proxy
Also for future reference omit public IPs
how can i know wich one of them?
i try nullping crasher
Disable them one by one until you resolve your issue
i get this when someone trys to join a server
Replicate without plugins
This plugins doing something it wouldn't. me.neznamy.tab.platforms.bungeecord.BungeePipelineInjector
it is tab killing it self
If I wanted to slow the players ability to join the server so it allowed 1 connection per X seconds, is there a way to do this in waterfall itself?
is it not possible with waterfall to restrict the rate at which connections can be made to the network? like 1 connection per 10seconds for example?
using a plugin, sure, but, really, use your firewall
ahh okay, iptables time
I vaguely remember spigot having a connection throttle thingy
bungee/waterfall does too
hoped something like this was in waterfall I remember having to disable spigot's one when setting up bungee
oh ?
but its better to use firewall?
well, bungees is per ip
ahh I see
at the endof the day, it works, but, it really depends on the goal
yeah the goal would be all ips 1 connection per X seconds
the bungee/server one are designed to be pretty and tell the client to reconnect with a pretty manner
iptables won't but will kill the connection earlier thus less load on the server
don't suppose you know the iptables rule for such a thing? π
iptables will however see pinging the server as a connection, so, will break things like connecting to the server if they have it in the server list and your limit is too small
No
I don't provide support for iptables for various reasons
heyho, so i'm new to waterful and did setup everything succesfull till now
now i'm struggeling with this: lets say i have server a and b. And c the bungee server.
a and b are connected and can be acessed over c and /server
is it possible that people can adress server b still over their client by typing in the ip:port ?
kinda going directly to server b insead going over the bungeecord adress
So you do that with a thing called Forced Hosts @empty echo It works in a similar way to Server Name Indicators or a Webserver's Virtual Host.
survival.minecraft.server.com: survival
minigames.minecraft.server.com: minigames
creative.minecraft.server.com: creative```
what he said ^ don't try and configure it so that your users can bypass your bungeecord, your servers will be in offline mode and they would be able to bypass authentication
https://waste.cutiepie.at/hdrql1sorh9t9ga5
what the actual fuck why does this kick a player
because the exception is not caught inside the thrown context (pipeline). Thatβs a design flaw in bungeecord that is next to impossible to fix. I know a way to mitigate it but Iβm not so sure itβs a good idea
Plugins on bungeecord have a chance to register things before the server does- and when the server does register the same thing after- not the plugin but the connection errors
If you have a way of reproducing this issue Iβd gladly take a zip of that setup
@ zzzCat I have a viable fix for the issue; it just works around it. From my testing it doesnβt cause additional problems
additional tips for improving server performance - https://www.spigotmc.org/posts/3684550
how do i force the player to initially join the lobby server, rn it joins whichever server they were in last
Force default
ive got it setup correctly afaik
still connecting me to alternate servers if i leave in them
force default moves you into the priorities list
I know that works 100%, make sure you didn't reload I guess
I can reproduce it on our game server, but i can't share that, let me test if i can reproduce the setup
I'm just curious why that scoreboard objective is mentioned since it has nothing to do with the game that kicks players
How can i disable tab-complete in watefall?
How do I avoid that?
I am using the geyser plugin, it seems to me that without it that spam does not appear
I think
try disable ping pass through on geyser and it won't need to ping your server every few minutes
Hello, can I forward the real IP address of the user without enabling bungeecord on the server?
no
The server needs to know bungeecord is enabled otherwise it'll never know to get the client's IP address.
these load adverages seem abnormally high to me for everything idling, are they?
when i throw a single other server in it rests at about 3.55
iotop shows 0% disk usage for the services
load average is not a really friendly metric around measuring how well stuff is performing
Using it as a "this is bad!" measure is just meh
Servers been sluggish and so has ssh sessions, load adverage is the only abnormal metric i can find
with my 4 servers + waterfall running load adverage is 9-13 with near 0 cpu usage
your load average would need to hit 12 for the CPU to be overloaded
But, it's a flawed metric which in general is eer...
isnt load average cores, not threads?
it's a number pulled out from some algo somewhere which tries to factor in stuff which ends up falling into a weird area given that it's generally how "loaded" the CPU is
Which, if your load average is high but CPU usage is low, falls into a complex area of bottlenecking somewhere or the algos for measuring all this stuff being kinda trash
do you normally see the ladder of former
does anyone know how to fix this, im using a bungee(waterfall) server and im trying to join a paper spigot lobby, with a forge modded client so i can link my modded servers.
If this is on forge 1.13 or newer- no proxy supports that
Usually happens because of client side mods
Try remove mods that let you break half slabs or merge xp orbs etc
Happened to me, I did that and it worked for me
`
public void groupchecker() {
getProxy().getScheduler().schedule(this, new Runnable() {
@Override
public void run() {
for (ProxiedPlayer player : ProxyServer.getInstance().getPlayers()) {
PlayerGroup group = GroupManager.getInstance().getGroup(groupplayer);
if (group == null) {
return;
} else if (group != null) {
List<OnlineGroupPlayer> vgroup = GroupManager.getInstance().getGroup(groupplayer).getAllPlayers();
String vgroupleader = GroupManager.getInstance().getGroup(groupplayer).getLeader().getName();
String vinteractplayer = GroupPlayerManager.getInstance().getPlayer(player).getName();
String vAllin = "{Interact:" + vinteractplayer + "}" + ", " + "{Leader:" + vgroupleader + "}" + ", " + "{Group:" + String.valueOf(vgroup) + "}";
e.sendCustomData((ProxiedPlayer) player, vAllin, 3);
}
}
}
}, 1, 1, TimeUnit.SECONDS);
}
`
does this gonna make lag ?
gonna use it for send data to server/(bukkit, spigot, paper)
Hey I have an probleme I want to link 1server paperspigot and 1 mohist with waterfall.
I add the mod Ironchest on the mohist server that work.
I add my mod, that work when the mohist server is not link with waterfall.
I link with whaterfall that say that but I have the mod on my client
Can i have some help please.
first server you join has to be capable of doing the forge handshake
zzz do you have any idea ?
my client is modded
that work when the server is not with waterfall
I can't benchmark your code
use timings or something
kk will try
can u join to that server with same client (without waterfall) ?
pooping a bytestream into the network queue is nothing
the cost is gonna be in actually generating the data you're sending
I'd heavily suggest being sane and using something like json so that you can easily parse it or something
much easier to use standard things vs cobbling your own together
"like"
aka, you're making something which is gonna be stupid to parse vs using a sane mechanism people have been using for aaages and is well proven/suited for this
Yea maybe cus im returning to this things after aaages π
are you talking to me or to @vale pumice ?
right now to me
was talking to the guy tryna poop raw strings down places
ok
you mean send things as json from water fall
basically, yea, just, in general
if it is, gonna search and make it
using a sane format designed for sending k,v things when you're tryna shove around something which looks like gross k,v things is generally the best option
cus im trying to make a waterfall-paper bridge
Don't reinvent the wheel
Have you got an idea please ?
I've gone over that specific issue 200 times and even given you the general hint
feel free to use the search feature
the search feature ?
.
in discord
ctrl + f
ok sorry i have a bad anglish i d'ont understand that you are talking to me
It was quite practically after your message
yes thanks you i am gooing to try
nop that do not work
Broken terminal
Does anyone know what this error is?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
It only works with the GamerHost Query plugin. A new thread and sleep is used there. Do you think that could be the case?
Well the error stack points to a plugin being the problem I'd start with that
This only happens when there is a plugin that uses thread sleep.
hi, do we have some documentation how to setup waterfall? I know some might say its pretty much like bungee but I've never set one up and I wanted to start with waterfall.
USEFUL LINKS
https://apexminecrafthosting.com/waterfall/
TIMESTAMPS
0:00 Start
1:03 Installation
1:49 Features
3:46 Conclusion
no docs? I guess this would do. thanks
does waterfall have any commands in its console?
like reloading settings of sort?
greload
any list like where I can find them?
Applied By
hcherndon:
Jun 9, 2013 at 6:01 PM
awesome, thanks!
How do I make it so when someone hovers over the player count, it shows something?
dev exp or you searching for a ready to use plugin?
@naive sky like that? https://www.spigotmc.org/resources/bungeeplayerlist.74636/
where can i get flamecord?
Maybe a bit more specific? so it shows something like this?
Not here. At their discord/ website.
Could be that SpigotMC has a more up to date version of it.
https://dev.bukkit.org/projects/serverlistplus
https://github.com/Minecrell/ServerListPlus/wiki/Status-Configuration#player-hover-messages
It should be as multiple Server are shown.
hi, I'm using BungeeGuard in Waterfall proxy and in Spigot server, but I get a weird error in that spigot server... What can I do?
I already put the token inside the config.yml in the spigot server
What is the error you are getting?
Bungee guard needs paper last I knew
-XX:+PerfDisableSharedMem
missing out this part in flag will cause latency lag??
it impacts JVM performance
i.e. the performance of the JVM which is passing those packets through it
lacking it is defo not gonna help, but, generally ain't gonna be a massive critical fix
does waterfall support fabric
are there any mods I have to install for It to work on Waterfall
fabricproxy adds support for forwarding
beyond that, it's not something we've gone out of our way to support but I think that they're generally better around proxies in general but π€·ββοΈ
thank you
What is the recommended Java Version to run with WaterFall/Travertine?
Just use Travertine, FlameCord isnt that great as it claims it to be.
@lean zenith I don't think it matters, but you shuld try to be putting your servers on at least Java 11
travertine better then flamecord?
Anything is better than Flamecord
Flamecord is horrible
The community on their discord is full of 1.8 skript kiddies sharing token grabbers and such, propably the dumbest fork community you can find 

When I use HaProxy with proxy_protocol: true I get this error:
[16:39:21 ERROR]: [/172.18.0.1:46060] <-> InitialHandler - encountered exception
java.lang.IllegalArgumentException: hostname can't be null
at java.net.InetSocketAddress.checkHost(InetSocketAddress.java:149) ~[?:?]
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:216) ~[?:?]
at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:84) ~[waterfall-1.16-403.jar:git:Waterfall-Bootstrap:1.16-R0.5-SNAPSHOT:7395ab3:403]
frontend bungee_frontend
bind *:25565
mode tcp
option tcplog
timeout client 1m
default_backend bungee_backend
backend bungee_backend
mode tcp
timeout connect 10s
timeout server 1m
server bungee1 <external_ip>:25566 check-send-proxy check send-proxy-v2
Did I configure something wrong?
once I stop the haproxy server the errors stop as well
Waterfall speaks the Minecraft protocol
We don't officially support cuberite, but, assuming they have some stuff to support the IP/uuid forwarding should work
Would suggest your issue is with the waterfall config not haproxy
Also for the server in your haproxy config. You should be using the internal IP of the server not the external ip of the server...
Unless it's outside your local network
How do I better reflect disconnect reasons to the client? Right now they're getting stuck in a "ALREADY_CONNECTING" loop b/c they're banned from the target server.
In this specific case I cannot add the ban plugin to the proxy, the target server isn't 'supposed' to have the same bans as the proxy and it's downstreams

No, I used a docker container for the haproxy instance but I forgot to add a port to the run command. For some reason, that caused this error.
hi!
Hi , does anyone have a waterfall fork that supports the latest snapshot?
there is a PR on the github, pretty sure it links to a build
thanks
i can see a pull request for 21w14a, would there be a direct link to download a build?
yes, thanks
What DNS Records do I have to use using waterfall?
Just stepped over from bungeecord to waterfall using tcpshield also.
But I can't connect to my server using bedrock
waterfall does not support bedrock?
Same as if you would be connecting to any other server A/AAAA or CNAME
Waterfall can't do this. You would need to look at setting up something like GeyserMC.
You can however use Geyser to connect to waterfall..
It is possible to use TCPShield with this?
Highly doubt it.
Trying atm but isn't working for me to ping it haha
Whats the least ram I can run waterfall on decently
π€·ββοΈ
depends on your needs
minimum recommended is 256MB
can use less, but, that's on you
Well at the moment I've got 512mb I can give it
How many people could I hold with that?
UUID spoofing is not a thing and hasn't been a thing for years
UUID spoofing hasn't been a thing for years
not configuring your security properly is however a common issue with people who fail to read
configure your backend servers to only allow connections from your proxy with a firewall or bungeeguard
Yeah! i know that i configure bad the network
but on all of my servers you need to do /login
its bypasseable?
π€·ββοΈ
depends on your security setup
We don't support offline mode setups, configure your stuff properly.
okok, Thanks!
hello I have a problem with the / server it doesn't work it's normal or not
?
Sometimes when I move players using /send they get kicked with msg "Disconnected". What could that be? I am using haproxy as well.
Is there an event where I can detect if a backend server goes offline/starts?
Is the only way to detect that to constantly loop over the map of existing connected servers and see if it has changed?
Permissions?
No problème a command not found
Any errors in waterfall or haproxy.. There'll be something in the logs to help.
If you're not getting the /server command then I doubt you're actually connecting to the waterfall... What about something like /glist
I can't see I'm French and me he and 1:34 in the morning
and the / glist doesn't work either but the / end works
@tough island
Yep so you're connecting to the server directly not the proxy
no I go through the proxy
Do you see your connections in the proxy logs?
Update.
?
that version of waterfall is literally YEARS outdated
well yes but the last will not work with 1.12.2
