Skip to main content
NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-csgo-case-simulator

✨ NoneBot的CSGO开箱模拟器 ✨

license pypi python

💡 更新

2024-04-09

  • 更新json文件
  • 使用Alconna适配器替换onebot适配器

📖 介绍

这是一个 NoneBot 的 CSGO 开箱模拟器插件,目前已支持的功能有:

  • 武器箱
  • 纪念包
  • 多箱连开(最多20)
  • 和游戏内完全相同的出货概率

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-csgo-case-simulator
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-csgo-case-simulator
pdm
pdm add nonebot-plugin-csgo-case-simulator
poetry
poetry add nonebot-plugin-csgo-case-simulator
conda
conda install nonebot-plugin-csgo-case-simulator

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot-plugin-csgo-case-simulator"]

🎉 使用

指令表

指令 别名 权限 需要@ 范围 说明
open [数量] [名称] csgo开箱 群员 否 群聊 开启武器箱
cases csgo武器箱列表 群员 否 群聊 查看所有武器箱
svs csgo纪念包列表 群员 否 群聊 查看所有纪念包
s_skins [皮肤名] csgo皮肤搜索 群员 否 群聊 搜索皮肤
环境变量(暂不可用)
变量名 类型 默认值 说明
CSGO_USER_CD int 0 用户开箱冷却时间
CSGO_GROUP_CD int 0 群开箱冷却时间

效果图

效果图

Metadata

Release files for nonebot-plugin-csgo-case-simulator 1.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-csgo-case-simulator 1.1.5
File Size Uploaded
nonebot_plugin_csgo_case_simulator-1.1.5.tar.gz 8.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-csgo-case-simulator 1.1.5
File Interpreter ABI Platform
nonebot_plugin_csgo_case_simulator-1.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 17.3 MB

Release files / nonebot_plugin_csgo_case_simulator-1.1.5.tar.gz

Download URL nonebot_plugin_csgo_case_simulator-1.1.5.tar.gz
Size 8.6 MB
Tags Source
SHA-256 checksum
How to use checksums
ab599cda77a0e9baad61cbe7997ec2f381832e23bf8685e4afd4f022b775b053
BLAKE2b-256 checksum
How to use checksums
b5c1bc80d968ec87984f79e2f79356135a20956b187ae163a4d50819ef57680d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.14 Darwin/23.5.0

Release files / nonebot_plugin_csgo_case_simulator-1.1.5-py3-none-any.whl

Download URL nonebot_plugin_csgo_case_simulator-1.1.5-py3-none-any.whl
Size 8.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
00ce648fe653bcfe564060fb6539ec10579934f3a7b281df34f59d5c234c9a64
BLAKE2b-256 checksum
How to use checksums
618213117e68e2348ee95ac67d38a7cc5dd80cc9411a202786494e3480a0f661
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.14 Darwin/23.5.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page