Skip to content

Commit

Permalink
Merge branch 'BetterMinecraftHelpDocs:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
LIPiston authored Aug 30, 2024
2 parents 2e16f8a + 3606867 commit b3a088a
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/.vuepress/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { navbar } from "vuepress-theme-hope";
export default navbar([
"/",
"/get-start/",
"/playing/"
// {
// text: "指南",
// icon: "lightbulb",
Expand Down
3 changes: 2 additions & 1 deletion src/.vuepress/sidebar.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { sidebar } from "vuepress-theme-hope";

export default sidebar({
"/get-start": "structure"
"/get-start": "structure",
"/playing": "structure"
});
1 change: 1 addition & 0 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default hopeTheme({
mark: true,
plantuml: true,
spoiler: true,
alert: true,
stylize: [
{
matcher: "Recommended",
Expand Down
21 changes: 21 additions & 0 deletions src/playing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: 游玩文档
# 这是页面的图标
icon: file
author: Natsumi
date: 2024-08-30
# 一个页面可以有多个分类
category:
- 游玩文档
# 一个页面可以有多个标签
order: 0
tag:
- 游戏中
# 此页面会在文章列表置顶
sticky: true
# 此页面会出现在星标文章中
star: true
copyright: Copyright © 2024 BetterMinecraftHelpDocs Project
---

本处将会提供有关于游玩中的问题的文档
1 change: 0 additions & 1 deletion src/playing/index.md

This file was deleted.

26 changes: 26 additions & 0 deletions src/playing/online/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---

title: 0.0.1 前言
dir:
order: 1
text: 联机相关教程
order: 0
# 这是页面的图标
icon: file
author: Natsumi
date: 2024-08-30
# 一个页面可以有多个分类
category:
- 游玩文档
# 一个页面可以有多个标签
tag:
- 游戏中
- 联机
# 此页面会在文章列表置顶
sticky: true
# 此页面会出现在星标文章中
star: true
copyright: Copyright © 2024 BetterMinecraftHelpDocs Project
---
在“联机相关教程”中您可以找到有关联机的方法以及方式。
在左侧侧边栏选择章节以阅读
Empty file removed src/playing/online/index.md
Empty file.
56 changes: 56 additions & 0 deletions src/playing/online/public_ipv4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---

title: 1.0.1 使用IPV4 公网进行联机
order: 1
# 这是页面的图标
icon: file
author: Natsumi
date: 2024-08-30
# 一个页面可以有多个分类
category:
- 游玩文档
# 一个页面可以有多个标签
tag:
- 游戏中
- 联机
# 此页面会在文章列表置顶
sticky: true
# 此页面会出现在星标文章中
star: true
copyright: Copyright © 2024 BetterMinecraftHelpDocs Project
---
> [!warning]
> 本文所需要公网IPV4地址 以及 一定的电脑常识
1. 启动Minecraft

2. 进入一个世界

3. 创建局域网世界并输入端口(要求是你所记得的),并检查您的电脑是否已经放行。若不会,可以查看 [这篇教程](https://blog.csdn.net/zhangxiaoquan2016/article/details/140494911)

若您的路由器需要转发端口到公网,您需要应用如下规则
```
协议:TCP
本地IP(IP):使用ipconfig查看本机的IP(以192.168.x.x开头的IP)
本地端口:如上你在我的世界中设置的端口
远程端口:随意设置(范围在0到65535之内)
```

此时你的端口号应当为 远程端口号

本文以 11451 为例
> [!caution]
> 注意:在公网上关闭防火墙很危险,本文极其不推荐这样做
4. 打开 [这里](https://myip.ipip.net/) 查看自己的IP地址

例如 若打开这个网站显示为
```
当前 IP:114.514.191.1 来自于:中国 xx xx xx
```
则您的IP为
```
114.514.191.1
```

5.`IP:端口号` 发给朋友,朋友也把 `IP:端口号` 输入到 `多人游戏-->添加服务器-->服务器地址` 中后点击完成,然后选中服务器加入即可

0 comments on commit b3a088a

Please sign in to comment.