跳到主要内容

常用变量

这里只列出部分扩展的部分变量,这几个变量老是有人问

如果你想了解全部变量,点击 此处

Player

https://snowcutieowo.github.io/PlaceholderAPI/user-guides.placeholder-list.html#player

/papi ecloud download Player
%player_name%  - 玩家名称
%player_exp% - 玩家的 exp
%player_ping% - 玩家的延迟
%player_level% - 玩家等级
%player_world% - 玩家所在世界

Server

https://snowcutieowo.github.io/PlaceholderAPI/user-guides.placeholder-list.html#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://snowcutieowo.github.io/PlaceholderAPI/user-guides.placeholder-list.html#vault

/papi ecloud download Vault
%vault_eco_balance% - 玩家的钱数

Multiverse

https://snowcutieowo.github.io/PlaceholderAPI/user-guides.placeholder-list.html#multiverse-core

/papi ecloud download multiverse
%multiverse_world_alias% - 显示世界别名

案例 | 中文世界名

PlayerPoints

https://snowcutieowo.github.io/PlaceholderAPI/user-guides.placeholder-list.html#playerpoints

%playerpoints_points% - 点券数

PlayerPoints 在 3.0.0 以及更高版本会自动挂钩 papi,不再需要自行安装扩展

如果你承认你有大病,一定要使用旧版本,可以手动下载 此扩展

Statistic

https://snowcutieowo.github.io/PlaceholderAPI/user-guides.placeholder-list.html#statistic

/papi ecloud download Statistic
%statistic_time_played:days% - 在线时间(天)
%statistic_time_played:hours% - 在线时间(时)
%statistic_time_played:minutes% - 在线时间(分)
%statistic_time_played:seconds% - 在线时间(秒)
%statistic_mob_kills% - 生物击杀数
%statistic_deaths% - 死亡数