L4D2 server related operations plugin for NoneBot2
Project description
顶置公告
多适配器版本请查看分支
文档暂时没时间更新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
主要功能
数据结构
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
Built Distribution
Close
Hashes for nonebot_plugin_l4d2_server-0.6.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e01b072756604cd25c683a8516b1f535ce47b64c328ed3759f39e44daa13fb99 |
|
MD5 | 9d282655f95cca9d2c348238c9186917 |
|
BLAKE2b-256 | c0f2c479517c703f767576e8d331cf4e27c0fe6bc408d3c97ec4f60a255cd456 |
Close
Hashes for nonebot_plugin_l4d2_server-0.6.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58e63263bce51fcadecfd5334f244513e07fd820b848a3d534714290592e56ca |
|
MD5 | 547b0ff0ded81c89ba1cdb3bb4ab9f35 |
|
BLAKE2b-256 | 46c7a10b5dccb62e053d7d740665a5851ba917192909a8022c0c29a9c9ac4536 |