DicerGirl is a new generation cross-platform open-source TRPG (Tabletop Role-Playing Game) dice framework.
Deployed using Nonebot2 Onebot v11
, supports adding and removing campaign modes.
This project currently supports custom campaign modules, see Development for details.
The public test QQ group number for this project is: 770386358
Download the latest version of DicerGirl Installer
package, after installation, DGI will automatically deploy DicerGirl. You can configure your QQ account in the terminal with the prompt https://127.0.0.1:{port}/go-cqhttp/
.
Here, {port}
is a randomly generated port number.
The web version of go-cqhttp
is based on nonebot-plugin-gocqhttp
.
However, it's worth noting that DGI is currently only suitable for Windows systems.
DicerGirl can be installed on any operating system that supports Python3, including Windows.
To install DicerGirl
using the original method, make sure you have installed Python3
and configured the environment variables correctly.
If you already have a Nonebot2
project, use the command in the Nonebot2
project:
nb plugin install dicergirl
If you haven't created a Nonebot2
project yet, make sure you have installed nb-cli
correctly:
pip install nb-cli
And create the project using nb-cli
:
nb create -t bootstrap
Select FastAPi
, HTTPX
, and websockets
for the drivers, and OneBot V11
for the adapter.
After creation, execute the following in the generated project directory:
nb plugin install dicergirl
nb run --reload
For more details on creating projects and adding/removing plugins in Nonebot2, refer to Nonebot CLI.
After deployment, you can send the message .help
in the corresponding platform to view usage instructions.
For detailed usage instructions, see Usage.
DicerGirl
exists as a Nonebot2
plugin. If you are familiar with Nonebot2
, you can install it directly using the following method:
pip install nb-cli
nb create -t bootstrap
nb plugin install dicergirl
You can choose to install other DicerGirl campaign modules:
pip install dicergirl-plugin-scp
pip install dicergirl-plugin-coc
pip install dicergirl-plugin-dnd
pip install dicergirl-plugin-hsr
You can also install third-party plugins, but Unknown Visitor is not responsible for their stability and security.
DicerGirl depends on Nonebot2, which allows it to work across different platforms. In addition to this, any communication platform supported by Onebot v11 and Nonebot2 is also supported.
nb adapter install nonebot-adapter-onebot
nb adapter install nonebot-adapter-qqguild
Using DicerGirl
in Nonebot2
is recommended without using nonebot-plugin-helper
, as it may conflict with the .help
command.
If you have suggestions or find vulnerabilities in Dicergirl, please submit them in issues.
Public test QQ group number: 770386358
This project is open-sourced under the Apache-2.0 license. When using the code, please be sure to comply with the open-source license.