From 583bd0a5b44e5b9bf4514e31531dea0e2f5ca0b5 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Mon, 8 Jul 2024 05:18:26 +0000
Subject: [PATCH 1/2] docs(contributor): contrib-readme-action has updated
readme
---
README.md | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index f98a92b468..22ec1ece65 100644
--- a/README.md
+++ b/README.md
@@ -178,15 +178,6 @@ https://nitwikit.yizhan.wiki/
Imgbot
-
-
-
-
- SB
-
- |
-
-
@@ -194,6 +185,8 @@ https://nitwikit.yizhan.wiki/
lim114514
|
+
+
@@ -222,8 +215,6 @@ https://nitwikit.yizhan.wiki/
MoLiyi-WD
|
-
-
@@ -231,6 +222,8 @@ https://nitwikit.yizhan.wiki/
东少
|
+
+
@@ -258,6 +251,13 @@ https://nitwikit.yizhan.wiki/
Sea_of_Orange
+ |
+
+
+
+
+ 梦涵LOVE
+
|
From bb3d13fea708c36bdece79d5071c58ef8992fe9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=A2=A6=E6=B6=B5LOVE?= <2193438288@qq.com>
Date: Mon, 8 Jul 2024 14:33:08 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E5=AF=B9=20=E2=80=9D=E5=BC=80=E5=A7=8B?=
=?UTF-8?q?=E2=80=9C=20=E6=8E=92=E7=89=88=20(#125)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* 文档大换血:新增基岩板块;将Java内容独分出来一个板块,并将原有Java内容的文档转移到Java板块。
* Update start.md
* 终极文档大换血:增加 多文档实例,Nav导航,分类
* Delete docs directory
* 小贴心:补一下docs文件夹(不小心删了)
* 更改 purchase-server.md 中的link
* 移除 "准备工作" 中多余侧边栏
* 移动“部署到生产环境”和“服务器维护”到 开始-“进阶教程”
---
docs-java/advance/cross-server/cross-server.md | 2 +-
docs-java/start/deploy/_category_.json | 7 -------
docs/advance/Linux/Linux.md | 8 ++++----
docs/{ => advance}/apply-for-a-domain-name.md | 15 ++++++++-------
docs/advance/database/backup.md | 4 ++--
docs/advance/database/configure.md | 5 +++--
docs/advance/database/database.md | 12 ++++++------
docs/advance/database/install.md | 4 ++--
docs/advance/database/uninstall.md | 2 +-
.../advance}/deploy/_images/mcsm.png | Bin
.../advance}/deploy/_images/翼龙面板.png | Bin
.../advance}/deploy/_images/购置服务器/cpu.jpg | Bin
.../advance}/deploy/_images/连接服务器/1.png | Bin
.../advance}/deploy/_images/连接服务器/2.png | Bin
.../advance}/deploy/_images/连接服务器/3.png | Bin
.../advance}/deploy/connect-to-the-cloud.md | 0
.../overview.md => docs/advance/deploy/deploy.md | 15 ++++++++++-----
.../advance}/deploy/intranet-penetration.md | 0
.../advance}/deploy/optional-mode.md | 0
.../advance}/deploy/purchase-server.md | 0
.../how-to-defend-against-cyber-attacks.md | 0
.../maintenance/how-to-prevent-crash-server.md | 0
.../how-to-troubleshoot-problematic-plugins.md | 0
docs/{ => advance}/maintenance/maintenance.md | 0
docs/preparation/preparation.md | 2 +-
25 files changed, 38 insertions(+), 38 deletions(-)
delete mode 100644 docs-java/start/deploy/_category_.json
rename docs/{ => advance}/apply-for-a-domain-name.md (95%)
rename {docs-java/start => docs/advance}/deploy/_images/mcsm.png (100%)
rename {docs-java/start => docs/advance}/deploy/_images/翼龙面板.png (100%)
rename {docs-java/start => docs/advance}/deploy/_images/购置服务器/cpu.jpg (100%)
rename {docs-java/start => docs/advance}/deploy/_images/连接服务器/1.png (100%)
rename {docs-java/start => docs/advance}/deploy/_images/连接服务器/2.png (100%)
rename {docs-java/start => docs/advance}/deploy/_images/连接服务器/3.png (100%)
rename {docs-java/start => docs/advance}/deploy/connect-to-the-cloud.md (100%)
rename docs-java/start/deploy/overview.md => docs/advance/deploy/deploy.md (67%)
rename {docs-java/start => docs/advance}/deploy/intranet-penetration.md (100%)
rename {docs-java/start => docs/advance}/deploy/optional-mode.md (100%)
rename {docs-java/start => docs/advance}/deploy/purchase-server.md (100%)
rename docs/{ => advance}/maintenance/how-to-defend-against-cyber-attacks.md (100%)
rename docs/{ => advance}/maintenance/how-to-prevent-crash-server.md (100%)
rename docs/{ => advance}/maintenance/how-to-troubleshoot-problematic-plugins.md (100%)
rename docs/{ => advance}/maintenance/maintenance.md (100%)
diff --git a/docs-java/advance/cross-server/cross-server.md b/docs-java/advance/cross-server/cross-server.md
index c1d83b6570..5f496d5f48 100644
--- a/docs-java/advance/cross-server/cross-server.md
+++ b/docs-java/advance/cross-server/cross-server.md
@@ -50,6 +50,6 @@ BungeeCord / Velocity 端(或他们的 Fork )在这里我们称为`跨服端
你都跨服了,估计会有多端数据同步的需求吧?
-看 [数据库相关](/docs/database/database)
+看 [数据库相关](/database)
一般需要安装两个数据库,MySQL 和 Redis,MySQL 用于存储重要信息,比如账号密码,经济,权限 Redis 用于快速跨服同步
diff --git a/docs-java/start/deploy/_category_.json b/docs-java/start/deploy/_category_.json
deleted file mode 100644
index 7abe63d1e0..0000000000
--- a/docs-java/start/deploy/_category_.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "label": "部署到生产环境",
- "position": 5,
- "link": {
- "type": "generated-index"
- }
-}
diff --git a/docs/advance/Linux/Linux.md b/docs/advance/Linux/Linux.md
index 4eac1d2c8b..f7650841e0 100644
--- a/docs/advance/Linux/Linux.md
+++ b/docs/advance/Linux/Linux.md
@@ -1,7 +1,7 @@
---
title: Linux 开服
slug: /Sundry/Advance/Linux
-sidebar_position: 2
+sidebar_position: 1
---
# Linux 开服
@@ -9,8 +9,8 @@ sidebar_position: 2
## 为什么选择 Linux 开服
1. 更快的发包速度和接收速度,接入服务器速度将提升数十毫秒起,当面对假人攻击/ DDOS 攻击时会更加稳定;
-2. 更好的性能,根据测试TPS能提升 8-15 %;
-3. 更低的内存占用,对于 Windows 服务器一般开机会占用1-2 GB 内存,而一般的 Linux 系统开机后占用往往不到 0.5 GB;
+2. 更好的性能,根据测试 TPS 能提升 8-15 %;
+3. 更低的内存占用,对于 Windows 服务器一般开机会占用 1-2 GB 内存,而一般的 Linux 系统开机后占用往往不到 0.5 GB;
4. Linux 的稳定性是 Windows 无论如何也无法比拟的;
5. Linux 安全性更高,开源系统,有社区的支持;
6. Linux 支持文件占用直接删除(也就是说可以自动更新插件,不像 Windows 那样提示文件被占用)
@@ -21,7 +21,7 @@ sidebar_position: 2
1. [MCSM](https://docs.mcsmanager.com/zh_cn/) 全名 MCSManager 是一款开源,分布式,一键部署,支持 Minecraft 和 Steam 游戏服务器 的控制面板。
2. [1Panel](https://1panel.cn/) 是新一代的 Linux 服务器运维管理面板,支持 Web 图形界面管理、快速建站、应用商店、安全可靠、一键备份等功能。
-3. [宝塔面板](https://www.bt.cn/) 是一款支持Linux和Windows系统的服务器运维管理工具,提供资源监控、文件管理、软件安装等功能。
+3. [宝塔面板](https://www.bt.cn/) 是一款支持 Linux 和 Windows 系统的服务器运维管理工具,提供资源监控、文件管理、软件安装等功能。
:::
diff --git a/docs/apply-for-a-domain-name.md b/docs/advance/apply-for-a-domain-name.md
similarity index 95%
rename from docs/apply-for-a-domain-name.md
rename to docs/advance/apply-for-a-domain-name.md
index d8b594c32a..4c84bf5939 100644
--- a/docs/apply-for-a-domain-name.md
+++ b/docs/advance/apply-for-a-domain-name.md
@@ -1,6 +1,6 @@
---
title: 申请域名
-sidebar_position: 6
+sidebar_position: 5
---
# 申请域名
@@ -11,11 +11,11 @@ sidebar_position: 6
以阿里云的[万网](https://domain.aliyun.com/)为例,打开网站,来到如下页面:
-![](_images/申请域名/1.png)
+![](../_images/申请域名/1.png)
搜索你想要的域名
-![](_images/申请域名/2.png)
+![](../_images/申请域名/2.png)
:::warning
@@ -26,9 +26,10 @@ sidebar_position: 6
:::
## 购买域名
+
登录后点击域名旁边的加入清单,然后点批量注册旁边的域名清单,更改域名购买时间后,最好底下什么套餐都不要选,直接点立即购买。
-![](_images/申请域名/3.png)
+![](../_images/申请域名/3.png)
跳转后这个页面立即购买是点不动的,滑动到下方,点击创建信息模板来实名验证。
@@ -59,6 +60,7 @@ SRV 记录,使用二级域名记录了端口的信息,使用 SRV 可以隐
:::
### A 记录
+
将域名指向一个 IPV4 地址。
人话就是把数字 IP 地址解析成英文字符的域名。
@@ -73,14 +75,14 @@ SRV 记录,使用二级域名记录了端口的信息,使用 SRV 可以隐
:::tip
-1. 如果只知道域名不知道 IP 就 Win + R 输入 cmd,随后输入ping + 域名。
+1. 如果只知道域名不知道 IP 就 Win + R 输入 cmd,随后输入 ping + 域名。
2. 主机记录可以改成如 `play` 等,玩家就可以通过 `play.xxx.top:22222`(但这是不是有点太长了,不推荐)。
:::
+### CNAME 记录
-### CNAME记录
将域名指向另一个域名。
假如服务商给的是解析好的域名不是 IP,那就需要用这个来指向你自己的域名。
@@ -91,7 +93,6 @@ SRV 记录,使用二级域名记录了端口的信息,使用 SRV 可以隐
记录值填服务商给的域名就行了。
-
### SRV 记录
点击添加记录,记录类型选择 SRV 。
diff --git a/docs/advance/database/backup.md b/docs/advance/database/backup.md
index c2e1f8259c..2f8c0b796c 100644
--- a/docs/advance/database/backup.md
+++ b/docs/advance/database/backup.md
@@ -1,6 +1,6 @@
---
title: 备份
-slug: /docs/database/backup
+slug: /database/backup
sidebar_position: 3
---
@@ -12,4 +12,4 @@ TODO
## 自动备份
-TODO
\ No newline at end of file
+TODO
diff --git a/docs/advance/database/configure.md b/docs/advance/database/configure.md
index 36ad777e8f..a41c350626 100644
--- a/docs/advance/database/configure.md
+++ b/docs/advance/database/configure.md
@@ -1,6 +1,6 @@
---
title: 配置
-slug: /docs/database/configure
+slug: /database/configure
sidebar_position: 2
---
@@ -19,6 +19,7 @@ sidebar_position: 2
```sql
CREATE DATABASE <数据库名称> CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
```
+
解释: `CHARACTER SET utf8mb4` 将数据库字符集设置为 utf8mb4, 能够存储包括表情符号在内的所有 Unicode 字符。 `utf8mb4_general_ci` 是一种不区分大小写(case-insensitive)的排序规则,如果你想区分大小写,可以改为 `utf8mb4_bin`,`_bin` 意为以二进制方式比较字符。
:::
@@ -34,7 +35,7 @@ CREATE DATABASE <数据库名称> CHARACTER SET utf8mb4 COLLATE utf8mb4_general_
![](_images/9.png)
-更改root账户的密码
+更改 root 账户的密码
:::danger
diff --git a/docs/advance/database/database.md b/docs/advance/database/database.md
index fdc19f07d3..597f78fef0 100644
--- a/docs/advance/database/database.md
+++ b/docs/advance/database/database.md
@@ -1,7 +1,7 @@
---
title: 数据库相关
-slug: /docs/database/database
-sidebar_position: 1
+slug: /database
+sidebar_position: 2
---
# 数据库相关
@@ -12,19 +12,19 @@ sidebar_position: 1
1. 数据库的备份维护等所占用的时间远比将整个服务器停止后打包压缩备份快得多;
-2. 同样的数据量, MySQL比yml/txt/sqlite等占用也小得多.特别是对于数据量大的插件(30Gb的dynmap文件使用MySQL后整个数据库将压缩到15Gb);
+2. 同样的数据量, MySQL 比 yml/txt/sqlite 等占用也小得多.特别是对于数据量大的插件(30Gb 的 dynmap 文件使用 MySQL 后整个数据库将压缩到 15Gb);
-3. 读取速度快, 某些插件使用yml储存数据时启动一个插件甚至需要10s+, 换用mysql后服务器启动速度快;
+3. 读取速度快, 某些插件使用 yml 储存数据时启动一个插件甚至需要 10s+, 换用 mysql 后服务器启动速度快;
4. Redis/MySQL 等数据库配合可轻松完成玩家数据同步等;
-5. 在数据量较大时候相较sqlite有更好的性能, 查询时需要的时间短, 特别是某些经济插件付款时避免顿卡.
+5. 在数据量较大时候相较 sqlite 有更好的性能, 查询时需要的时间短, 特别是某些经济插件付款时避免顿卡.
:::
# MySQL / MariaDB
-MariaDB是著名的MySQL分叉,只是服务器腐竹的话,你只需要知道这两个东西差不多就好了
+MariaDB 是著名的 MySQL 分叉,只是服务器腐竹的话,你只需要知道这两个东西差不多就好了
:::info
diff --git a/docs/advance/database/install.md b/docs/advance/database/install.md
index a74b53df0b..293ef68187 100644
--- a/docs/advance/database/install.md
+++ b/docs/advance/database/install.md
@@ -1,6 +1,6 @@
---
title: 安装
-slug: /docs/database/install
+slug: /database/install
sidebar_position: 1
---
@@ -30,7 +30,7 @@ sidebar_position: 1
卸载MySQL5和安装MySQL8
-MySQL5 版本太低了,很多插件需要更高版本的,装MySQL8就够用了
+MySQL5 版本太低了,很多插件需要更高版本的,装 MySQL8 就够用了
![](_images/7.png)
diff --git a/docs/advance/database/uninstall.md b/docs/advance/database/uninstall.md
index 588b6ac3f5..7347627ecf 100644
--- a/docs/advance/database/uninstall.md
+++ b/docs/advance/database/uninstall.md
@@ -1,6 +1,6 @@
---
title: 卸载
-slug: /docs/database/uninstall
+slug: /database/uninstall
sidebar_position: 4
---
diff --git a/docs-java/start/deploy/_images/mcsm.png b/docs/advance/deploy/_images/mcsm.png
similarity index 100%
rename from docs-java/start/deploy/_images/mcsm.png
rename to docs/advance/deploy/_images/mcsm.png
diff --git a/docs-java/start/deploy/_images/翼龙面板.png b/docs/advance/deploy/_images/翼龙面板.png
similarity index 100%
rename from docs-java/start/deploy/_images/翼龙面板.png
rename to docs/advance/deploy/_images/翼龙面板.png
diff --git a/docs-java/start/deploy/_images/购置服务器/cpu.jpg b/docs/advance/deploy/_images/购置服务器/cpu.jpg
similarity index 100%
rename from docs-java/start/deploy/_images/购置服务器/cpu.jpg
rename to docs/advance/deploy/_images/购置服务器/cpu.jpg
diff --git a/docs-java/start/deploy/_images/连接服务器/1.png b/docs/advance/deploy/_images/连接服务器/1.png
similarity index 100%
rename from docs-java/start/deploy/_images/连接服务器/1.png
rename to docs/advance/deploy/_images/连接服务器/1.png
diff --git a/docs-java/start/deploy/_images/连接服务器/2.png b/docs/advance/deploy/_images/连接服务器/2.png
similarity index 100%
rename from docs-java/start/deploy/_images/连接服务器/2.png
rename to docs/advance/deploy/_images/连接服务器/2.png
diff --git a/docs-java/start/deploy/_images/连接服务器/3.png b/docs/advance/deploy/_images/连接服务器/3.png
similarity index 100%
rename from docs-java/start/deploy/_images/连接服务器/3.png
rename to docs/advance/deploy/_images/连接服务器/3.png
diff --git a/docs-java/start/deploy/connect-to-the-cloud.md b/docs/advance/deploy/connect-to-the-cloud.md
similarity index 100%
rename from docs-java/start/deploy/connect-to-the-cloud.md
rename to docs/advance/deploy/connect-to-the-cloud.md
diff --git a/docs-java/start/deploy/overview.md b/docs/advance/deploy/deploy.md
similarity index 67%
rename from docs-java/start/deploy/overview.md
rename to docs/advance/deploy/deploy.md
index bcd7339aaa..42ad8bcbee 100644
--- a/docs-java/start/deploy/overview.md
+++ b/docs/advance/deploy/deploy.md
@@ -1,6 +1,7 @@
---
-title: 概览
-sidebar_position: 1
+title: 部署到生产环境
+slug: /deploy
+sidebar_position: 6
---
# 概览
@@ -9,7 +10,7 @@ sidebar_position: 1
> 正式对外提供服务的环境
>
-> >此处指可以让玩家加入到你的服务器的环境
+> > 此处指可以让玩家加入到你的服务器的环境
通过前面的学习,你现在已经进入了你本地的服务器,但是我该怎么让其他玩家加入进来呢?
@@ -21,6 +22,10 @@ sidebar_position: 1
# 有何建议?
-个人建议使用vps,你会在 [可选方式#vps](optional-mode.md#vps) 了解到相关内容
+个人建议使用 vps,你会在 [可选方式#vps](optional-mode.md#vps) 了解到相关内容
-如果是新手刚起步,那就不要买东西瞎费钱了,自己机器上做就可,可以通过 [内网穿透](intranet-penetration.md) 让其他玩家加入开在你电脑上的服务器
\ No newline at end of file
+如果是新手刚起步,那就不要买东西瞎费钱了,自己机器上做就可,可以通过 [内网穿透](intranet-penetration.md) 让其他玩家加入开在你电脑上的服务器
+
+import DocCardList from '@theme/DocCardList';
+
+
diff --git a/docs-java/start/deploy/intranet-penetration.md b/docs/advance/deploy/intranet-penetration.md
similarity index 100%
rename from docs-java/start/deploy/intranet-penetration.md
rename to docs/advance/deploy/intranet-penetration.md
diff --git a/docs-java/start/deploy/optional-mode.md b/docs/advance/deploy/optional-mode.md
similarity index 100%
rename from docs-java/start/deploy/optional-mode.md
rename to docs/advance/deploy/optional-mode.md
diff --git a/docs-java/start/deploy/purchase-server.md b/docs/advance/deploy/purchase-server.md
similarity index 100%
rename from docs-java/start/deploy/purchase-server.md
rename to docs/advance/deploy/purchase-server.md
diff --git a/docs/maintenance/how-to-defend-against-cyber-attacks.md b/docs/advance/maintenance/how-to-defend-against-cyber-attacks.md
similarity index 100%
rename from docs/maintenance/how-to-defend-against-cyber-attacks.md
rename to docs/advance/maintenance/how-to-defend-against-cyber-attacks.md
diff --git a/docs/maintenance/how-to-prevent-crash-server.md b/docs/advance/maintenance/how-to-prevent-crash-server.md
similarity index 100%
rename from docs/maintenance/how-to-prevent-crash-server.md
rename to docs/advance/maintenance/how-to-prevent-crash-server.md
diff --git a/docs/maintenance/how-to-troubleshoot-problematic-plugins.md b/docs/advance/maintenance/how-to-troubleshoot-problematic-plugins.md
similarity index 100%
rename from docs/maintenance/how-to-troubleshoot-problematic-plugins.md
rename to docs/advance/maintenance/how-to-troubleshoot-problematic-plugins.md
diff --git a/docs/maintenance/maintenance.md b/docs/advance/maintenance/maintenance.md
similarity index 100%
rename from docs/maintenance/maintenance.md
rename to docs/advance/maintenance/maintenance.md
diff --git a/docs/preparation/preparation.md b/docs/preparation/preparation.md
index 820b688506..753f00111c 100644
--- a/docs/preparation/preparation.md
+++ b/docs/preparation/preparation.md
@@ -1,7 +1,7 @@
---
title: 准备工作
slug: /preparation
-sidebar_position: 1
+sidebar_position: 3
---
# 准备工作