Skip to main content

L4D2 server related operations plugin for NoneBot2

Project description

AgnesDigitalLogo

NoneBotPluginText

nonebot_plugin_l4d2_server 0.6

✨Nonebot & Left 4 Dead 2 server操作✨

文档   ·   指令列表   ·   常见问题

GitHub stars GitHub issues QQ Chat Group pypi pypi download python NoneBot

顶置公告

多适配器版本请查看分支

文档暂时没时间更新ozr

网页端管理端 https://{ip}:{port}/l4d2 网页用户端 https://{ip}:{port}/l4d2/user

安装

以下方法任选其一:

    nb plugin install nonebot-plugin-l4d2-server
    pip install nonebot-plugin-l4d2-server
    pipx install nonebot-plugin-l4d2-server
    git clone https://github.com/Agnes4m/nonebot_plugin_l4d2_server.git

主要功能

  • 求生服务器-本地多路径操作(传地图)
  • 批量查询指定ip服务器状态和玩家
  • 创意工坊下载和喷漆制作
  • web控制台
  • 求生电信服anne查询~

数据结构

bot所在文件夹下

举例:
└── data
    └── L4D2
        ├── l4d2.yml         # 配置文件
        ├── l4d2.json        # ip文件
        ├── scheduler.json   # 定时文件
        ├── sql              # 数据库
        │   └── L4D2.db
        ├── image            # 头像缓存
        │   └── players
        │       └── ...
        └── l4d2             # 子ip文件
            ├── 关键词1.json
            ├── 关键词2.json
            └── ...
...

新增一个json文件,格式如下,文件名与需要响应的指令一致 l4d2.json关键词1.json都可以加载

    {
    "呆呆": [
            {
            "id": 1,
            "ip": "43.248.188.17:27031"
            },
            {
            "id": 2,
            "ip": "43.248.188.17:27032"
            }
    ]
    }

🌐 默认服务器

将会适配公益服刷服器适配ip

To do

  • 帮助图片
  • 网页控制台查看服务器地图
  • 网页控制台启动和关闭服务器
  • 网页控制台管理封禁用户

其他

  • 本人技术很差,如果您有发现BUG或者更好的建议,欢迎提Issue & Pr
  • 如果本插件对你有帮助,不要忘了点个Star~
  • 本项目仅供学习使用,请勿用于商业用途
  • GPL-3.0 License ©@Agnes4m

🌐 感谢

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_l4d2_server-0.6.2.tar.gz (1.5 MB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page