{"id":18756743,"url":"https://github.com/alecgorge/jsonapi","last_synced_at":"2025-04-06T12:10:42.658Z","repository":{"id":1202037,"uuid":"1110748","full_name":"alecgorge/jsonapi","owner":"alecgorge","description":"A JSON API for Minecraft: http://forums.bukkit.org/threads/admn-info-jsonapi-v1-3-1-json-http-and-socket-api-for-controlling-a-server-740.14270/","archived":false,"fork":false,"pushed_at":"2022-12-07T18:43:48.000Z","size":36854,"stargazers_count":232,"open_issues_count":53,"forks_count":86,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-30T11:07:30.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://mcjsonapi.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alecgorge.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}},"created_at":"2010-11-24T23:34:32.000Z","updated_at":"2025-01-26T09:55:34.000Z","dependencies_parsed_at":"2023-01-11T15:50:08.222Z","dependency_job_id":null,"html_url":"https://github.com/alecgorge/jsonapi","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecgorge%2Fjsonapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecgorge%2Fjsonapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecgorge%2Fjsonapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alecgorge%2Fjsonapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alecgorge","download_url":"https://codeload.github.com/alecgorge/jsonapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478324,"owners_count":20945266,"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":[],"created_at":"2024-11-07T17:37:50.650Z","updated_at":"2025-04-06T12:10:42.636Z","avatar_url":"https://github.com/alecgorge.png","language":"Java","funding_links":[],"categories":["网络编程"],"sub_categories":["Spring Cloud框架"],"readme":"JSONAPI is a plugin for Bukkit that allows you to access data and other information about your server and your players through a simple, yet secure, HTTP API. This allows you to make **awesome websites**, **iPhone apps**, and a way for your **players to purchase goods online and automatically receive them in game**.\n\nHowever, this plugin won't do all of that by itself. It is simply an API that allows you to assemble the features in a way that makes sense for your needs.\n\n**Note** I (@alecgorge) don't main this very much anymore. I accept pull requests and will fix issues with PRs or new versions of Minecraft, but development is more or less stalled.\nI haven't played Minecraft in years so I don't know when a new version comes out. Please open issues. I read every one but I don't have time to debug every configuration issue because every issue that isn't related to a new version of Minecraft has been answered in some way. Configurations have not changed in years.\n\n## Contributing/dev setup\n\nThis project relies on Java Comment Preprocessing to handle multiple versions of Minecraft.\n\nThe files in src/ will only compile for one version but anything that has a dependency on a specific version of Minecraft with have specialized\nimports like this:\n\n```\n//#ifdefined mcversion\n//$import net.minecraft.server./*$mcversion$*/.EntityPlayer;\n//$import net.minecraft.server./*$mcversion$*/.*;\n//$import org.bukkit.craftbukkit./*$mcversion$*/.*;\t\t\n//#else\t\t\nimport net.minecraft.server.v1_11_R1.EntityPlayer;\t\t\nimport net.minecraft.server.v1_11_R1.*;\t\t\nimport org.bukkit.craftbukkit.v1_11_R1.*;\t\t\n//#endif\n```\n\nThe only proper way to build JSONAPI is with `./complete_build`. You can edit `./jsonapi` to add new versions and run `./jsonapi build \u003e ./complete_build` then `chmod +x ./complete_build` to update the build script..\n\nIf your build hangs for a bit on this part:\n\n```\n[WARNING] The POM for net.ess3:Essentials:jar:2.14-20140906.162642-94 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details\nDownloading: http://dev.escapecraft.com/maven/org/bukkit/bukkit/1.8-R0.1-SNAPSHOT/maven-metadata.xml\nDownloading: http://repo.bukkit.org/content/groups/public/org/bukkit/bukkit/1.8-R0.1-SNAPSHOT/maven-metadata.xml\n```\n\nLet it finish once (to download everything else) and then you can run `./complete_build -o` to build offline and not get hung up on that. Unfortunately this is an upstream bug\nwith Vault and it would require a change in the Vault build to fix it.\n\n## Download\n\n[Download JSONAPI](https://github.com/alecgorge/jsonapi/releases)\n\nYou can find the source code on GitHub at [alecgorge/jsonapi](https://github.com/alecgorge/jsonapi). I accept pull requests!\n\n## JSONAPI is well documented\n\nRead the documentation at [mcjsonapi.com](http://mcjsonapi.com) or on [GitHub](site/contents/index.markdown).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecgorge%2Fjsonapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falecgorge%2Fjsonapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecgorge%2Fjsonapi/lists"}