Skip to content

Commit

Permalink
🐞 fix(docs): fix plugins.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bingling-sama committed Feb 16, 2024
1 parent 6b657f5 commit bf7ef83
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 24 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ dist
.yarn/install-state.gz
.pnp.*

# vscode
.vscode

#vitepress
cache
.pnp.cjs
Expand Down
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"davidanson.vscode-markdownlint"
]
}
25 changes: 4 additions & 21 deletions docs/server/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
本页文档仍在编写,如果你感兴趣的话,可以帮助我们完善它!
:::

## Spigot 系服务端
## Bukkit 系服务端

### 通用问题

Expand All @@ -16,7 +16,7 @@

关键词

```
```log
ServerMain ERROR Cannot access RandomAccessFile java.io. FileNotFoundException: logs/latest.log (Permission denied) java.io.FileNotFoundException: logs/latest.log (Permission denied)
at java.base/java.io.RandomAccessFile.open0(Native Method)
at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344)
Expand All @@ -25,26 +25,9 @@ ServerMain ERROR Cannot access RandomAccessFile java.io. FileNotFoundException:
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:127)
// 该处虽然只是表示了无权限写入 latest.log ,但一般情况下这意味着服务端没有所在文件夹的写入权限,除非您单独为 latest.log 设置了操作权限
```
### Spigot 及其衍生服务器端

=======

解释:Minecraft 服务端无权限写入文件夹

解决方法:尝试在 root 账户下运行,或改用通过 Docker 容器运行 Minecraft 服务端
### Spigot 及其衍生服务器端

关键词

```
ServerMain ERROR Cannot access RandomAccessFile java.io. FileNotFoundException: logs/latest.log (Permission denied) java.io.FileNotFoundException: logs/latest.log (Permission denied)
at java.base/java.io.RandomAccessFile.open0(Native Method)
at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344)
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:213)
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:127)
// 该处虽然只是表示了无权限写入 latest.log ,但一般情况下这意味着服务端没有所在文件夹的写入权限,除非您单独为 latest.log 设置了操作权限
```
### Spigot

### Paper 及其衍生服务器端

Expand All @@ -56,7 +39,7 @@ ServerMain ERROR Cannot access RandomAccessFile java.io. FileNotFoundException:

关键词:

```
```log
java.lang.RuntimeException: Server attempted to load chunk saved with newer version of minecraft! 3337 > 3218
// 这是一个使用 Paper 1.19.4 (3337) 加载 1.19.3 (3218) 世界存档的示例。
```
Expand Down

0 comments on commit bf7ef83

Please sign in to comment.