📖 介绍
查询BF1的MarneServer服务器信息
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-bf1marneserverlist
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-bf1marneserverlist
pdm
pdm add nonebot-plugin-bf1marneserverlist
poetry
poetry add nonebot-plugin-bf1marneserverlist
conda
conda install nonebot-plugin-bf1marneserverlist
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_bf1marneserverlist"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| marne_url | 是 | 无 | 自行寻找相关URL,需要以/结尾 |
| marne_plugin_enabled | 是 | True | 是否启用插件 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| marne bind {服务器ID} | 主人、群主、管理员 | 否 | 群聊 | 服务器ID需要你自己寻找~ |
| marne | 群员 | 否 | 群聊 | 查询已经绑定的服务器信息 |
| marne mods | 群员 | 否 | 群聊 | 查询已绑定的服务器模组列表 |
| marne players | 群员 | 否 | 群聊 | 查询已绑定的服务器在线玩家 |
Metadata
Release files for nonebot-plugin-bf1marneserverlist 0.1.27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_bf1marneserverlist-0.1.27.tar.gz | 6.0 kB | Without provenance | Details for nonebot_plugin_bf1marneserverlist-0.1.27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_bf1marneserverlist-0.1.27-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_bf1marneserverlist-0.1.27-py3-none-any.whl |
Total release size: 12.6 kB
Release files / nonebot_plugin_bf1marneserverlist-0.1.27.tar.gz
| Download URL | nonebot_plugin_bf1marneserverlist-0.1.27.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac04ff1a6dacf0dd46f1a5dca7c0f0a51c781aec3ecbe073e87c7f8c35c12c79
|
|
BLAKE2b-256 checksum How to use checksums |
9f7ed9feb11ce1247c7dff74a32fb0ea0692788c99bcb085556523f2dbfc799b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Windows/11
|
Release files / nonebot_plugin_bf1marneserverlist-0.1.27-py3-none-any.whl
| Download URL | nonebot_plugin_bf1marneserverlist-0.1.27-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7e3da6d113c09770a308046c61a8d6486294446a1bd3792c7e0a657560f1949
|
|
BLAKE2b-256 checksum How to use checksums |
13660caa81206b2e1a039943a72a60883ee068ee6c1f31be376b530fde6de19c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Windows/11
|
Security for nonebot-plugin-bf1marneserverlist 0.1.27
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.