Allow closing active proxy listeners (#1109)

This commit is contained in:
Owen
2023-10-27 01:39:03 -04:00
committed by GitHub
parent b30802c1b3
commit b33d18af2b
3 changed files with 33 additions and 8 deletions

View File

@@ -41,6 +41,12 @@ public interface ProxyServer extends Audience {
*/
void shutdown();
/**
* Closes all listening endpoints for this server.
* This includes the main minecraft listener and query channel.
*/
void closeListeners();
/**
* Retrieves the player currently connected to this proxy by their Minecraft username. The search
* is case-insensitive.