介绍
本插件为官方插件包之一,通过 /remake 随机生成你「重开」后的出生地点与身份(物品 / 人物)。每天每位用户仅可重开一次。
安装方法
使用包管理器安装
在项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install axtbot-plugin-remake
pdm
pdm add axtbot-plugin-remake
poetry
poetry add axtbot-plugin-remake
使用源码安装
在项目的插件目录下,打开命令行,输入以下内容 ```bash git clone https://github.com/AxT-Team/axtbot-plugin-remake ```把本文件夹拷贝至插件目录下即可。
配置
本插件需要在 .env 中补充以下配置(不填则使用默认值,可直接运行):
REMAKE_CUSTOM=false # 是否启用自定义模式
REMAKE_CUSTOM_LOCATION="上海·AxT社区" # 自定义重开地点
REMAKE_CUSTOM_OBJECTS="Darf" # 自定义重开身份(物品/人物)
REMAKE_DEFAULT_DATABASE="./data/remake.db" # 存储重开记录的数据库文件
默认地点 / 身份池位于插件内
remake_default_set,首次运行时会自动写入./data/remake.json,可自行修改该文件以自定义随机池(需关闭REMAKE_CUSTOM)。
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file axtbot_plugin_remake-1.0.0.tar.gz.
File metadata
- Download URL: axtbot_plugin_remake-1.0.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
pdm/2.29.0 CPython/3.12.3 Linux/6.17.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb00139d1288d6139ebd673e91d8072598e1231cce84396b76f5baf27f2b0f84
|
|
| MD5 |
d62c2701ebccdf360b13a3287982ab37
|
|
| BLAKE2b-256 |
2eacb07238b8703a2eedc1b12d330df3371ea970e75ebc4953164557728896c1
|
File details
Details for the file axtbot_plugin_remake-1.0.0-py3-none-any.whl.
File metadata
- Download URL: axtbot_plugin_remake-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
pdm/2.29.0 CPython/3.12.3 Linux/6.17.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
249690e2ce48fcb7f64eaabd962bf6166ce635cf3a7af1224f8e2d16b3c7bfb4
|
|
| MD5 |
78b01ce6772e9e609838406f89ef08c8
|
|
| BLAKE2b-256 |
36338466f767ba542db75a16d46facff40e56f7376700fa2ea57888e8017c2ac
|