Skip to main content

NoneBot Plugin Orangedice

一个普通的COC骰子插件
真的不点个Star吗?
Download

如何下载

pip install nonebot_plugin_orangedice 
nb plugin install nonebot_plugin_orangedice

注:0.2.2的版本的储存方式为文件储存
请因为SQLModel依赖导致冲突的用户下载此版本

nb plugin install nonebot_plugin_orangedice==0.2.2

可选配置

#version==0.2.0
CARD_FILE=card.json #人物卡文件位置
LOG_FILE=log.json #日志文件位置
CACHE_FILE=cache.json #缓存文件位置
#version>=0.3.0
CACHE_FILE=cache.txt # 缓存文件位置
SQLITE_FILE=DICE.db #数据库位置

指令集

  • .r 骰点
  • .rh 暗骰
  • .ra 属性骰点
  • .st 录卡
  • .li/ti 总结/临时疯狂检定
  • .sc sancheck
  • .log 日志
  • .nn 昵称修改
  • .help 帮助
  • .list 疯狂列表
  • .coc 车卡
  • .en 成长检定
  • .dao 导出人物卡

HELP 获取帮助

获取快捷的指令帮助

.help

".r#expr(attr) 骰点"
".ra(attr)(value) 属性骰点"
".st(attr value)/clear 人物卡录入/清除"
".log on/off/upload/clear 日志功能开启/关闭/上传/清除"
".sc(success)/(failure) ([san]) 理智检定[不可使用除法]"
".rh 暗骰"
".show 展示人物卡"
".ti/li 临时/永久疯狂检定"
".coc(value) 生成coc人物卡"
".en[attr][expr] 属性成长"

RD 普通骰子

普通的骰点,格式为 onedice标准 内COC的骰子格式

.r[expr]

.r1d100
.r5d100a10

RA 属性掷点

掷出一个 1D100 的骰子进行属性/技能检定
不提供 value 则在人物卡中获取属性

.ra[attritube]([value])

.raStar50
.ra属性60

RH 暗骰

掷出一个 1D100 的骰子 并发送至指令执行者的窗口

.rh

EN 成长

对属性进行成长检定 会自动赋值到人物卡上

.en[attritube][expr]

.en力量20
.en理智1d5+2

ST 录人物卡

录入人物属性卡,仅当使用 clear 时重置人物卡

.st([attritube][value])/(clear)

.st测试10普通属性100san50..
.st clear

SC 理智检定

进行 san check 检定,自动扣除人物卡内的 san。
支持 dice expr 但不支持除法运算符。

.sc [success]/[failure] ([san])

.sc 1d8/1d3

TI/LI 疯狂检定

获取一个临时/总结的疯狂发作症状

.li #随机获取疯狂发作-总结症状

.ti #随机获取疯狂发作-临时症状

LIST 疯狂表

获取临时/总结疯狂表

.list temp/forever

COC 车卡

基于COC7规则的属性随机生成 每次至多生成三个角色

.coc[times]

.coc3 #生成三个跑团角色属性卡

LOG 日志记录

记录跑团/群聊日志,此功能需群管理/群主才可开启

.log (on)/(off)/(upload)/(clear)

.log on     #开启日志记录功能
.log off    #暂停当前日志记录
.log upload #将日志记录上传至群文件
.log clear  #清空之前的日志

DAO 导出角色卡

将角色卡导出来多次使用,与 SHOW 指令的区别为
SHOW 指令会排除一些重复属性,而 DAO 则会把所有属性全部导出

.dao

相关与参考项目

Metadata

Release files for nonebot-plugin-orangedice 0.3.9

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-orangedice 0.3.9
File Size Uploaded Provenance Actions
nonebot-plugin-orangedice-0.3.9.tar.gz 20.0 kB Without provenance Details for nonebot-plugin-orangedice-0.3.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-orangedice 0.3.9
File Interpreter ABI Platform Actions
nonebot_plugin_orangedice-0.3.9-py3-none-any.whl Python 3 none any Details for nonebot_plugin_orangedice-0.3.9-py3-none-any.whl

Total release size: 41.3 kB

Release files / nonebot-plugin-orangedice-0.3.9.tar.gz

Download URL nonebot-plugin-orangedice-0.3.9.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
06651935032c43f14cfe91e1b9c73eeb621e3dc30081460063b4783e624dcf46
BLAKE2b-256 checksum
How to use checksums
18d2d4392ad0b45219b99a3ae7d46b3ef6666f9c3ff8f15f52e857a8aacd85e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.4.7 CPython/3.11.0

Release files / nonebot_plugin_orangedice-0.3.9-py3-none-any.whl

Download URL nonebot_plugin_orangedice-0.3.9-py3-none-any.whl
Size 21.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05721acda99d275e1b9e71a2b2697214018d6a4177aded4957a516e0cf6991e0
BLAKE2b-256 checksum
How to use checksums
79505dd754952181968595046bd8c59bc1ba1e30afc9e593401588351ed914b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.4.7 CPython/3.11.0

Security for nonebot-plugin-orangedice 0.3.9

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.

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