介绍
本插件为官方插件包之一,通过 /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)。
Metadata
Release files for axtbot-plugin-remake 1.0.0
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 | |
|---|---|---|---|---|
| axtbot_plugin_remake-1.0.0.tar.gz | 5.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| axtbot_plugin_remake-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / axtbot_plugin_remake-1.0.0.tar.gz
| Download URL | axtbot_plugin_remake-1.0.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb00139d1288d6139ebd673e91d8072598e1231cce84396b76f5baf27f2b0f84
|
|
BLAKE2b-256 checksum How to use checksums |
2eacb07238b8703a2eedc1b12d330df3371ea970e75ebc4953164557728896c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.29.0 CPython/3.12.3 Linux/6.17.0-1022-azure
|
Release files / axtbot_plugin_remake-1.0.0-py3-none-any.whl
| Download URL | axtbot_plugin_remake-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
249690e2ce48fcb7f64eaabd962bf6166ce635cf3a7af1224f8e2d16b3c7bfb4
|
|
BLAKE2b-256 checksum How to use checksums |
36338466f767ba542db75a16d46facff40e56f7376700fa2ea57888e8017c2ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.29.0 CPython/3.12.3 Linux/6.17.0-1022-azure
|
Security for axtbot-plugin-remake 1.0.0
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.