From b02b7b2ad9dc6d17f8c19a7f7f7bccbcb4ae2ffc Mon Sep 17 00:00:00 2001 From: 2623684696 Date: Fri, 16 Feb 2024 15:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=86=85=E5=AD=98=E6=B3=84?= =?UTF-8?q?=E6=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/common.md | 17 +++++++++++++++++ docs/shared.md | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 docs/common.md create mode 100644 docs/shared.md diff --git a/docs/common.md b/docs/common.md new file mode 100644 index 00000000..98deb018 --- /dev/null +++ b/docs/common.md @@ -0,0 +1,17 @@ +# 双端通用问题 + +## 内存溢出 + +解释:JVM 内存溢出,导致游戏崩溃。 + +解决方案:更新显卡驱动,64位用户,请确保使用64位Java,32位系统用户请调低你的mc使用内存 + +显卡驱动下载:[Intel](https://www.intel.cn/content/www/cn/zh/search.html#sort=relevancy&f:@tabfilter=[Downloads]&f:@stm_10385_zh=[%E6%98%BE%E5%8D%A1]) | [AMD](https://www.amd.com/zh-hans/support) | [Nvidia](https://www.nvidia.cn/geforce/drivers/) + +64位java下载[Java 8](https://cdn.crashmc.com/https://github.com/bell-sw/Liberica/releases/download/8u312%2B7/bellsoft-jre8u312+7-windows-amd64-full.msi) | [JDK 17+](https://cdn.crashmc.com/https://github.com/bell-sw/Liberica/releases/download/17.0.1%2B12/bellsoft-jdk17.0.1+12-windows-amd64.msi) + +关键词: + +``` +EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb5c7288a1, pid=25504, tid=25880 +``` \ No newline at end of file diff --git a/docs/shared.md b/docs/shared.md new file mode 100644 index 00000000..58da42cf --- /dev/null +++ b/docs/shared.md @@ -0,0 +1,36 @@ +# 通用问题 + +## 未同意 EULA + +解释:没有同意[《最终用户许可协议》(EULA)](https://www.minecraft.net/zh-hans/eula)。 + +解决方案:将服务端所在目录下的 `eula.txt` 中的 `eula=false` 更改为 `eula=true`,然后重启服务器。 + +关键词: + +``` +You need to agree to the EULA in order to run the server. Go to eula.txt for more info. +``` + +## 端口被占用 + +解释:欲用作启动服务器的端口被其它进程占用。 + +解决方案:打开服务端所在目录下的 `server.properties`,修改 `server-port` 的值。注意这个值要介于 `1024` 与 `65536` 之间。 + +关键词: + +``` +Perhaps a server is already running on that port? +``` + +## 1 tick 执行时间过长 + +解释:服务器 1 tick 执行时间过长导致崩溃 + +解决方案:调整 server.properties 文件,将 max-tick-time 值调高或设为 -1 +关键词: + +``` +java.lang.Error: Watchdog +``` \ No newline at end of file