Skip to content

Commit ec24a0e

Browse files
authored
Merge branch 'MSLTeam:master' into master
2 parents 285c449 + af1b787 commit ec24a0e

10 files changed

Lines changed: 2923 additions & 1728 deletions

docs/.vuepress/collections.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const blog = defineCollection({
4444
// pagination: 15, // 每页显示文章数量
4545
})
4646

47-
const demoDoc = defineCollection({
47+
const doc = defineCollection({
4848
// doc 类型,该类型带有侧边栏
4949
type: 'doc',
5050
// 文档集合所在目录,相对于 `docs`
@@ -59,7 +59,7 @@ const demoDoc = defineCollection({
5959
sidebar: [
6060
{ text: '快速开始', prefix: 'mc-server', collapsed: false,icon:'star', items: ['start', 'launch-bds', 'choose-server-tips','package'] },
6161
{ text: '服务器设置', prefix: 'config', collapsed: false,icon:'gear', items: ['server-config', 'msl'] },
62-
{ text: '映射/联机', prefix: 'proxy', collapsed: false,icon:'rocket', items: ['frp', 'p2p','frp-real-ip'] },
62+
{ text: '映射/联机', prefix: 'proxy', collapsed: false,icon:'rocket', items: ['frp', 'p2p','frp-real-ip','server-no-port'] },
6363
{ text: '高级配置', prefix: 'advanced', collapsed: false,icon:'gears', items: ['neoforge-forge', 'yggdrasil', 'use-linux'] },
6464
{ text: 'MSL资源', prefix: 'msl', collapsed: false,icon:'bookmark', items: ['msl-skin', 'oauth2', 'msl-mirrors'] },
6565
{ text: '错误排查', prefix: 'faq', collapsed: false,icon:'bug-slash', items: ['', 'server-crash'] },
@@ -72,7 +72,7 @@ const demoDoc = defineCollection({
7272
* (blog 为博客示例,如果不需要博客功能,请删除)
7373
* (demoDoc 为参考示例,如果不需要它,请删除)
7474
*/
75-
export default defineCollection([
75+
export default defineCollections([
7676
blog,
77-
demoDoc,
77+
doc,
7878
])

docs/docs/faq/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ MSL是一款 ==开源软件== ,代码 ==100%公开==,请您放心使用。
169169

170170
<LinkCard title="万用皮肤补丁" href="https://www.mcmod.cn/class/883.html" icon="shirt" description="使用万用皮肤补丁模组恢复皮肤显示。<br>此模组仅允许客户端安装,且仅对装了本模组的玩家互相可见。" />
171171

172+
<LinkCard title="SkinRestorer插件" href="https://modrinth.com/plugin/skinsrestorer" icon="shirt" description="使用SkinsRestorer,可以为离线模式的服务器和网络恢复皮肤,玩家只需输入一个命令或者使用正版账号进入服务器即可更改皮肤。" />
173+
172174
## 单人存档(地图)如何迁移到服务器
173175

174176
::: tip 提醒
2.78 MB
Loading
103 KB
Loading
19.8 KB
Loading
31.1 KB
Loading

docs/docs/proxy/server-no-port.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: Frp映射地址隐藏端口
3+
createTime: 2026/01/29 16:28:56
4+
permalink: /docs/proxy/server-no-port/
5+
icon: rocket
6+
---
7+
8+
::: tip 带端口的域名很难看(如 xxx.xx:12345)?本篇教程可以教您使用域名SRV解析隐藏端口!(仅限Java版)
9+
10+
:::
11+
12+
::: warning 经过测试,不一定所有的DNS服务都支持解析SRV记录,部分运营商的DNS服务可能会无法解析,切换到阿里云等其他常见的公共DNS可以解决。
13+
14+
:::
15+
16+
## 使用 MSLFrp 自带的子域名服务
17+
18+
::: tip 如果您正在使用 ==MSLFrp== 并且没有您自己的域名,可以使用 MSLFrp 自带的子域服务。
19+
20+
:::
21+
22+
创建并启动您的隧道,映射Minecraft 服务。
23+
24+
![image-20260129163733123](./assets/image-20260129163733123.png)
25+
26+
映射成功后,前往MSL用户中心的子域服务页面。点击添加解析记录。
27+
28+
[MSLFrp-子域服务 | MSL用户中心](https://user.mslmc.net/frp/dns){.readmore}
29+
30+
选择一个你心仪的域名后缀,然后填写子域名前缀和选择你刚才创建(启动)的那条Frp隧道,点击创建即可自动解析成功。
31+
32+
::: info 子域名前缀什么意思?
33+
34+
比如,你选择的公共域名后缀为`ovvo.space`。你想使用`qwq.ovvo.space`作为你的MC服务器连接地址。
35+
36+
那么就在子域名称处填写`qwq`即可。
37+
38+
:::
39+
40+
![image-20260129164037275](./assets/image-20260129164037275.png)
41+
42+
创建成功后,会显示您的连接地址,使用此地址即可进入您的服务器。
43+
44+
![image-20260129164353816](./assets/image-20260129164353816.png)
45+
46+
## 使用自定义域名实现
47+
48+
::: important 这需要您自己有一个域名!如果只是用于MC隐藏端口,没有强制备案要求。
49+
50+
:::
51+
52+
进入您的域名服务商解析控制台,添加解析记录。(这里以阿里云为例)。
53+
54+
域名记录选择 `SRV`,主机记录填写 `_minecraft._tcp.自定义子域名前缀`
55+
56+
记录值:优先级和权重都写 `5` 即可(如果你有多个地址那就自己考虑了,一般统一写5即可)。
57+
58+
端口填写 ==您Frp服务商隧道的端口/服务器的端口==,目标地址填写 ==您Frp服务商隧道的连接地址/服务器IP地址== (允许填写IP地址/域名)。
59+
60+
![image-20260129164941540](./assets/image-20260129164941540.png)
61+
62+
创建成功后即可使用此地址连接。
63+
64+
假如您的域名是xxx.cn,填写的连接地址是`_minecraft._tcp.qwq`,那么连接地址就是`qwq.xxx.cn`

docs/friends.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ list:
2727
desc: 很久以前的MSL网站~
2828
-
2929
name: XMCL
30-
link: https:// www.mcxmcl.cn
30+
link: https://www.mcxmcl.cn
3131
avatar: https://q.qlogo.cn/headimg_dl?dst_uin=3242247564&spec=640&img_type=jpg
3232
desc: 用公益照亮每个我的世界服务器。
3333
---

0 commit comments

Comments
 (0)