Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Commit c640f9a

Browse files
committed
feat: 跟随更新到v1.3.5
1 parent be92e3f commit c640f9a

File tree

5 files changed

+38
-25
lines changed

5 files changed

+38
-25
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
<br>
66
Serein的官方文档
77
<br>
8-
<b>🖥Website</b> | <a href="https://serein.cc/">serein.cc</a><br>
9-
<b>🏬Market</b> | <a href="https://market.serein.cc/">market.serein.cc</a>
8+
<a href="https://wakatime.com/badge/github/Zaitonn/Serein-Docs"><img style="margin:10px 0 0" src="https://wakatime.com/badge/github/Zaitonn/Serein-Docs.svg" alt="wakatime"></a>
9+
<br>
10+
<b>主站</b> | <a href="https://serein.cc/">serein.cc</a><br>
11+
<b>扩展市场</b> | <a href="https://market.serein.cc/">market.serein.cc</a>
1012
</p>
1113

1214
<pre align="center">
@@ -19,15 +21,15 @@ Serein的官方文档
1921

2022
### 要求
2123

22-
nodejs LTS
24+
NodeJS LTS
2325

2426
### 初始化
2527

2628
```ps
2729
> npm install
2830
```
2931

30-
### 开始
32+
### 预览
3133

3234
```ps
3335
> npm run start

docs/development/function/serein.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ serein.setPreLoadConfig(
384384
- `object` 设置内容对象(见上)
385385

386386
:::tip
387-
最好使用`serein.getSettingsObject()`而不是`serein.getSettings()`
387+
推荐使用`serein.getSettingsObject()`而不是`serein.getSettings()`
388388

389389
```js
390390
const settings = JSON.parse(serein.getSettings());
@@ -513,7 +513,7 @@ declare interface WSClient {
513513

514514
## 安全调用函数
515515

516-
:::note
516+
:::info
517517
此函数可用于解决跨插件调用函数时导致线程不安全的问题
518518
:::
519519

docs/development/intro.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ slug: /development
66

77
Serein JS插件的详细文档
88

9+
:::caution 🚧警告
10+
由于一些原因,本文档和[JS插件开发助手](#js插件开发助手)可能更新不及时,一切内容以[GitHub的源码](https://github.com/Zaitonn/Serein)为准
11+
:::
12+
913
import DocCardList from '@theme/DocCardList';
1014

1115
<DocCardList />

docs/intro.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,25 @@ slug: /
77
![Serein](https://socialify.git.ci/Zaitonn/Serein/image?description=1&font=KoHo&logo=https%3A%2F%2Fserein.cc%2Fimg%2FSerein.png&name=1&owner=1&pattern=Circuit%20Board&theme=Dark#dark)
88

99
<p align="center">
10-
<img alt="GitHub Stars" src="https://img.shields.io/github/stars/Zaitonn/Serein?color=blue" />
11-
<a href="https://github.com/Zaitonn/Serein/releases/latest">
12-
<img src="https://img.shields.io/github/v/release/Zaitonn/Serein?color=blue" />
13-
</a>
14-
<a href="https://github.com/Zaitonn/Serein/releases/latest">
15-
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/Zaitonn/Serein/total?color=blue" />
16-
</a>
17-
<a href="https://github.com/Zaitonn/Serein/actions/workflows/Build.yml">
18-
<img alt="GitHub bulid" src="https://img.shields.io/github/actions/workflow/status/Zaitonn/Serein/Build.yml?branch=main&color=blue" />
19-
</a>
20-
<a href="https://github.com/Zaitonn/Serein">
21-
<img alt="GitHub repo file count" src="https://img.shields.io/github/languages/code-size/Zaitonn/Serein" />
22-
</a>
23-
<a href="https://app.codacy.com/gh/Zaitonn/Serein/">
24-
<img alt="Codacy Grade" src="https://img.shields.io/codacy/grade/982069cd172d4ef4a40aa4bce4977542?color=blue&logo=Codacy" />
25-
</a>
10+
<img alt="GitHub Stars" src="https://img.shields.io/github/stars/Zaitonn/Serein?color=blue" />
11+
<a href="https://github.com/Zaitonn/Serein/releases/latest">
12+
<img src="https://img.shields.io/github/v/release/Zaitonn/Serein?color=blue" />
13+
</a>
14+
<a href="https://github.com/Zaitonn/Serein/releases/latest">
15+
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/Zaitonn/Serein/total?color=blue" />
16+
</a>
17+
<a href="https://github.com/Zaitonn/Serein/actions/workflows/Build.yml">
18+
<img alt="GitHub bulid" src="https://img.shields.io/github/actions/workflow/status/Zaitonn/Serein/Build.yml?branch=main&color=blue" />
19+
</a>
20+
<a href="https://github.com/Zaitonn/Serein">
21+
<img alt="GitHub repo file count" src="https://img.shields.io/github/languages/code-size/Zaitonn/Serein" />
22+
</a>
23+
<a href="https://app.codacy.com/gh/Zaitonn/Serein/">
24+
<img alt="Codacy Grade" src="https://img.shields.io/codacy/grade/982069cd172d4ef4a40aa4bce4977542?color=blue&logo=Codacy" />
25+
</a>
26+
<a href="https://wakatime.com/badge/github/Zaitonn/Serein">
27+
<img src="https://wakatime.com/badge/github/Zaitonn/Serein.svg" alt="wakatime" />
28+
</a>
2629
</p>
2730

2831
## 📁 麻雀虽小五脏俱全
@@ -42,7 +45,9 @@ slug: /
4245
- WinServer2012
4346
- WinServer2016
4447
- WinServer2019
45-
- Linux *(仅提供命令行版本)*
48+
- Linux
49+
- 目前只提供命令行版本
50+
- 非命令行版请自行套Wine尝试,不保证稳定性
4651
- 支持启动的类型
4752
- 基岩版专用服务器(BDS)
4853
- Java版及使用`java`启动的服务器
@@ -142,4 +147,4 @@ slug: /
142147

143148
## ⭐ Stars记录
144149

145-
![starchart](https://starchart.cc/Zaitonn/Serein.svg)
150+
[![starchart 我图图呢(](https://starchart.cc/Zaitonn/Serein.svg)](https://github.com/Zaitonn/Serein/stargazers)

docs/version/v1.3.5.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@
3434

3535
## 🧰 其他
3636

37-
规范命名
37+
- 规范命名
38+
- 使用`Nullable`
39+
- 优化代码
3840

0 commit comments

Comments
 (0)