{"id":16122911,"url":"https://github.com/agnes4m/nonebot_plugin_l4d2_server","last_synced_at":"2025-04-05T22:06:15.569Z","repository":{"id":65153126,"uuid":"584584413","full_name":"Agnes4m/nonebot_plugin_l4d2_server","owner":"Agnes4m","description":"基于Nonebot2的插件，目的是搭建Q群求生之路2小帮手","archived":false,"fork":false,"pushed_at":"2025-03-26T04:41:26.000Z","size":48563,"stargazers_count":52,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"1.x.x","last_synced_at":"2025-03-29T21:02:58.809Z","etag":null,"topics":["anne","l4d2-bot","nonebot2","server-queries","steam","workshop"],"latest_commit_sha":null,"homepage":"https://agnes4m.github.io/code/python/l4d2.html","language":"Python","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/Agnes4m.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":"2023-01-03T01:37:22.000Z","updated_at":"2025-03-26T04:41:05.000Z","dependencies_parsed_at":"2023-11-22T17:26:23.088Z","dependency_job_id":"c846083e-0194-4595-8460-3841cc53f633","html_url":"https://github.com/Agnes4m/nonebot_plugin_l4d2_server","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agnes4m%2Fnonebot_plugin_l4d2_server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agnes4m%2Fnonebot_plugin_l4d2_server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agnes4m%2Fnonebot_plugin_l4d2_server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Agnes4m%2Fnonebot_plugin_l4d2_server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Agnes4m","download_url":"https://codeload.github.com/Agnes4m/nonebot_plugin_l4d2_server/tar.gz/refs/heads/1.x.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406087,"owners_count":20933803,"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":["anne","l4d2-bot","nonebot2","server-queries","steam","workshop"],"created_at":"2024-10-09T21:13:59.259Z","updated_at":"2025-04-05T22:06:15.546Z","avatar_url":"https://github.com/Agnes4m.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD026 MD031 MD033 MD036 MD041 MD046 MD051 --\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png\" width=\"180\" height=\"180\"  alt=\"AgnesDigitalLogo\"\u003e\n  \u003cbr\u003e\n  \u003cp\u003e\u003cimg src=\"https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png\" width=\"240\" alt=\"NoneBotPluginText\"\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n# nonebot_plugin_l4d2_server 1.0.0a1\n\n_✨Nonebot \u0026 Left 4 Dead 2 server操作✨_\n\u003cdiv align = \"center\"\u003e\n        \u003ca href=\"https://agnes4m.github.io/l4d2/\" target=\"_blank\"\u003e文档\u003c/a\u003e \u0026nbsp; · \u0026nbsp;\n        \u003ca href=\"https://agnes4m.github.io/l4d2/reader/#%E5%8A%9F%E8%83%BD-%E6%8C%87%E4%BB%A4-%F0%9F%A4%94\" target=\"_blank\"\u003e指令列表\u003c/a\u003e \u0026nbsp; · \u0026nbsp;\n        \u003ca href=\"https://agnes4m.github.io/l4d2/bug/\"\u003e常见问题\u003c/a\u003e\n\u003c/div\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/Agnes4m/nonebot_plugin_l4d2_server/stargazers\"\u003e\n        \u003cimg alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_l4d2_server\" alt=\"stars\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/Agnes4m/nonebot_plugin_l4d2_server/issues\"\u003e\n        \u003cimg alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_l4d2_server\" alt=\"issues\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://jq.qq.com/?_wv=1027\u0026k=HdjoCcAe\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square\" alt=\"QQ Chat Group\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pypi.python.org/pypi/nonebot_plugin_l4d2_server\"\u003e\n        \u003cimg src=\"https://img.shields.io/pypi/v/nonebot_plugin_l4d2_server.svg\" alt=\"pypi\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pypi.python.org/pypi/nonebot_plugin_l4d2_server\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/dm/nonebot_plugin_l4d2_server\" alt=\"pypi download\"\u003e\n\u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/nonebot-2.0.0+-red.svg\" alt=\"NoneBot\"\u003e\n\n\u003c/div\u003e\n\n## 顶置公告（如果以前用0.x.x版本暂时别更新）\n\n- **版本**  1.x.x进行了破坏式更新，目前处于测试阶段，使用旧插件的不要更新\n\n## 更改部分\n\n- 取消了网页控制台(没有卵用)\n- 取消了自动重启(与其他插件功能重复)\n- 取消了git拉取更新(nb规范用pypi)\n- 增加pil和浏览器渲染做选择(可以选择pil以节省性能性能)\n- 删除无用部分(依赖太多难以维护)\n\n## 安装\n\n以下提到的方法 任选**其一** 即可\n\n\u003cdetails open\u003e\n\u003csummary\u003e[推荐] 使用 nb-cli 安装\u003c/summary\u003e\n在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装\n\n```bash\nnb plugin install nonebot-plugin-l4d2-server\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e使用包管理器安装\u003c/summary\u003e\n在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令\n\n\u003cdetails\u003e\n\u003csummary\u003epip\u003c/summary\u003e\n\n```bash\npip install nonebot-plugin-l4d2-server\n```\n\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003epdm\u003c/summary\u003e\n\n```bash\npdm add nonebot-plugin-l4d2-server\n```\n\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003epoetry\u003c/summary\u003e\n\n```bash\npoetry add nonebot-plugin-l4d2-server\n```\n\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003econda\u003c/summary\u003e\n\n```bash\nconda install nonebot-plugin-l4d2-server\n```\n\n\u003c/details\u003e\n\u003c/details\u003e\n\n## 主要功能\n\n- [ ] 求生服务器-本地多路径操作（传地图等）\n- [ ] 批量查询指定ip服务器状态和玩家\n- [ ] [求生电信服anne](https://github.com/fantasylidong/CompetitiveWithAnne)[查询~](https://sb.trygek.com/l4d_stats/ranking/index.php)\n\n## [数据结构](./docs/standand.md)\n\n暂未更新\n\n## env设置\n\n\"\"\"bash\n    l4_anne = False\n    \"\"\"是否启用anne电信服相关功能\"\"\"\n    l4_enable = True\n    \"\"\"是否全局启用求生功能\"\"\"\n    l4_image = False\n    \"\"\"是否启用图片\"\"\"\n    l4_connect = True\n    \"\"\"是否在查服命令后加入connect ip\"\"\"\n    l4_path = \"data/L4D2\"\n    \"\"\"插件数据路径\"\"\"\n    l4_players = 4\n    \"\"\"查询总图的时候展示的用户数量\"\"\"\n    l4_style = \"default\"\n    \"\"\"图片风格，可选包括以下，默认简洁\n    - 暗风格\n    - 孤独摇滚\n    - 电玩像素\n    - 缤纷彩虹\n\"\"\"\n\n## 其他\n\n- 本人技术很差，如果您有发现BUG或者更好的建议，欢迎提Issue \u0026 Pr\n- 如果本插件对你有帮助，不要忘了点个Star~\n- 本项目仅供学习使用，请勿用于商业用途\n- [更新日志](./docs/update.md)\n- [GPL-3.0 License](https://github.com/Agnes4m/nonebot_plugin_l4d2_server/blob/main/LICENSE) ©[@Agnes4m](https://github.com/Agnes4m)\n\n## 🌐 感谢\n\n- [nonebot2](https://github.com/nonebot/nonebot2)- 聊天机器人的基础框架\n- [饼干](https://github.com/lgc2333) - 指导nonebot2框架的函数使用\n- [wuyi](https://github.com/KimigaiiWuyi/) - 指导pil作图\n- 水果 - html图片优化\n\n- 感谢以下服主大力支持\n  - Michaela's | 机器人功能测试反馈\n  - 东 | 提供docker部署方法等建议 | [电信服anne游戏群](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027\u0026k=6i7r5aJ7Jyg0ejby4rt9GWmFRF53nV1K\u0026authKey=ekMsWepBZPL26%2BfJAG%2F95JD0fhvH39%2BIGVyKOvNlXVDbpIclJlly4kXqukL7JhWR\u0026noverify=0\u0026group_code=883237206)\n  - 迷茫 | 催命更新byd\n  - ArcPav | 积极反馈bug，提供改进思路\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagnes4m%2Fnonebot_plugin_l4d2_server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagnes4m%2Fnonebot_plugin_l4d2_server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagnes4m%2Fnonebot_plugin_l4d2_server/lists"}