Skip to content

Commit

Permalink
粗分版 (#122)
Browse files Browse the repository at this point in the history
* 粗分版

* 重新排版部分内容

* 删除跨服端建设中的登陆服务器

* 修复损坏的链接

* 修复构建 apply-for-a-domain-name 的问题

* 基础知识移动

* 修复构建 docs-java/preparation/websites.md 找不到图片

* 修复构建 docs-java/preparation/websites.md 再补一个图

* 调整驿站的收款码大小

* papi checkitem 的教程

* 修复构建

* 修复被覆盖的commit #1

* fix #warn -> warning

---------

Co-authored-by: “postyizhan” <“[email protected]”>
Co-authored-by: Radiation_pi <[email protected]>
  • Loading branch information
3 people authored Jul 8, 2024
1 parent a73e533 commit ae2a4c8
Show file tree
Hide file tree
Showing 121 changed files with 290 additions and 118 deletions.
24 changes: 3 additions & 21 deletions docs-bedrock/intro.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,13 @@
---
title: 笨蛋开服教程
sidebar_position: 0
sidebar_position: 1
---

# 笨蛋开服教程

👋 欢迎来到笨蛋开服教程
👋 欢迎来到笨蛋开服教程基岩板块

笨蛋开服教程是一篇主要针对 **高版本 Java 版**服务器的开服指南,而非**基岩版****远古核心**

在开始前,请确认您拥有以下基础:

- 具备**基础**的计算机操作技能 - 如解压、新建文件夹、打开文件、安装软件等;
- 具备使用**搜索引擎**搜索关键词的能力;
- 拥有一台能够**正常游玩 Minecraft** 的电脑。

# 教程适合的群体

- 渴望学习如何开设服务器并运营良好的人;
- 寻求解决如何解决服务器的常见问题的人;
- 希望深化对服务器基础知识理解的人。

# 教程不适合的群体

- 意图通过开设服务器进行欺诈谋利的人;
- 忽视插件文档,频繁依赖他人解答的人;
- 头脑简单、狂妄自大、懒惰无能的人。
此板块是一篇主要针对 **基岩版** 服务器的开服指南,而非**Java版**

# 开始你的旅程

Expand Down
2 changes: 1 addition & 1 deletion docs-bedrock/start/start.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 开始阶段
slug: /start
sidebar_position: 0
sidebar_position: 2
---

# 开始阶段
Expand Down
2 changes: 1 addition & 1 deletion docs-java/advance/advance.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 进阶教程
slug: /advance
sidebar_position: 21
sidebar_position: 5
---


Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ servers:

## 加入

见 [加入服务器](/docs/advance/cross-server/join-server.md)
见 [加入服务器](/docs-java/advance/cross-server/join-server.md)
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ Velocity支持将玩家信息(如IP地址、UUID和皮肤)转发到您的服

## 加入

[加入服务器](/docs/advance/cross-server/join-server.md)
[加入服务器](/docs-java/advance/cross-server/join-server.md)
6 changes: 0 additions & 6 deletions docs-java/advance/cross-server/build-up/login-service.md

This file was deleted.

24 changes: 3 additions & 21 deletions docs-java/intro.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,13 @@
---
title: 笨蛋开服教程
sidebar_position: 0
sidebar_position: 1
---

# 笨蛋开服教程

👋 欢迎来到笨蛋开服教程
👋 欢迎来到笨蛋开服教程Java板块

笨蛋开服教程是一篇主要针对 **高版本 Java 版**服务器的开服指南,而非**基岩版****远古核心**

在开始前,请确认您拥有以下基础:

- 具备**基础**的计算机操作技能 - 如解压、新建文件夹、打开文件、安装软件等;
- 具备使用**搜索引擎**搜索关键词的能力;
- 拥有一台能够**正常游玩 Minecraft** 的电脑。

# 教程适合的群体

- 渴望学习如何开设服务器并运营良好的人;
- 寻求解决如何解决服务器的常见问题的人;
- 希望深化对服务器基础知识理解的人。

# 教程不适合的群体

- 意图通过开设服务器进行欺诈谋利的人;
- 忽视插件文档,频繁依赖他人解答的人;
- 头脑简单、狂妄自大、懒惰无能的人。
此板块是一篇主要针对 **高版本 Java 版** 服务器的开服指南,而非**基岩版****远古核心**

# 开始你的旅程

Expand Down
2 changes: 1 addition & 1 deletion docs-java/preparation/preparation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 准备工作
slug: /preparation
sidebar_position: 1
sidebar_position: 2
---

# 准备工作
Expand Down
121 changes: 121 additions & 0 deletions docs-java/process/plugin/Front-Plugin/PlaceHolderAPI/CheckItem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
---
sidebar_position: 4
---

# CheckItem

**有关 CheckItem 的相关链接**

:::info

`eCloud` : https://api.extendedclip.com/expansions/checkitem/

`Placeholder List` : https://wiki.placeholderapi.com/users/placeholder-list/#checkitem

`GitHub` : https://github.com/PlaceholderAPI/CheckItem-Expansion

:::

## 安装此扩展
```
/papi ecloud download CheckItem
/papi reload
```

## 教程

![](_images/CheckItem/remove-item.png)
```
/papi parse me %checkitem_remove_diamond%
```

[启用give和remove](#启用give和remove) 后,跑一下图中的变量会收取玩家所有的钻石

变量中 **remove** 的位置在作者项目的 README 中,并没有名字,其实这个地方决定了这个变量的效果

如果没有 **remove** 那么这个变量就会判断玩家是否拥有这个物品

![](_images/CheckItem/checkitem.png)

这里返回了 yes

[如何返回 true/false ?](/docs-java/process/plugin/Front-Plugin/PlaceHolderAPI/outline.md#更改-boolean)

例如:

- give 给予物品 %checkitem_give_mat:diamond% // 给予玩家一个钻石
- remove 收取物品 %checkitem_remove_mat:diamond% // 收取玩家背包中所有的钻石
- amount 查看数量 %checkitem_amount_mat:diamond% // 查看玩家背包中的钻石数量
- getinfo 物品信息 %checkitem_getinfo:0% // 查看玩家槽位0的物品信息

你应该注意到了 `mat:diamond` ,因为我写了diamond所以这些变量的功能是针对钻石的

> mat是 material 的缩写
`mat` 被称为 **修饰符(modifier)**

用来更详细的指明你需要的操作

例如:`%checkitem_remove_mat:diamond,amt:10%`

作用是收取10个钻石

> amt是 amount 的所写
:::note

不同修饰符使用英文逗号“,”来连接

如同上面的 `%checkitem_remove_mat:diamond,amt:10%`

同时使用了 mat 和 amt 两个修饰符

:::

可用的修饰符有:

- namecontains // 名字中包含
- namestartswith
- nameequals
- mat // 物品材质
- amt // 物品数量
- data // 物品的data
- custommodeldata // 物品的CMD值
- lorecontains // lore中包含
- loreequals
- matcontains
- enchantments // 附魔
- enchanted
- potiontype
- potionextended
- potionupgraded
- strict
- inhand
- inslot
- nbtstrings // nbt
- nbtints

## 例子:收取ia物品

收取指定ia物品的指定数量

```
%checkitem_remove_nbtstrings:itemsadder..id..data=ia物品ID,amt:数量%
```

使用了两个个修饰符

- nbtstrings
- amt

其他物品库多数也会像ia一样给物品打上自己的nbt标签,照着改改就好

## 启用give和remove

```
expansions:
checkitem:
give_enabled: false
remove_enabled: false
```
将两个`false`改为`true` 接着 `/papi reload`
36 changes: 0 additions & 36 deletions docs-java/process/plugin/Front-Plugin/PlaceHolderAPI/Checkitem.md

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 插件管理
slug: /PluginMagagement
sidebar_position: 5
sidebar_position: 4
---

# 插件管理
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion docs-java/process/process.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 建设阶段
slug: /process
sidebar_position: 12
sidebar_position: 4
---

# 建设阶段
Expand Down
2 changes: 1 addition & 1 deletion docs-java/start/basic/server-management-command.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 常用服务器管理指令
sidebar_position: 10
sidebar_position: 5
---

# 常用服务器管理指令
Expand Down
2 changes: 1 addition & 1 deletion docs-java/start/basic/what-is-mod.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 什么是模组?
sidebar_position: 4
sidebar_position: 3
---

# 什么是模组?
Expand Down
2 changes: 1 addition & 1 deletion docs-java/start/start.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 开始阶段
slug: /start
sidebar_position: 11
sidebar_position: 3
---

# 开始阶段
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Linux 开服
slug: /Sundry/Advance/Linux
sidebar_position: 1
sidebar_position: 2
---

# Linux 开服
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions docs/advance/advance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: 进阶教程
slug: /advance
sidebar_position: 6
---
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 备份
slug: /Sundry/Advance/backup
slug: /docs/database/backup
sidebar_position: 3
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 配置
slug: /Sundry/Advance/configure
slug: /docs/database/configure
sidebar_position: 2
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 数据库相关
slug: /Sundry/Advance/database
sidebar_position: 5
slug: /docs/database/database
sidebar_position: 1
---

# 数据库相关
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 安装
slug: /Sundry/Advance/install
slug: /docs/database/install
sidebar_position: 1
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 卸载
slug: /Sundry/Advance/uninstall
slug: /docs/database/uninstall
sidebar_position: 4
---

Expand Down
File renamed without changes.
Binary file added docs/basic/_images/nogui.jpg
Loading

0 comments on commit ae2a4c8

Please sign in to comment.