feat: add stargete

This commit is contained in:
thehrz 2024-11-30 19:42:47 +08:00
parent 2ffdc47509
commit 1b8ab6028d
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855
8 changed files with 83 additions and 25 deletions

View File

@ -1,10 +1,17 @@
import { defineConfig } from "vitepress" import { defineConfig } from "vitepress"
import taskLists from "markdown-it-task-lists";
export default defineConfig({ export default defineConfig({
title: "H8 Network", title: "H8 Network",
description: "河坝Minecraft服务器-文档", description: "河坝Minecraft服务器-文档",
lastUpdated: true,
cleanUrls: true,
metaChunk: true,
themeConfig: { themeConfig: {
nav: [{ text: "主页", link: "/" }, { text: "皮肤站", link: "https://auth.hfbz.net" }], nav: [
{ text: "主页", link: "/" },
{ text: "皮肤站", link: "https://auth.hfbz.net" },
],
sidebar: [ sidebar: [
{ {
@ -18,14 +25,33 @@ export default defineConfig({
text: "服务器", text: "服务器",
items: [{ text: "主服务器", link: "/server/main" }], items: [{ text: "主服务器", link: "/server/main" }],
}, },
{
text: "更新",
items: [
{ {
text: "更新日志", text: "更新日志",
link: "/update", link: "/update",
}, },
{
text: "更新计划",
link: "/plan",
},
], ],
},
],
// socialLinks: [ // socialLinks: [
// { icon: "github", link: "https://github.com/vuejs/vitepress" }, // { icon: "github", link: "https://github.com/vuejs/vitepress" },
// ], // ],
}, },
markdown: {
config: (md) => {
md.use(taskLists)
},
theme: {
light: "github-light",
dark: "github-dark",
},
},
}) })

12
mechanism/stargete.md Normal file
View File

@ -0,0 +1,12 @@
# 星门 (Stargete)
星门插件是一个经典的传送插件,它允许在远距离之间甚至跨服务器之间进行即时传送。 它是有史以来最可定制的交通插件之一,并且在设计时考虑了最终用户的创作! ——原作者
## 设置星门
基础星门星门使用铁块、告示牌、按钮来组成,其中按钮会在告示牌设置星门数据完毕后自动生成。 设置星门需要1000硬币使用一次需要10硬币。
星门创建者还可以从使用者手里获得使用费,具体请看星门参数条目。
星门设置如下图所示:
![星门设置](/images/stargete.png)

View File

@ -6,5 +6,8 @@
"docs:dev": "vitepress dev", "docs:dev": "vitepress dev",
"docs:build": "vitepress build", "docs:build": "vitepress build",
"docs:preview": "vitepress preview" "docs:preview": "vitepress preview"
},
"dependencies": {
"markdown-it-task-lists": "^2.1.1"
} }
} }

24
plan.md Normal file
View File

@ -0,0 +1,24 @@
# 更新计划
## 2024年12月 内测服务器更新计划
### 文档
- [ ] 登录文档
- [ ] 经济
- [ ] 星门
- [ ] 技能 AuraSkills
- [ ] 更多附魔 EcoEenchants
- [ ] 飞行方块
- [ ] 抽奖
- [ ] 更多姿势
- [ ] 电梯
- [ ] 其他:CoreProtect、Lockette
### 服务器
- [ ] 服务器名、Motd、地图种子等问题的决定
### 社区建设
- [ ] 社区守则

View File

@ -4,6 +4,11 @@ settings:
autoInstallPeers: true autoInstallPeers: true
excludeLinksFromLockfile: false excludeLinksFromLockfile: false
dependencies:
markdown-it-task-lists:
specifier: ^2.1.1
version: 2.1.1
devDependencies: devDependencies:
vitepress: vitepress:
specifier: ^1.5.0 specifier: ^1.5.0
@ -1039,6 +1044,10 @@ packages:
resolution: {integrity: sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==} resolution: {integrity: sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==}
dev: true dev: true
/markdown-it-task-lists@2.1.1:
resolution: {integrity: sha512-TxFAc76Jnhb2OUu+n3yz9RMu4CwGfaT788br6HhEDlvWfdeJcLUsxk1Hgw2yJio0OXsxv7pyIPmvECY7bMbluA==}
dev: false
/mdast-util-to-hast@13.2.0: /mdast-util-to-hast@13.2.0:
resolution: {integrity: sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==} resolution: {integrity: sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==}
dependencies: dependencies:

BIN
public/images/stargete.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -1 +1,3 @@
# 主服务器 # 主服务器
## 交通

View File

@ -1,25 +1,7 @@
# 更新日志与计划 # 更新日志
## 2024年12月 内测服务器更新计划 ## 2024
### 文档 ### 2024.11.30
- 登录文档 - 发布 整合包 `1.0.0`
- 玩法文档
- 经济
- 星门
- 技能 AuraSkills
- 更多附魔 EcoEenchants
- 飞行方块
- 抽奖
- 更多姿势
- 电梯
- 其他:CoreProtect、Lockette
### 服务器
- 服务器名、Motd、地图种子等问题的决定
### 社区建设
- 社区守则