更新配置文件部分
This commit is contained in:
parent
a112954bf5
commit
3539900896
@ -17,3 +17,5 @@
|
||||
* [cmd_alias.json](config/cmd_alias)
|
||||
|
||||
* [cmd_register.json](config/cmd_register)
|
||||
|
||||
* [get_invitation.json](config/get_invitation)
|
||||
@ -1,6 +1,6 @@
|
||||
# cmd_alias.json
|
||||
|
||||
cmd_alias.json 配置了每个命令的名称和别名。
|
||||
cmd_alias.json 配置了每个 AkashicQQ 命令的名称和别名。
|
||||
|
||||
> 注意:别名可以有多个,但必须为每个命令配置一个名称。玩家可以使用 #命令名称 或 #命令别名 触发命令。
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# cmd_register.json
|
||||
|
||||
通过将命令注册到 cmd_register.json,您可以在 QQ 内方便地向服务器内使用别名发送命令,而无需使用 #命令 命令内容。您借此配合其他插件实现在 QQ 中查看服务器 TPS 等功能。
|
||||
通过将游戏命令注册到 cmd_register.json,您可以在 QQ 内方便地向服务器内使用别名发送命令,而无需使用 #命令 命令内容。您借此配合其他插件实现在 QQ 中查看服务器 TPS 等功能。
|
||||
|
||||
[
|
||||
{
|
||||
|
||||
33
config/get_invitation.md
Normal file
33
config/get_invitation.md
Normal file
@ -0,0 +1,33 @@
|
||||
# get_invitation.json
|
||||
|
||||
通过配置 get_invitation.json,您可以将 AkashicQQ 和您的 [Blessing Skin Server](https://github.com/bs-community/blessing-skin-server) 对接,实现在 QQ 群中申请皮肤站的邀请码。
|
||||
|
||||
{
|
||||
"enable": false,
|
||||
"blessing_skin_server_mysql": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 3306,
|
||||
"user": "skin",
|
||||
"password": "",
|
||||
"db": "skin"
|
||||
},
|
||||
"initial_chance": 0
|
||||
}
|
||||
|
||||
+ `enable`
|
||||
|
||||
是否启用此功能。
|
||||
|
||||
+ `blessing_skin_server_mysql`
|
||||
|
||||
配置 Blessing Skin Server 的数据库。
|
||||
|
||||
+ `host`:数据库地址
|
||||
+ `port`:数据库端口
|
||||
+ `user`:用户名
|
||||
+ `password`:密码
|
||||
+ `db`:数据库名称
|
||||
|
||||
+ `initial_chance`
|
||||
|
||||
每个 QQ 群成员默认拥有几次获取邀请码机会。
|
||||
Loading…
x
Reference in New Issue
Block a user