PaperMC / PaperMC/Waterfall

FR: ProxyReady Event?

Open
#828 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
752
Forks
307
Avg merge
15h 48m
Merged PRs (30d)
7

Description

In our network, I need to know not if a proxy has started (as in the java process for a given proxy has started), but I need to know if a proxy is ready to listen.

Bungee writes a "Listening on xyz" messages into the log. If Waterfall is ready to accept connections, it should invoke a ProxyReady event, so I could implement this in a plugin.

Are there potential other ways to wait for a proxy until its ready?
Dont want to rely on testing against open TCP sockets or reading log messages until "Listening on" comes up.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the proxy startup path that produces the "Listening on xyz" log message and reviewing how existing proxy lifecycle events are exposed to plugins. Determine when the proxy is actually ready to accept connections, then define the event contract and a completion check that avoids socket polling and log parsing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.