mirror of
https://github.com/postyizhan/NitWikit.git
synced 2024-11-21 03:13:36 +08:00
Merge branch 'main' of github.com:postyizhan/Dumb_Service_Guide
写了一点登录插件部分
This commit is contained in:
commit
ee775bb432
114
.github/workflows/build.yml
vendored
114
.github/workflows/build.yml
vendored
@ -1,114 +0,0 @@
|
||||
name: Workflow Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
# 自动部署GitPage
|
||||
gitpage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# 拉取代码
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
# 启用缓存加速部署
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
# 编译出静态页面
|
||||
- name: Install and Build
|
||||
run: npm install && npm run build
|
||||
# 塞进gh-pages分支(即部署到GitPage)
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@releases/v3
|
||||
with:
|
||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
BRANCH: gh-pages
|
||||
FOLDER: build
|
||||
|
||||
# # 自动生成PDF
|
||||
# pdf:
|
||||
# needs: [ gitpage ]
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# # 拉取代码
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@master
|
||||
# with:
|
||||
# persist-credentials: false
|
||||
# # 睡会儿, 等GitPage部署完成
|
||||
# - name: Sleep for 120 seconds
|
||||
# run: sleep 120s
|
||||
# shell: bash
|
||||
# # 生成PDF
|
||||
# - name: Build PDF
|
||||
# run: sudo docker run --rm -v ${{ github.workspace }}/pdf:/app/pdf iseason/docusaurus-to-pdf -u https://postyizhan.github.io/Dumb_Service_Guide/intro --output pdf/Folia-Tutorials.pdf
|
||||
# # 生成英文PDF
|
||||
# # - name: Build English PDF
|
||||
# # run: sudo docker run --rm -v ${{ github.workspace }}/pdf:/app/pdf iseason/docusaurus-to-pdf -u https://neige7.github.io/Banker-Wiki/en/intro --output pdf/Banker-Wiki-English.pdf
|
||||
# # 上传PDF
|
||||
# - name: Capture Build Artifacts
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: Artifacts
|
||||
# path: pdf/
|
||||
# if-no-files-found: error
|
||||
# # Release
|
||||
# release:
|
||||
# needs: [ pdf ]
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# # 拉取代码
|
||||
# - name: Checkout Repository
|
||||
# uses: actions/checkout@v2
|
||||
# # 下载本体
|
||||
# - name: Download Content
|
||||
# uses: actions/download-artifact@v2
|
||||
# with:
|
||||
# name: Artifacts
|
||||
# # 获取序号
|
||||
# - name: Get Project version
|
||||
# id: get_version
|
||||
# run: |
|
||||
# echo "Project version: $GITHUB_RUN_NUMBER"
|
||||
# echo "::set-output name=project_version::$GITHUB_RUN_NUMBER"
|
||||
# env:
|
||||
# project_version: ${{ steps.get_version.outputs.project_version }}
|
||||
# # 创建release
|
||||
# - name: Create Release
|
||||
# id: create-new-release
|
||||
# uses: actions/create-release@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# tag_name: ${{ steps.get_version.outputs.project_version }}
|
||||
# release_name: Auto Release ${{ steps.get_version.outputs.project_version }}
|
||||
# # 向release上传Banker-Wiki.pdf
|
||||
# - name: Upload PDF file to Release
|
||||
# uses: actions/upload-release-asset@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# upload_url: ${{ steps.create-new-release.outputs.upload_url }}
|
||||
# asset_path: Folia-Tutorials.pdf
|
||||
# asset_name: Folia-Tutorials.pdf
|
||||
# asset_content_type: application/zip
|
||||
|
||||
# 向release上传Banker-Wiki-English.pdf
|
||||
# - name: Upload PDF file to Release
|
||||
# uses: actions/upload-release-asset@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# upload_url: ${{ steps.create-new-release.outputs.upload_url }}
|
||||
# asset_path: Banker-Wiki-English.pdf
|
||||
# asset_name: Banker-Wiki-English.pdf
|
||||
# asset_content_type: application/zip
|
33
.github/workflows/wiki-deploy.yml
vendored
Normal file
33
.github/workflows/wiki-deploy.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
name: Wiki Deploy
|
||||
|
||||
# 触发条件
|
||||
on: [ workflow_dispatch, push, pull_request ]
|
||||
|
||||
# 设置权限
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
# 任务
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# 拉取代码
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
# 启用缓存加速部署
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
# 安装 Npm 并构建
|
||||
- name: Install and Build
|
||||
run: npm install && npm run build
|
||||
# 部署
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
folder: build
|
23
.gitignore
vendored
23
.gitignore
vendored
@ -1,20 +1,5 @@
|
||||
# Dependencies
|
||||
/node_modules
|
||||
|
||||
# Production
|
||||
/build
|
||||
|
||||
# Generated files
|
||||
build
|
||||
.vscode
|
||||
.docusaurus
|
||||
.cache-loader
|
||||
|
||||
# Misc
|
||||
.DS_Store
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
node_modules
|
||||
package-lock.json
|
21
LICENSE
21
LICENSE
@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 Neige
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -10,8 +10,9 @@ sidebar_position: 2
|
||||
|
||||
官方版本
|
||||
|
||||
<details> <summary>怎么找到官网并从官网下载</summary>
|
||||
|
||||
<details>
|
||||
<summary>么找到官网并从官网下载</summary>
|
||||
![](_images/Oracle-1.png)
|
||||
![](_images/Oracle-2.png)
|
||||
![](_images/Oracle-3.png)
|
||||
@ -26,15 +27,14 @@ sidebar_position: 2
|
||||
> 你可以在下方链接直接下载java8
|
||||
>
|
||||
> > https://www.java.com/zh-CN/download/
|
||||
|
||||
</details>
|
||||
|
||||
## Zulu 版
|
||||
|
||||
比较有名的分支版本,有更好的优化,推荐使用
|
||||
|
||||
<details> <summary>怎么找到官网并从官网下载</summary>
|
||||
|
||||
<details>
|
||||
<summary>怎么找到官网并从官网下载</summary>
|
||||
![](_images/Zulu-1.png)
|
||||
|
||||
> 往下翻,找到这个,选择你想要的版本
|
||||
@ -46,7 +46,6 @@ sidebar_position: 2
|
||||
![](_images/Zulu-3.png)
|
||||
|
||||
> 如果您不能安装此软件(如不兼容),请关闭此文档并`不向`文档编写者们提问,感谢
|
||||
|
||||
</details>
|
||||
|
||||
## Azul Platform Prime (性能最强JDK)
|
||||
|
@ -9,13 +9,15 @@ sidebar_position: 3
|
||||
> 此处仅为部分开服核心
|
||||
|
||||
## MOD服
|
||||
|
||||
性能较差,某些MOD就不是想给多人游戏设计的;拓展性强,内存需求较大,游戏性可以做的很丰富,但客户端需要安装相同的MOD。纯MOD服主流只有Forge和Fabric两种,高版本一般推荐使用fabric,因为fabric优化mod多效果比较好,但是最重要的还是:如果有什么mod只有fabric/forge版本而你又非玩不可,只能选择相应的核心。
|
||||
|
||||
<details> <summary>如何开好mod服</summary>
|
||||
<details>
|
||||
<summary>如何开好mod服</summary>
|
||||
|
||||
### 明确方向
|
||||
|
||||
在开启服务器的时候,你就应该确定是选用Forge还是Fabric,后期迁移会非常困难,并且会损失玩家。
|
||||
在开启服务器的时候,你就应该确定是选用Forge还是Fabric, 后期迁移会非常困难,并且会损失玩家。
|
||||
|
||||
### 确定服务器内容
|
||||
|
||||
@ -24,12 +26,11 @@ sidebar_position: 3
|
||||
### 注重性能
|
||||
|
||||
mod的性能比插件要差很多,一个tps19以下的服务器会直接劝退所有玩家(毕竟没人想吃个食物就花个十秒。),所以你必须确保在大部分时间你的tps达到20
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
## 插件服
|
||||
性能较好,是初学者最适合开的服务器,拓展性较强,配置性强,但坏处就是有的插件需自行配置后使用,客户端无需安装MOD。我个人推荐插件服使用Purpur,是截止到2024年的稳定性和优化最好的选择,Paper在高版本的优化与屎无异(不要相信那些说什么Purpur兼容性不好的人,他们的思想大概率停留在慈禧发明迷你世界那一年)
|
||||
|
||||
性能较好,是初学者最适合开的服务器,拓展性较强,配置性强,但坏处就是有的插件需自行配置后使用,客户端无需安装MOD。我个人推荐插件服使用Purpur, 是截止到2024年的稳定性和优化最好的选择, Paper在高版本的优化与屎无异(不要相信那些说什么Purpur兼容性不好的人, 他们的思想大概率停留在慈禧发明迷你世界那一年)
|
||||
|
||||
### 插件服核心推荐
|
||||
|
||||
@ -38,33 +39,32 @@ mod的性能比插件要差很多,一个tps19以下的服务器会直接劝退
|
||||
| [Purpur](https://purpurmc.org) | 高版本最推荐的插件端核心,拥有较好的性能和稳定性,是开服务器的不二之选 | 推荐 | [McRes](https://mcres.cn/downloads/purpur.html)
|
||||
| [Leaf](https://github.com/Winds-Studio/Leaf) | 基于Gale的优化和purpur的功能,开发者为[@Dreeam](https://github.com/Dreeam-qwq) 梦梦,拥有目前应该是最好的性能之一(不算叶子),支持中文名进服,拥有较好的稳定性(己知不兼容只有一个)| 非常推荐 | 暂无 |
|
||||
| [Leaves](https://leavesmc.org/) | Leaves就是生电版的paper,他完全支持paper能使用的全部插件,相比paper拥有更强的优化和生电向特性支持。leaves基本完全支持客户端生电mod,包括但不限于carpet, pca,投影,共享原理图,minihud,bbor,ommc,xaero小地图,jade,appleskin等| 非常推荐 | [McRes](https://mcres.cn/downloads/leaves.html) |
|
||||
| [PandaSpigot](https://github.com/hpfxd/PandaSpigot) | paper1.8.8的fork,此核心只有1.8版本,可用于开PVP服务器,含大量konckback配制选项 | 推荐 | [McRes](https://vip.123pan.cn/1821558579/Lingyi/core/pandaspigot-116-mcres.cn.jar) |
|
||||
| [PandaSpigot](https://github.com/hpfxd/PandaSpigot) | paper1.8.8的fork,此核心只有1.8版本,可用于开PVP服务器, 含大量konckback配制选项 | 推荐 | [McRes](https://vip.123pan.cn/1821558579/Lingyi/core/pandaspigot-116-mcres.cn.jar) |
|
||||
| [SportPaper](https://github.com/Electroid/SportPaper) | paper1.8.8的fork,此核心只有1.8版本,拥有较好的性能和很多生存配置选项,如果你不需要开PVP,你可以选择这个核心 | 推荐 | 无 |
|
||||
| [Dionysus](https://github.com/nopjmp/Dionysus) | 1.12.2 旨在提高无政府状态服务器服务器性能的fork | 推荐 | [McRes](https://vip.123pan.cn/1821558579/Lingyi/core/dionysus-paperclip.jar) |
|
||||
| [Paper](https://papermc.io/) | 此核心会导致较多特性无法使用,并且在高版本的优化跟坨屎似的,你前面几个核心你都用不了,否则别选这个东西 | 不怎么推荐 | [McRes](https://mcres.cn/downloads/paper.html) |
|
||||
|
||||
| [Paper](https://papermc.io/) | 此核心会导致较多特性无法使用, 并且在高版本的优化跟坨屎似的,你前面几个核心你都用不了,否则别选这个东西 | 不怎么推荐 | [McRes](https://mcres.cn/downloads/paper.html) |
|
||||
|
||||
## 混合端
|
||||
|
||||
部分性能不如MOD端,游戏性丰富,稳定性和报错非常玄学,建议开服到大神级别再接触这个领域。混合端常见的有Catserver;高版本推荐使用Mohist和Arclight,就目前来看,它们的本身稳定性良好,也比纯forge有所优化(但MOD/插件数量多了之后兼容性问题可能会莫名让人头疼)
|
||||
|
||||
### 混合端核心推荐
|
||||
|
||||
Forge混合端
|
||||
|
||||
| 名字 | 介绍 | 推荐与否 | 下载镜像 |
|
||||
| --- | ----------- | --- | --- |
|
||||
| [Crucible](https://github.com/CrucibleMC/Crucible) | 不推荐再开1.7.10,但神奇的是,这个分支还在维护 | 推荐1.7.10 | [McRes](https://www.123pan.com/s/HRhfjv-3ey8v.html) |
|
||||
| [CatServer](https://catmc.org/) | (推荐,但我真不喜欢核心内置广告)。既可以加入mods又可以加入插件缺点:部分插件不支持,部分mods不支持;mods和插件在一起运行难免出现一些七七八八的bug。 | 推荐1.12.2 | [McRes](https://mcres.cn/downloads/catserver.html) |
|
||||
| [Mohist](https://mohistmc.com/software/mohist) | 兼容paper的一些插件支持,兼容mod和插件;缺点:比较多插件不支持,部分mods不支持;mods和插件在一起运行难免出现一些七七八八的bug。 | 推荐高版本 | [McRes](https://mcres.cn/downloads/mohist.html) |
|
||||
| [Arclight-Forge](https://github.com/IzzelAliz/Arclight) | 没用过不知道| 推荐高版本| 无 |
|
||||
| [Magma](https://magmafoundation.org/) | 没用过不知道| - | [McRes](https://mcres.cn/downloads/magma.html) |
|
||||
| [Sponge](https://spongepowered.org/]Sponge) | 可加入sponge插件,支持mods,优化极强,而且服务器兼容性更高,对于线程优化能力更强,负载更好。缺点:即使你用了很多办法也很难让bukkit插件稳定运行;sponge插件特别少;启动速度特别慢。操作特别难,与前面的完全不相同。|不推荐新手使用| [McRes](https://mcres.cn/downloads/spongeforge.html) |
|
||||
|
||||
| 名字 | 介绍 | 推荐与否 | 下载镜像 |
|
||||
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | ---------------------------------------------------- |
|
||||
| [Crucible](https://github.com/CrucibleMC/Crucible) | 不推荐再开1.7.10, 但神奇的是,这个分支还在维护 | 推荐1.7.10 | [McRes](https://www.123pan.com/s/HRhfjv-3ey8v.html) |
|
||||
| [CatServer](https://catmc.org/) | (推荐,但我真不喜欢核心内置广告)。既可以加入mods又可以加入插件缺点:部分插件不支持,部分mods不支持;mods和插件在一起运行难免出现一些七七八八的bug。 | 推荐1.12.2 | [McRes](https://mcres.cn/downloads/catserver.html) |
|
||||
| [Mohist](https://mohistmc.com/software/mohist) | 兼容paper的一些插件支持,兼容mod和插件;缺点:比较多插件不支持,部分mods不支持;mods和插件在一起运行难免出现一些七七八八的bug。 | 推荐高版本 | [McRes](https://mcres.cn/downloads/mohist.html) |
|
||||
| [Arclight-Forge](https://github.com/IzzelAliz/Arclight) | 没用过不知道 | 推荐高版本 | 无 |
|
||||
| [Magma](https://magmafoundation.org/) | 没用过不知道 | - | [McRes](https://mcres.cn/downloads/magma.html) |
|
||||
| [Sponge](https://spongepowered.org/]Sponge) | 可加入sponge插件,支持mods,优化极强,而且服务器兼容性更高,对于线程优化能力更强,负载更好。缺点:即使你用了很多办法也很难让bukkit插件稳定运行;sponge插件特别少;启动速度特别慢。操作特别难,与前面的完全不相同。 | 不推荐新手使用 | [McRes](https://mcres.cn/downloads/spongeforge.html) |
|
||||
|
||||
Fabric 混合端
|
||||
|
||||
| 名字 | 介绍 | 推荐与否 | 下载镜像 |
|
||||
| --- | ----------- | --- | --- |
|
||||
| [Banner](https://new.mohistmc.com/software/banner) | 并不是一款端,而是一个mod需要安装在fabric,安装后重启即可加载插件,兼容性和性能都不咋地 | - | [McRes](https://mcres.cn/downloads/banner.html) |
|
||||
| [Arclight-Fabric](https://github.com/IzzelAliz/Arclight) | 没用过不知道| - | 无 |
|
||||
| [Cardboard](https://cardboardpowered.org/) | 没用过不知道| - | [McRes](https://mcres.cn/downloads/carboard.html) |
|
||||
| 名字 | 介绍 | 推荐与否 | 下载镜像 |
|
||||
| -------------------------------------------------------- | --------------------------------------------------------------------------------------- | -------- | ------------------------------------------------- |
|
||||
| [Banner](https://new.mohistmc.com/software/banner) | 并不是一款端,而是一个mod需要安装在fabric, 安装后重启即可加载插件, 兼容性和性能都不咋地 | - | [McRes](https://mcres.cn/downloads/banner.html) |
|
||||
| [Arclight-Fabric](https://github.com/IzzelAliz/Arclight) | 没用过不知道 | - | 无 |
|
||||
| [Cardboard](https://cardboardpowered.org/) | 没用过不知道 | - | [McRes](https://mcres.cn/downloads/carboard.html) |
|
||||
|
@ -20,7 +20,8 @@ sidebar_position: 3
|
||||
|
||||
希望能够帮到你
|
||||
|
||||
<details><summary>Matrix</summary>
|
||||
<details>
|
||||
<summary>Matrix</summary>
|
||||
|
||||
Matrix是由国人RE编写的一款反作弊插件,当年诞生是用于取代AAC这款反作弊插件,而如今经过不断改良也拥有了不错的检测性能和质量,足以对抗部分脑溢血参数
|
||||
|
||||
@ -44,7 +45,8 @@ Matrix是由国人RE编写的一款反作弊插件,当年诞生是用于取代
|
||||
|
||||
</details>
|
||||
|
||||
<details><summary>NoCheatPlus-Update</summary>
|
||||
<details>
|
||||
<summary>NoCheatPlus-Update</summary>
|
||||
|
||||
非常经典的老牌反作弊,拥有悠久历史且和作弊者们对抗许久,但目前并不积极的进行更新,且由于远古代码遗留导致部分检测较为低下,但这并不影响它是个不错的反作弊
|
||||
|
||||
@ -54,7 +56,8 @@ Matrix是由国人RE编写的一款反作弊插件,当年诞生是用于取代
|
||||
|
||||
</details>
|
||||
|
||||
<details><summary>GrimAC2.0</summary>
|
||||
<details>
|
||||
<summary>GrimAC2.0</summary>
|
||||
|
||||
近两年的新秀反作弊,拥有强大的玩家1:1运动模拟、世界复制和延迟补偿,无论是在小游戏还是生存等服务器都有不错的检测速度,缺点也明显,在某些服务器的某种行为上产生误判,但这对于其他部分的新反作弊来说已经相当不错
|
||||
|
||||
@ -67,7 +70,8 @@ Matrix是由国人RE编写的一款反作弊插件,当年诞生是用于取代
|
||||
|
||||
</details>
|
||||
|
||||
<details><summary>Vulcan</summary>
|
||||
<details>
|
||||
<summary>Vulcan</summary>
|
||||
|
||||
老牌火神反作弊,虽然在几个版本存在十分严重的漏洞,但并不影响他一些检测强力的事实,尽管他的配置文件非常脑淤血,但还是深受多人喜爱。
|
||||
|
||||
@ -77,7 +81,8 @@ Matrix是由国人RE编写的一款反作弊插件,当年诞生是用于取代
|
||||
|
||||
</details>
|
||||
|
||||
<details><summary>不推荐-Spartan</summary>
|
||||
<details>
|
||||
<summary>不推荐-Spartan</summary>
|
||||
|
||||
老牌垃圾性能过剩修复器,使用它你将获得玩家被误判时发送给你的羞辱,以及什么都无法拦截的作弊检测,使用它你将会知道这款反作弊不如几乎同时期的NoCheatPlus,就算你需要退款,先请在spigotmc上撤回你的负面言论后才可进行Spartan的退款服务,由于购买后6个月需要重新支付才能继续使用导致被MD_5警告的传奇反作弊,这就是Spartan-Anticheat。
|
||||
|
||||
|
@ -18,7 +18,8 @@ sidebar_position: 2
|
||||
|
||||
❓如何阻止矿物透视
|
||||
|
||||
<details><summary>第一步-延长种子反推</summary>
|
||||
<details>
|
||||
<summary>第一步-延长种子反推</summary>
|
||||
|
||||
使用paper的anti-xray
|
||||
|
||||
@ -81,7 +82,8 @@ feature-seeds:
|
||||
|
||||
</details>
|
||||
|
||||
<details><summary>第二步-设置假矿</summary>
|
||||
<details>
|
||||
<summary>第二步-设置假矿</summary>
|
||||
|
||||
解决完种子可以被轻而易举反推的问题
|
||||
|
||||
|
@ -19,7 +19,8 @@ Essentials插件分为两个版本:
|
||||
- essentials 适合mc 1.7.10 [下载](https://mineplugin.org/Essentials/Downloads)
|
||||
- essentialsX 适合mc 1.8+ [下载](https://essentialsx.net/downloads.html)
|
||||
|
||||
<details> <summary>怎么找到官网并从官网下载essx</summary>
|
||||
<details>
|
||||
<summary>怎么找到官网并从官网下载essx</summary>
|
||||
|
||||
![](_images/1.png)
|
||||
![](_images/2.png)
|
||||
|
@ -6,7 +6,8 @@ sidebar_position: 1
|
||||
|
||||
你已经做好了准备工作,开始启动你的服务器了
|
||||
|
||||
<details> <summary>不会讲,这一段以后再说,你接着往下看</summary>
|
||||
<details>
|
||||
<summary>不会讲,这一段以后再说,你接着往下看</summary>
|
||||
|
||||
## 终端路径
|
||||
|
||||
|
@ -1,11 +1,21 @@
|
||||
// @ts-check
|
||||
// Note: type annotations allow type checking and IDEs autocompletion
|
||||
// `@type` JSDoc annotations allow editor autocompletion and type checking
|
||||
// (when paired with `@ts-check`).
|
||||
// There are various equivalent ways to declare your Docusaurus config.
|
||||
// See: https://docusaurus.io/docs/api/docusaurus-config
|
||||
|
||||
const lightCodeTheme = require('prism-react-renderer/themes/github');
|
||||
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
||||
import { themes as prismThemes } from "prism-react-renderer";
|
||||
|
||||
/** @type {import('@docusaurus/types').Config} */
|
||||
const config = {
|
||||
|
||||
customFields: {
|
||||
// 标题前缀
|
||||
titlePrefix: "主页",
|
||||
// 开始按钮文字
|
||||
start: "快速开始 🥵",
|
||||
},
|
||||
|
||||
title: '笨蛋MC开服教程',
|
||||
tagline: '一群笨蛋们写的Minecraft开服教程',
|
||||
favicon: 'img/favicon.ico',
|
||||
@ -19,11 +29,9 @@ const config = {
|
||||
// GitHub pages deployment config.
|
||||
// If you aren't using GitHub pages, you don't need these.
|
||||
organizationName: 'postyizhan', // Usually your GitHub org/user name.
|
||||
projectName: 'Dumb_Service_Guide', // Usually your repo name.
|
||||
deploymentBranch: 'gh-pages',
|
||||
trailingSlash: false,
|
||||
projectName: '傻瓜指南', // Usually your repo name.
|
||||
|
||||
onBrokenLinks: 'throw',
|
||||
onBrokenLinks: 'warn',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
|
||||
// Even if you don't use internalization, you can use this field to set useful
|
||||
@ -42,8 +50,7 @@ const config = {
|
||||
docs: {
|
||||
sidebarPath: require.resolve('./sidebars.js'),
|
||||
routeBasePath: '/',
|
||||
editUrl:
|
||||
'https://github.com/postyizhan/Dumb_Service_Guide/blob/main'
|
||||
editUrl: 'https://github.com/postyizhan/Dumb_Service_Guide/'
|
||||
},
|
||||
blog: false,
|
||||
theme: {
|
||||
@ -77,10 +84,11 @@ const config = {
|
||||
type: 'search',
|
||||
position: 'right',
|
||||
},
|
||||
// Github
|
||||
{
|
||||
href: 'https://github.com/postyizhan/Dumb_Service_Guide',
|
||||
label: 'GitHub',
|
||||
position: 'right',
|
||||
href: "https://github.com/postyizhan/Dumb_Service_Guide",
|
||||
className: "header-github-link",
|
||||
position: "right",
|
||||
},
|
||||
{
|
||||
type: 'localeDropdown',
|
||||
@ -121,12 +129,12 @@ const config = {
|
||||
},
|
||||
],
|
||||
// 底部版权信息
|
||||
copyright: `Copyright © ${new Date().getFullYear()} Neige, All Rights Reserved.`,
|
||||
copyright: `Copyright © ${new Date().getFullYear()} <b>postyizhan</b>, All Rights Reserved.`,
|
||||
},
|
||||
// 深浅主题
|
||||
prism: {
|
||||
theme: lightCodeTheme,
|
||||
darkTheme: darkCodeTheme,
|
||||
theme: prismThemes.github,
|
||||
darkTheme: prismThemes.dracula,
|
||||
},
|
||||
// 颜色随系统切换
|
||||
colorMode: {
|
||||
@ -134,19 +142,19 @@ const config = {
|
||||
},
|
||||
}),
|
||||
|
||||
themes: [
|
||||
[
|
||||
require.resolve("@easyops-cn/docusaurus-search-local"),
|
||||
{
|
||||
hashed: true,
|
||||
language: ["en", "zh"],
|
||||
highlightSearchTermsOnTargetPage: true,
|
||||
explicitSearchResultPath: true,
|
||||
indexBlog: false,
|
||||
docsRouteBasePath: "/"
|
||||
},
|
||||
],
|
||||
themes: [
|
||||
[
|
||||
require.resolve("@easyops-cn/docusaurus-search-local"),
|
||||
{
|
||||
hashed: true,
|
||||
language: ["en", "zh"],
|
||||
highlightSearchTermsOnTargetPage: true,
|
||||
explicitSearchResultPath: true,
|
||||
indexBlog: false,
|
||||
docsRouteBasePath: "/"
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
export default config;
|
8935
package-lock.json
generated
8935
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
31
package.json
31
package.json
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "wiki-template",
|
||||
"name": "Wiki",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
@ -14,17 +14,18 @@
|
||||
"write-heading-ids": "docusaurus write-heading-ids"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.4.1",
|
||||
"@docusaurus/preset-classic": "2.4.1",
|
||||
"@easyops-cn/docusaurus-search-local": "^0.35.0",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"clsx": "^1.2.1",
|
||||
"prism-react-renderer": "^1.3.5",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2"
|
||||
"@docusaurus/core": "3.2.0",
|
||||
"@docusaurus/preset-classic": "3.2.0",
|
||||
"@easyops-cn/docusaurus-search-local": "^0.40.1",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
"prism-react-renderer": "^2.3.0",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "2.4.1"
|
||||
"@docusaurus/module-type-aliases": "3.2.0",
|
||||
"@docusaurus/types": "3.2.0"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
@ -33,12 +34,12 @@
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
"last 3 chrome version",
|
||||
"last 3 firefox version",
|
||||
"last 5 safari version"
|
||||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.14"
|
||||
"node": ">=18.0"
|
||||
}
|
||||
}
|
||||
}
|
@ -28,3 +28,17 @@
|
||||
--ifm-color-primary-lightest: #4fddbf;
|
||||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.header-github-link::before {
|
||||
content: "";
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: flex;
|
||||
background-color: var(--ifm-navbar-link-color);
|
||||
mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E");
|
||||
transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
|
||||
}
|
||||
|
||||
.header-github-link:hover::before {
|
||||
background-color: var(--ifm-navbar-link-hover-color);
|
||||
}
|
||||
|
@ -1,41 +1,34 @@
|
||||
import React from 'react';
|
||||
import clsx from 'clsx';
|
||||
import Link from '@docusaurus/Link';
|
||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import Layout from '@theme/Layout';
|
||||
import HomepageFeatures from '@site/src/components/HomepageFeatures';
|
||||
import clsx from "clsx";
|
||||
import Link from "@docusaurus/Link";
|
||||
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
|
||||
import Layout from "@theme/Layout";
|
||||
import HomepageFeatures from "@site/src/components/HomepageFeatures";
|
||||
|
||||
import styles from './index.module.css';
|
||||
import Heading from "@theme/Heading";
|
||||
import styles from "./index.module.css";
|
||||
|
||||
function HomepageHeader() {
|
||||
const {siteConfig} = useDocusaurusContext();
|
||||
return (
|
||||
<header className={clsx('hero hero--primary', styles.heroBanner)}>
|
||||
<div className="container">
|
||||
<h1 className="hero__title">{siteConfig.title}</h1>
|
||||
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
||||
<div className={styles.buttons}>
|
||||
<Link
|
||||
className="button button--secondary button--lg"
|
||||
to="/intro">
|
||||
点击查看文档
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
const {siteConfig} = useDocusaurusContext();
|
||||
return (
|
||||
<header className={clsx("hero hero--primary", styles.heroBanner)}>
|
||||
<div className="container">
|
||||
<Heading as="h1" className="hero__title">{siteConfig.title}</Heading>
|
||||
<p className="hero__subtitle">{siteConfig.tagline}</p>
|
||||
<div className={styles.buttons}>
|
||||
<Link className="button button--secondary button--lg"
|
||||
to="/docs/about">{siteConfig.customFields.start}</Link>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
}
|
||||
|
||||
export default function Home() {
|
||||
const {siteConfig} = useDocusaurusContext();
|
||||
return (
|
||||
<Layout
|
||||
title={`Hello from ${siteConfig.title}`}
|
||||
description="Description will go into a meta tag in <head />">
|
||||
<HomepageHeader />
|
||||
<main>
|
||||
<HomepageFeatures />
|
||||
</main>
|
||||
</Layout>
|
||||
);
|
||||
const {siteConfig} = useDocusaurusContext();
|
||||
return (
|
||||
<Layout title={siteConfig.customFields.titlePrefix} description={siteConfig.tagline}>
|
||||
<HomepageHeader/>
|
||||
<main><HomepageFeatures/></main>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
---
|
||||
title: Markdown page example
|
||||
---
|
||||
|
||||
# Markdown page example
|
||||
|
||||
You don't need React to write simple standalone pages.
|
Loading…
Reference in New Issue
Block a user