{"id":22465821,"url":"https://github.com/dadencukillia/httpinfoserver-mod","last_synced_at":"2025-03-27T14:51:35.171Z","repository":{"id":232253075,"uuid":"783834623","full_name":"dadencukillia/httpInfoServer-mod","owner":"dadencukillia","description":"Minecraft fabric mod that collects and sends in-game information to Minecraft HTTP API server","archived":false,"fork":false,"pushed_at":"2024-05-28T15:59:25.000Z","size":66,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T19:11:51.907Z","etag":null,"topics":["api","collector","http","minecraft","minecraft-mod","mod","server"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dadencukillia.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}},"created_at":"2024-04-08T17:00:56.000Z","updated_at":"2024-12-07T19:10:19.000Z","dependencies_parsed_at":"2024-05-28T18:03:43.538Z","dependency_job_id":"3f192d1a-ef6b-4d65-bab5-6204178c1b40","html_url":"https://github.com/dadencukillia/httpInfoServer-mod","commit_stats":null,"previous_names":["dadencukillia/httpinfoserver-mod"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadencukillia%2FhttpInfoServer-mod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadencukillia%2FhttpInfoServer-mod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadencukillia%2FhttpInfoServer-mod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadencukillia%2FhttpInfoServer-mod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadencukillia","download_url":"https://codeload.github.com/dadencukillia/httpInfoServer-mod/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245867231,"owners_count":20685594,"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","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":["api","collector","http","minecraft","minecraft-mod","mod","server"],"created_at":"2024-12-06T10:09:15.147Z","updated_at":"2025-03-27T14:51:35.144Z","avatar_url":"https://github.com/dadencukillia.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HttpInfoServer\nMinecraft 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\\*](https://github.com/dadencukillia/httpInfoServer). Read the full manual to get everything set up correctly.\n\n# Manual\nThe full manual you can read here: [read](https://gist.github.com/dadencukillia/006473a91295191963596ab21f9d3b8b)\n\n# Build\nI 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).\n\n# Installing\nBe sure that you already installed the Fabric of a needed version of Minecraft. Follow the link with releases [\\*link\\*](https://github.com/dadencukillia/httpInfoServer-mod/tags). 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.\n\n# Contribution\nI will be glad if you can help in the development of this project. What you can do:\n- 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](https://github.com/dadencukillia/httpInfoServer-mod/blob/main/README.md)).\n- Code cleanup\n- Add new features or improve old ones\n\n## Code structure:\nThe code files are located in the folder that follows the path:  `src/main/java/com.crocoby`. There are some files in this folder:\n- `HttpInfoServer.java` — have an entrance method that is called `onInitialize` and starts when Minecraft loads. We create and run WebSocket instances in the `onInitialize` method.\n- `WebSocketDoor.java` — The project uses the [TooTallNate/Java-WebSocket](https://github.com/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 uses `InfoCollector` class (this behavior is described in the `onMessage` method).\n- `InfoCollector.java` — Have the `genJson` function that collects data and turns it into JSON string format. This method needs to generate a response for the WebSocket server.\n- `mixin/WorldJoinMixin.java` — Have the `init` method 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadencukillia%2Fhttpinfoserver-mod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadencukillia%2Fhttpinfoserver-mod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadencukillia%2Fhttpinfoserver-mod/lists"}