Skip to main content

L4D2 server related operations plugin for NoneBot

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot_plugin_l4d2_server

✨Nonebot & Left 4 Dead 2 server操作✨

GitHub stars GitHub issues

安装

1、nb plugin install nonebot_plugin_l4d2_server
2、pip install nonebot_plugin_l4d2_server
3、Download zip

env配置

配置项 必填 默认值 说明
"l4_file" "/home/ubuntu/l4d2/coop" 输入求生服务器的绝对路径,该目录下有文件夹left4dead2

功能

(被动)上传地图:私发压缩包zip/vpk文件给机器人,就可以直接上传地图到服务器了

指令 范围 是否需要艾特 说明
求生地图/求生2地图 所有人 获取当前路径下所有的vpk文件,并输出目录

📝 TODO LIST

  • 帮助文件
  • 支持修改下载地图,在服务器端的名称
  • 支持查询并删除服务器已有地图文件
  • 支持查询服务器状态
  • 支持多服务器切换

已知BUG

  • 无法在python3.10版本下解压7z格式压缩包
  • 所有人都可以私聊发送文件

📝 更新日志

展开/收起

0.1.0

  • 集中修复了Bug

0.0.9

  • 新增上传地图后,检测对比回复新地图名字
  • 修复中文名乱码问题

0.0.8

  • 支持vpk格式地图
  • 支持查看所有vpk格式文件

0.0.6

  • 修复了7z压缩包的方式,优化代码

0.0.1

  • 插件初次发布,可私聊添加地图

已测试环境

win10 python3.9
ubuntu20.04 python3.10

Project details


Release history Release notifications | RSS feed

This version

0.1.0

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.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file nonebot-plugin-l4d2-server-0.1.0.tar.gz.

File metadata

File hashes

Hashes for nonebot-plugin-l4d2-server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 548435fc91b2769e675b2a6cd52a615ad58b8f293a42bc523a7f73204e0275b3
MD5 f0d38638d3f883e411bd31d809772cec
BLAKE2b-256 e8adf5dde77800b78326d38d72ca9721cf020a4e3d58dd0440ad4a46dc599695

See more details on using hashes here.

Provenance

File details

Details for the file nonebot_plugin_l4d2_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_l4d2_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 585ba9b8715b41cad8970a3e4cbd743f9a18b5e6c3e6086ca8fb3eed168c20c1
MD5 112786e75ad735f1bb37b83e57554b11
BLAKE2b-256 510d67ad234f13cfb99e83c31761949174347964f642bc19845d2a1c8748d544

See more details on using hashes here.

Provenance

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