Skip to content

Commit ddc361c

Browse files
committed
Add MatrixShop 1.2.0 docs
1 parent b102f85 commit ddc361c

File tree

4 files changed

+107
-9
lines changed

4 files changed

+107
-9
lines changed

docs/matrixshop/index.mdx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MatrixShop 是面向生存、经济和市场场景的模块化交易插件。当
1010

1111
当前最新修复版本为:
1212

13-
- [1.1.1 发布说明](./release-notes-1-1-1)
13+
- [1.2.0 发布说明](./release-notes-1-2-0)
1414

1515
## 当前版本状态
1616

@@ -56,14 +56,15 @@ MatrixShop 是面向生存、经济和市场场景的模块化交易插件。当
5656
如果你第一次接触 MatrixShop,推荐顺序是:
5757

5858
1. [快速开始](./quick-start)
59-
2. [1.1.1 发布说明](./release-notes-1-1-1)
60-
3. [1.1.0 发布说明](./release-notes-1-1-0)
61-
4. [配置结构](./configuration-structure)
62-
5. [经济模块](./economy)
63-
6. [命令与权限](./commands-and-permissions)
64-
7. [数据库与存储](./database-and-storage)
65-
8. [模块总览](./modules-overview)
66-
9. [商店与模块详解](./shop-types)
59+
2. [1.2.0 发布说明](./release-notes-1-2-0)
60+
3. [1.1.1 发布说明](./release-notes-1-1-1)
61+
4. [1.1.0 发布说明](./release-notes-1-1-0)
62+
5. [配置结构](./configuration-structure)
63+
6. [经济模块](./economy)
64+
7. [命令与权限](./commands-and-permissions)
65+
8. [数据库与存储](./database-and-storage)
66+
9. [模块总览](./modules-overview)
67+
10. [商店与模块详解](./shop-types)
6768

6869
## 发布前建议
6970

@@ -75,5 +76,6 @@ MatrixShop 是面向生存、经济和市场场景的模块化交易插件。当
7576

7677
如果你是从 `1.0.0` 升级,请先看:
7778

79+
- [1.2.0 发布说明](./release-notes-1-2-0)
7880
- [1.1.1 发布说明](./release-notes-1-1-1)
7981
- [1.1.0 发布说明](./release-notes-1-1-0)

docs/matrixshop/quick-start.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ description: 首次部署 MatrixShop、生成默认配置并验证基本指令
1515

1616
如果你正在从 `1.0.0` 升级,请先阅读:
1717

18+
- [1.2.0 发布说明](./release-notes-1-2-0)
1819
- [1.1.1 发布说明](./release-notes-1-1-1)
1920
- [1.1.0 发布说明](./release-notes-1-1-0)
2021

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
title: 1.2.0 发布说明
3+
description: MatrixShop 1.2.0 的新增功能、管理员商品维护流程和验证结果。
4+
---
5+
6+
# MatrixShop 1.2.0 发布说明
7+
8+
发布时间:`2026-03-31`
9+
10+
## 版本定位
11+
12+
`1.2.0` 是在 `1.1.x` 稳定基线上继续补管理功能的功能版本。
13+
14+
这一版的重点不是调整玩家侧业务链,而是补齐管理员对 `SystemShop` 商品的快速维护能力。
15+
16+
## 本版本重点
17+
18+
### 管理员快速上架
19+
20+
管理员现在可以直接拿着主手物品,将商品快速写入 `SystemShop` 分类:
21+
22+
```text
23+
/matrixshopadmin goods add <category> <price> [buy-max] [product-id]
24+
```
25+
26+
这个命令会:
27+
28+
- 读取主手物品
29+
- 写入 `SystemShop/shops/<category>.yml`
30+
- 自动生成或使用指定 `product-id`
31+
- 写入价格、限购、显示名和 Lore
32+
- 自动重载 `SystemShop`
33+
34+
### 管理员快速编辑
35+
36+
管理员现在也可以直接维护已存在的系统商店商品:
37+
38+
```text
39+
/matrixshopadmin goods select <category> <product-id>
40+
/matrixshopadmin goods edit price <value>
41+
/matrixshopadmin goods edit buy-max <value>
42+
/matrixshopadmin goods edit currency <key|default>
43+
/matrixshopadmin goods edit name <text...>
44+
/matrixshopadmin goods edit item
45+
/matrixshopadmin goods edit remove
46+
```
47+
48+
其中:
49+
50+
- `edit item` 会使用管理员当前主手物品覆盖商品本体
51+
- `edit remove` 会直接移除该商品
52+
- `currency default` 会移除商品级货币覆盖,回退到上层配置
53+
54+
### 菜单内选中编辑目标
55+
56+
在系统商店分类页中,拥有管理员商品权限的玩家可以对商品执行:
57+
58+
- `Shift + 右键`
59+
60+
来直接把该商品设为当前编辑目标,然后继续使用后台 `goods edit ...` 系列命令。
61+
62+
## 配置影响
63+
64+
这一版不引入新的配置破坏性变更。
65+
66+
但如果你要使用管理员快速维护商品,建议确认:
67+
68+
- `matrixshop.admin.goods` 权限已正确分配
69+
- 管理员理解 `goods add``goods edit` 会直接写回默认配置文件
70+
71+
## 验证
72+
73+
本版本发布前已完成:
74+
75+
- `bash ./gradlew build`
76+
- `paper-1.12.2` smoke boot
77+
- real-client 管理员命令回归
78+
79+
实际验证链:
80+
81+
1. `/give codex-bot diamond_sword 1`
82+
2. `/matrixshopadmin goods add weapon 777 9 codex_admin_probe_20260331`
83+
3. `/matrixshopadmin goods select weapon codex_admin_probe_20260331`
84+
4. `/matrixshopadmin goods edit price 888`
85+
5. `/matrixshopadmin goods edit buy-max 12`
86+
6. `/matrixshopadmin goods edit name Codex Admin Blade`
87+
7. `/matrixshopadmin goods edit remove`
88+
89+
## 相关链接
90+
91+
- [GitHub Releases](https://github.com/54895y/MatrixShop/releases)
92+
- [1.2.0 GitHub Release](https://github.com/54895y/MatrixShop/releases/tag/v1.2.0)
93+
- [CHANGELOG](https://github.com/54895y/MatrixShop/blob/main/CHANGELOG.md)
94+
- [1.1.1 发布说明](./release-notes-1-1-1)

sidebars.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const sidebars: SidebarsConfig = {
4545
},
4646
items: [
4747
'matrixshop/quick-start',
48+
'matrixshop/release-notes-1-2-0',
4849
'matrixshop/release-notes-1-1-1',
4950
'matrixshop/release-notes-1-1-0',
5051
'matrixshop/configuration-structure',

0 commit comments

Comments
 (0)