+ 写了一点papi部分

This commit is contained in:
postyizhan 2024-04-05 05:31:22 +08:00
parent f812f79600
commit bb172623dd
8 changed files with 78 additions and 6 deletions

View File

@ -1,5 +1,5 @@
---
sidebar_position: 3
sidebar_position: 4
---

View File

@ -1,5 +1,5 @@
---
sidebar_position: 4
sidebar_position: 5
---
TODO

View File

@ -1,5 +1,5 @@
---
sidebar_position: 2
sidebar_position: 3
---

View File

@ -1,5 +1,5 @@
---
sidebar_position: 7
sidebar_position: 8
---
TODO

View File

@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 7
---
TODO

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,48 @@
---
sidebar_position: 2
---
# 常用变量
这里只列出**部分**扩展的**部分**变量
## Player
> https://wiki.placeholderapi.com/users/placeholder-list/#player
```
/papi ecloud download Player
```
```
%player_name% - 玩家名称
%player_exp% - 玩家的exp
%player_ping% - 玩家的延迟
%player_level% - 玩家等级
%player_world% - 玩家所在世界
```
## Server
> https://wiki.placeholderapi.com/users/placeholder-list/#server
```
/papi ecloud download Server
```
```
%server_online% - 服务器在线人数
%server_max_players% - 服务器最大在线人数
%server_tps% - 服务器tps
%server_tps_5%
%server_tps_15%
%server_tps_1_colored%
%server_tps_5_colored%
%server_tps_15_colored%
```
## Vault
> https://wiki.placeholderapi.com/users/placeholder-list/#vault
```
/papi ecloud download Vault
```
```
%vault_eco_balance% - 玩家的钱数
```

View File

@ -30,4 +30,28 @@ boolean:
将yes和no改为true false
不改也没事,就是改成true false会更方便判断
不改也没事,就是改成true false会更方便判断
# 在哪寻找我要的变量?
> `wiki` :https://wiki.placeholderapi.com/
>
> `eCloud` :https://api.extendedclip.com/expansions/math/
>
> `placeholder-list` :https://wiki.placeholderapi.com/users/placeholder-list/#math
# 没法下载变量?
```
/papi ecloud download 扩展名
```
不能使用
![](_images/概览/变量下载失败.png)
看起来你连不上ecloud
手动下载吧 https://api.extendedclip.com/all/
把下载的jar文件塞到 `plugins\PlaceholderAPI\expansions` 文件夹