{"id":23658770,"url":"https://github.com/northrealm/ngx_stream_minecraft_forward_module","last_synced_at":"2025-09-01T12:31:20.281Z","repository":{"id":269803156,"uuid":"739803601","full_name":"NorthRealm/ngx_stream_minecraft_forward_module","owner":"NorthRealm","description":"Nginx module to proxy Minecraft Java servers","archived":false,"fork":false,"pushed_at":"2025-06-21T13:45:31.000Z","size":163,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T14:36:37.806Z","etag":null,"topics":["minecraft","minecraft-proxy","minecraft-server","nginx","nginx-module","nginx-proxy","nginx-reverse-proxy","nginx-stream"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NorthRealm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-06T15:42:10.000Z","updated_at":"2025-06-21T13:45:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"926277be-d4a6-4dc4-be96-92135d04c6c9","html_url":"https://github.com/NorthRealm/ngx_stream_minecraft_forward_module","commit_stats":null,"previous_names":["northrealm/ngx_stream_minecraft_forward_module"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NorthRealm/ngx_stream_minecraft_forward_module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthRealm%2Fngx_stream_minecraft_forward_module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthRealm%2Fngx_stream_minecraft_forward_module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthRealm%2Fngx_stream_minecraft_forward_module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthRealm%2Fngx_stream_minecraft_forward_module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NorthRealm","download_url":"https://codeload.github.com/NorthRealm/ngx_stream_minecraft_forward_module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorthRealm%2Fngx_stream_minecraft_forward_module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273122203,"owners_count":25049540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["minecraft","minecraft-proxy","minecraft-server","nginx","nginx-module","nginx-proxy","nginx-reverse-proxy","nginx-stream"],"created_at":"2024-12-29T00:50:46.264Z","updated_at":"2025-09-01T12:31:20.258Z","avatar_url":"https://github.com/NorthRealm.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nginx Stream Module ngx_stream_minecraft_forward_module\n\n`ngx_stream_minecraft_forward_module` module is an Nginx module that can sieve Minecraft Java game traffic.\n\n## Features\n\n- Sieve and replace client-provided server hostname.\n\n\u003e [!IMPORTANT]\n\u003e - This module relies on [stream module](https://nginx.org/en/docs/stream/ngx_stream_core_module.html).\n\u003e - Only suitable for Minecraft Java protocol since Netty rewrite.\n\u003e - This module uses C++11. Add `--with-ld-opt=\"-lstdc++\"` whilst compiling Nginx.\n\n## Directives\n\n- Syntax: `minecraft_server_forward  off|on;` \u003cbr/\u003e\n  Default: `minecraft_server_forward  off;` \u003cbr/\u003e\n  Context: server \u003cbr/\u003e\n\n  Indicate a server block that proxies Minecraft Java tcp connections.\n\n\u003e [!CAUTION]\n\u003e Set to `on` only when upstream server is a Minecraft Java server, otherwise proxy won't function properly.\n\n\u003chr/\u003e\n\n- Syntax: `minecraft_server_hostname  hostname.to.be.replaced  new.hostname;` \u003cbr/\u003e\n  Default: None \u003cbr/\u003e\n  Context: stream, server \u003cbr/\u003e\n\n  When a client starts logging process, replace client-provided server hostname with a new hostname before proxying to remote Minecraft server.\n\n\u003e [!TIP]\n\u003e Due to differences in Minecraft Java protocol specification, should there be a SRV record `_minecraft._tcp.a.domain.for.example.com` that points to `another.domain.for.example.com`, consider define two replacements:\n\n```\nminecraft_server_hostname  a.domain.for.example.com        new.domain.for.example.com;\nminecraft_server_hostname  another.domain.for.example.com  new.domain.for.example.com;\n```\n\n\u003chr/\u003e\n\n- Syntax: `minecraft_server_hostname_hash_max_size  size;` \u003cbr/\u003e\n  Default: `minecraft_server_hostname_hash_max_size  512;` \u003cbr/\u003e\n  Context: stream, server \u003cbr/\u003e\n\n  Set the maximum size of hash tables used by `minecraft_server_hostname` directive.\n\n\u003chr/\u003e\n\n- Syntax: `minecraft_server_hostname_hash_bucket_size  size;` \u003cbr/\u003e\n  Default: `minecraft_server_hostname_hash_bucket_size  64;` \u003cbr/\u003e\n  Context: stream, server \u003cbr/\u003e\n\n  Set the bucket size for hash tables used by `minecraft_server_hostname` directive.\n\n\u003chr/\u003e\n\n- Syntax: `minecraft_server_hostname_disconnect_on_nomatch  off|on;` \u003cbr/\u003e\n  Default: `minecraft_server_hostname_disconnect_on_nomatch  off;` \u003cbr/\u003e\n  Context: stream, server \u003cbr/\u003e\n\n  Close connection if client-provided server hostname matches no replacement.\n\n\u003chr/\u003e\n\n- Syntax: `minecraft_server_hostname_replace_on_ping  off|on;` \u003cbr/\u003e\n  Default: `minecraft_server_hostname_replace_on_ping  on;` \u003cbr/\u003e\n  Context: stream, server \u003cbr/\u003e\n\n  When a client starts pinging, replace client-provided server hostname with a new hostname before proxying to remote Minecraft server. This option is recommended pinging servers hidden behind third-party services (e.g. TCPShield.com) that impose inspection on pinging packets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthrealm%2Fngx_stream_minecraft_forward_module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorthrealm%2Fngx_stream_minecraft_forward_module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthrealm%2Fngx_stream_minecraft_forward_module/lists"}