mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4664] [Feature Request] TCP Port Multiplexer for Minecraft Java #3684
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3684
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hlvs-apps on GitHub (Feb 9, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4664
Describe the feature request
I have implemented a new TCP port multiplexer for Minecraft Java servers and would like to propose adding it to frp. Before submitting a PR, I want to confirm whether this feature aligns with the project's goals.
Background & Motivation
Currently, frp supports only one TCP port multiplexer: HTTP CONNECT. However, Minecraft Java’s protocol is handshake-based and similar to the PROXY protocol, allowing frp to inspect initial packets and determine how to route connections.
This implementation is inspired by itzg/mc-router and enables routing multiple Minecraft Java servers over a single TCP port. This would be useful for users who want to host multiple servers without requiring separate exposed ports.
Implementation Details
Use Case
Next Steps
Would this feature be suitable for inclusion in frp? Let me know if you have any feedback or concerns!
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Feb 10, 2025):
Thanks for the detailed feature request. While the idea is interesting, I'm concerned about adding application-specific (Minecraft) logic to frp.
I'd prefer a more generalized approach that could potentially benefit other applications. Unless we can find a way to implement this in a generic manner, or identify common patterns of protocols, I'm hesitant to include it. I'm open to further discussion, mainly focusing on the generalized solution.
@hlvs-apps commented on GitHub (Feb 10, 2025):
Thank you for the feedback! I understand the hesitation in adding application-specific logic to frp. At this point, I'm not planning to explore a more generalized solution myself. However, if the plugin system evolves further—potentially with something like hashicorp/go-plugin—it might provide a way to implement this in a more modular fashion.
I'll go ahead and close this issue as "Not Planned." Appreciate the discussion!
@fatedier commented on GitHub (Feb 10, 2025):
Planned, but it's a long-term feature.