RealisticSeasons 中文维基
  • RealisticSeasons
  • FAQ
  • 🛠️使用方法
    • 安装
    • 命令 & 权限
  • ☀️季节
    • 春季
    • 夏季
    • 秋季
    • 冬季
    • 子季节
    • 季节着色
    • 季节性动物
    • 粒子效果
  • 📆日历系统
    • 日历系统
    • 时间同步
    • 昼夜长度
  • 🌡️温度系统
    • 温度系统
    • 温度调节器
    • 效果
    • 自定义物品
  • 💾配置文件
    • Config & Language
    • 日历(Calendar)
    • 自定义事件(Custom events)
    • 温度(Temperature)
    • 生物群系(Custom biomes)
  • 🔌插件交互
    • 前置(Dependencies)
      • ProtocolLib
    • 可选前置(Soft-Dependencies)
      • PlaceHolderAPI
      • TimePauser
      • WorldGuard
      • DeadlyDisasters
      • Terralith
      • Floodgate/GeyserMC
      • Dynmap
      • MythicMobs
      • ItemsAdder
      • Other world generators(其他的世界生成器)
      • RoseLoot
      • ViaBackwards/ViaVersion
      • TimeBar
  • 🖥️开发者
    • API
由 GitBook 提供支持
在本页
  • 世界变量
  • 玩家变量
  1. 插件交互
  2. 可选前置(Soft-Dependencies)

PlaceHolderAPI

上一页可选前置(Soft-Dependencies)下一页TimePauser

最后更新于1年前

下载

PlaceholderAPI 能够使用变量在任何地方显示特定的插件的信息。 Rs 使用 PlaceholderAPI 为服务器添加了新的变量,你可以在想显示季节、日期、时间等信息的地方添加变量.变量可以用于 计分板、标签、Boss血条、聊天消息等地方...

Rs 添加了两种类型的变量,即基于世界的变量和基于玩家个人的变量. 例如:基于世界变量的例子是 %rs_season_spawn% 该变量被替换为名为 "spawn" 世界的季节信息 无论玩家位于哪个世界,该变量始终显示 "spawn" 世界的信息,你可以将 "spawn" 部分替换其他世界的名称。 另一种类型是基于玩家个人的变量,例如:%rs_season% 这些变量显示的是玩家当前所在的世界 但不适用于 地狱 或 末地 等世界(所以推荐使用世界变量) 所有变量都有基于世界(世界变量)和基于玩家(玩家变量)的变体,除了温度变量仅基于玩家.

世界变量

%rs_season_<world>%
%rs_next_season_<world>%
%rs_days_until_next_season_<world>%
%rs_day_<world>%
%rs_weekday_<world%>%
%rs_month_<world>%
%rs_month_asname_<world>%
%rs_year_<world>%
%rs_seasonlength_<world>%
%rs_time_<world>%
%rs_active_events_<world>%

玩家变量

%rs_season%
%rs_next_season%
%rs_days_until_next_season%
%rs_day%
%rs_weekday%
%rs_month%
%rs_month_asname%
%rs_year%
%rs_temperature%
%rs_temperature_int%
%rs_temperaturecolor%
%rs_bottle_icon%
%rs_air_temperature%
%rs_air_temperaturecolor%
%rs_seasonlength%
%rs_time%
%rs_active_events%
🔌
PlaceHolderAPI