CurseForge · Minecraft mod
HttpInfoServer
Minecraft fabric mod that collects and sends in-game information to Minecraft HTTP API server
Quick answer
Which HttpInfoServer release should I use?
HttpInfoServer For minecraft 1.20.6 targets 1.20.6 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is HttpInfoServer required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does HttpInfoServer For minecraft 1.20.6 need?
For minecraft 1.20.6. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add HttpInfoServer without breaking your instance.
Built for HttpInfoServer For minecraft 1.20.6. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use For minecraft 1.20.6. It targets 1.20.6 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside For minecraft 1.20.6. It opens that exact file at the source.
About this project
What does HttpInfoServer add?
HttpInfoServer
Minecraft fabric mod that collects and sends in-game information to Minecraft HTTP API server (another my repo). The project consists of Minecraft fabric mod (agent) and HTTP API server. The code of the Minecraft fabric mod is located in this repo and the HTTP API server code is located by this link: link. Read the full manual to get everything set up correctly.
Manual
The full manual you can read here: read
Build
I recommend you use IDEAs like IntelliJ IDEA or Eclipse. But If you would like to generate a .jar file without any IDEA you can use the command gradle build in the project root (be sure Java version 17 and higher is installed).
Installing
Be sure that you already installed the Fabric of a needed version of Minecraft. Follow the link with releases link. Choose and download the .jar file needed version of Minecraft (also check the patch version). Put the downloaded file to the .mods folder (it is located by the %AppData%/.minecraft/mods path in most cases). Run Minecraft using fabric installation in your launcher.
Contribution
I will be glad if you can help in the development of this project. What you can do:
- Spelling correction. My English is not good, so you can correct the comments in the code or the text in the files (like README.md).
- Code cleanup
- Add new features or improve old ones
Code structure:
The code files are located in the folder that follows the path: src/main/java/com.crocoby. There are some files in this folder:
HttpInfoServer.java— have an entrance method that is calledonInitializeand starts when Minecraft loads. We create and run WebSocket instances in theonInitializemethod.WebSocketDoor.java— The project uses the TooTallNate/Java-WebSocket library to make a WebSocket client. The WebSocket class describes the behavior of the WebSocket client that connects to the WebSocket server (another repo). When the server sends a message with the text "collectData" the WebSocket client usesInfoCollectorclass (this behavior is described in theonMessagemethod).InfoCollector.java— Have thegenJsonfunction that collects data and turns it into JSON string format. This method needs to generate a response for the WebSocket server.mixin/WorldJoinMixin.java— Have theinitmethod that invokes whenever a player joining to any world (server works too). It sends a message in the in-game chat when the WebSocket client is not connected to the WebSocket server.
Project description from CurseForge.
Pick your setup
HttpInfoServer by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.4
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
HttpInfoServer versions and loaders
For minecraft 1.20.6
httpinfoserver-1.0.0.jar
28 May 2024
For minecraft 1.20.4
httpinfoserver-1.0.0.jar
28 May 2024
Looking for an older file? The official CurseForge project page is in Resources.