{"id":27697860,"url":"https://github.com/fameless9/chatresponseapi","last_synced_at":"2026-04-26T16:32:23.158Z","repository":{"id":287782569,"uuid":"965762214","full_name":"Fameless9/ChatResponseAPI","owner":"Fameless9","description":"API to get chat responses from players easily and asynchronously","archived":false,"fork":false,"pushed_at":"2025-04-23T09:58:57.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T10:48:22.367Z","etag":null,"topics":["bukkit","java","jitpack","library","minecraft","papermc","plugin-development","spigot","spigot-api"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Fameless9.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":"2025-04-13T21:07:26.000Z","updated_at":"2025-04-23T10:28:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"035392d1-d940-4ef9-8cc6-0f4eee7739eb","html_url":"https://github.com/Fameless9/ChatResponseAPI","commit_stats":null,"previous_names":["fameless9/chatresponseapi"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fameless9%2FChatResponseAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fameless9%2FChatResponseAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fameless9%2FChatResponseAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fameless9%2FChatResponseAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fameless9","download_url":"https://codeload.github.com/Fameless9/ChatResponseAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250850385,"owners_count":21497498,"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":["bukkit","java","jitpack","library","minecraft","papermc","plugin-development","spigot","spigot-api"],"created_at":"2025-04-25T16:21:17.905Z","updated_at":"2026-04-26T16:32:23.127Z","avatar_url":"https://github.com/Fameless9.png","language":"Java","readme":"# ChatResponseAPI\n\nA simple and lightweight API to await player chat responses asynchronously in Spigot plugins.\n\n[![JitPack](https://jitpack.io/v/Fameless9/ChatResponseAPI.svg)](https://jitpack.io/#Fameless9/ChatResponseAPI)\n\n---\n\n## ✨ Features\n\n- Await player chat input asynchronously\n- Works with timeouts\n- Perfect for menus, prompts, or simple chat-based forms\n\n---\n\n## 📦 Installation\n\n### Add JitPack to your repositories\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ccode\u003ebuild.gradle.kts\u003c/code\u003e (Kotlin DSL)\u003c/summary\u003e\n\n```kotlin\nrepositories {\n    maven(\"https://jitpack.io\")\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ccode\u003ebuild.gradle\u003c/code\u003e (Groovy DSL)\u003c/summary\u003e\n\n```groovy\nrepositories {\n    maven { url 'https://jitpack.io' }\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ccode\u003epom.xml\u003c/code\u003e (Maven)\u003c/summary\u003e\n\n  ```xml\n  \u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejitpack.io\u003c/id\u003e\n        \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n    \u003c/repository\u003e\n  \u003c/repositories\u003e\n  ```\n\u003c/details\u003e\n\n---\n\n### Add the dependency\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ccode\u003ebuild.gradle.kts\u003c/code\u003e\u003c/summary\u003e\n\n```kotlin\ndependencies {\n    compileOnly(\"com.github.Fameless9:ChatResponseAPI:1.0.0\")\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ccode\u003ebuild.gradle\u003c/code\u003e\u003c/summary\u003e\n\n```groovy\ndependencies {\n    compileOnly 'com.github.Fameless9:ChatResponseAPI:1.0.0'\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ccode\u003epom.xml\u003c/code\u003e\u003c/summary\u003e\n  \n  ```xml\n  \u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.Fameless9\u003c/groupId\u003e\n    \u003cartifactId\u003eChatResponseAPI\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n    \u003cscope\u003eprovided\u003c/scope\u003e\n  \u003c/dependency\u003e\n  ```\n\u003c/details\u003e\n\n---\n\n### Register the API listener\n\nRegister the ChatResponseListener in your onEnable method:\n```java\ngetServer().getPluginManager().registerEvents(ChatResponseListener.INSTANCE, this);\n```\n\n---\n\n## 🛠️ Usage Example\n\n```java\nplayer.sendMessage(\"What does rule 4 say?\");\nChatResponseAPI.awaitResponse(player, 10_000).thenAccept(response -\u003e {\n    player.sendMessage(\"You answered: \" + response);\n});\n```\n---\n\n## 📄 License\n\nThis project is licensed under the MIT License – see [LICENSE](LICENSE) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffameless9%2Fchatresponseapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffameless9%2Fchatresponseapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffameless9%2Fchatresponseapi/lists"}