{"id":15985678,"url":"https://github.com/brittonhayes/go-minecraft","last_synced_at":"2025-08-08T12:08:26.269Z","repository":{"id":57564042,"uuid":"334588545","full_name":"brittonhayes/go-minecraft","owner":"brittonhayes","description":"An RCON client for minecraft built in Go ✨📦🗡️","archived":false,"fork":false,"pushed_at":"2023-10-11T23:24:32.000Z","size":52,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T21:28:52.530Z","etag":null,"topics":["client","go","minecraft","rcon"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brittonhayes.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":"2021-01-31T06:24:05.000Z","updated_at":"2025-01-07T03:29:48.000Z","dependencies_parsed_at":"2024-06-20T11:06:00.658Z","dependency_job_id":"45fccf1c-9e66-445e-b442-ad529ba9c7ea","html_url":"https://github.com/brittonhayes/go-minecraft","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"8aac6355bb04a7c53bc4c19b3619c50b26cd13ee"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/brittonhayes/go-minecraft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittonhayes%2Fgo-minecraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittonhayes%2Fgo-minecraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittonhayes%2Fgo-minecraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittonhayes%2Fgo-minecraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brittonhayes","download_url":"https://codeload.github.com/brittonhayes/go-minecraft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brittonhayes%2Fgo-minecraft/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269417542,"owners_count":24413384,"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-08-08T02:00:09.200Z","response_time":72,"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":["client","go","minecraft","rcon"],"created_at":"2024-10-08T02:23:57.833Z","updated_at":"2025-08-08T12:08:26.241Z","avatar_url":"https://github.com/brittonhayes.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Minecraft\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/brittonhayes/go-minecraft.svg)](https://pkg.go.dev/github.com/brittonhayes/go-minecraft)\n![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/brittonhayes/go-minecraft?color=blue\u0026label=Latest%20Version\u0026sort=semver)\n[![Go Report Card](https://goreportcard.com/badge/github.com/brittonhayes/go-minecraft)](https://goreportcard.com/report/github.com/brittonhayes/go-minecraft)\n\n\u003cimg width=\"300\" src=\"https://raw.githubusercontent.com/egonelbre/gophers/10cc13c5e29555ec23f689dc985c157a8d4692ab/vector/fairy-tale/knight.svg\"\u003e\u003c/img\u003e\n\n\u003e A Go Client for the Minecraft RCON protocol\n\n## Installation\n\nInstall with the go get command\n\n```shell\ngo get github.com/brittonhayes/go-minecraft\n```\n\n## Documentation\n\nView the full docs on [pkg.go.dev](https://pkg.go.dev/github.com/brittonhayes/go-minecraft)\n\n## Usage\n\nUsing the package is as easy as create client, pick the endpoint, and run the method. This applies across every data\ntype, so it is consistent across the board. Here's a simple example of how to give a player an item in-game.\n\n```go\nfunc main() {\n    // Initialize client\n    c := minecraft.NewClient(\"localhost:1234\", \"password\")\n    \n    // Setup context for request\n    ctx := context.Background()\n    \n    // Give the player items\n    res, err := c.Give(ctx, \"johndoe\", items.Bedrock, 5)\n    if err != nil {\n        panic(err)\n    }\n    \n    // Print out the response\n    fmt.Println(res)\n}\n```\n\n## Examples\n\nFor example uses of the package, check out the [example](./example) directory\n\n## Development\n\nIf you'd like to contribute to go-minecraft, make sure you have mage installed: https://magefile.org\n\n```shell\n# Download dependencies and run tests\nmage download\nmage test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrittonhayes%2Fgo-minecraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrittonhayes%2Fgo-minecraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrittonhayes%2Fgo-minecraft/lists"}