generated from postyizhan/Wiki-Template
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 粗分版 * 重新排版部分内容 * 删除跨服端建设中的登陆服务器 * 修复损坏的链接 * 修复构建 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
1 parent
a73e533
commit ae2a4c8
Showing
121 changed files
with
290 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: 开始阶段 | ||
slug: /start | ||
sidebar_position: 0 | ||
sidebar_position: 2 | ||
--- | ||
|
||
# 开始阶段 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: 进阶教程 | ||
slug: /advance | ||
sidebar_position: 21 | ||
sidebar_position: 5 | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: 准备工作 | ||
slug: /preparation | ||
sidebar_position: 1 | ||
sidebar_position: 2 | ||
--- | ||
|
||
# 准备工作 | ||
|
121 changes: 121 additions & 0 deletions
121
docs-java/process/plugin/Front-Plugin/PlaceHolderAPI/CheckItem.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
36
docs-java/process/plugin/Front-Plugin/PlaceHolderAPI/Checkitem.md
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+34.7 KB
...java/process/plugin/Front-Plugin/PlaceHolderAPI/_images/CheckItem/checkitem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13 KB
...va/process/plugin/Front-Plugin/PlaceHolderAPI/_images/CheckItem/remove-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
docs-java/process/plugin/ManageTool/PluginManagement/PluginMagagement.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: 插件管理 | ||
slug: /PluginMagagement | ||
sidebar_position: 5 | ||
sidebar_position: 4 | ||
--- | ||
|
||
# 插件管理 | ||
|
7 changes: 0 additions & 7 deletions
7
docs-java/process/plugin/ManageTool/PluginManagement/_category_.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: 建设阶段 | ||
slug: /process | ||
sidebar_position: 12 | ||
sidebar_position: 4 | ||
--- | ||
|
||
# 建设阶段 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: 常用服务器管理指令 | ||
sidebar_position: 10 | ||
sidebar_position: 5 | ||
--- | ||
|
||
# 常用服务器管理指令 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
title: 什么是模组? | ||
sidebar_position: 4 | ||
sidebar_position: 3 | ||
--- | ||
|
||
# 什么是模组? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: 开始阶段 | ||
slug: /start | ||
sidebar_position: 11 | ||
sidebar_position: 3 | ||
--- | ||
|
||
# 开始阶段 | ||
|
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 开服 | ||
|
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.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
2 changes: 1 addition & 1 deletion
2
docs-java/advance/database/backup.md → docs/advance/database/backup.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
--- | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
docs-java/advance/database/configure.md → docs/advance/database/configure.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
--- | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
docs-java/advance/database/database.md → docs/advance/database/database.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs-java/advance/database/install.md → docs/advance/database/install.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
--- | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
docs-java/advance/database/uninstall.md → docs/advance/database/uninstall.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
--- | ||
|
||
|
File renamed without changes.
Oops, something went wrong.
Oops, something went wrong.