Skip to content

Repository files navigation

plugin-ToiletPAPI

为了更好的性能,抛弃 JavaScript!
为什么要从 ToiletCore 中独立出来?因为这样可以更好地使用 /papi reload 热加载。

占位符列表:

占位符 功能
%toilet_emoji_server_status% 性能指示器
%toilet_emoji_world% 世界emoji:⛏️
%toilet_emoji_worldtime% 世界时间emoji:🔆
%toilet_info_worldtime% 世界时间信息: 🔆 12:00
%toilet_info_mspt% 返回mspt
%toilet_info_timestamp% 返回当前时间戳
%toilet_vault% 返回格式化过的游戏币余额
%toilet_uuid% 返回玩家uuid
%toilet_uuid_version% 返回玩家uuid版本
%toilet_uuid_premium% 如果uuid v4返回true,否则false

TODO

  • 需要制作一个称号是否显示的占位符,还有一个称号占位符,用来管理称号,目前仍然在使用 JavaScript。
    • %toilet_chat_prefix%,需要整合:
      • {prefix}%javascript_hideable_tag_tplus%
      • %javascript_display_tag_premium%
      • %deluxetags_tag%
      • %toilet_emoji_world%
    • %toilet_chat_suffix% 需要整合:
      • %javascript_hideable_tag_admin%
      • {suffix}
  • 其余的占位符也需要迁移到 ToiletPAPI:%player_role% %time_info_of_resource_world% %mixed_playername%...
  • %toilet_tag_称号id% 返回称号,不可用时(未拥有、未佩戴)返回空
    • 称号id:tplus、admin
  • %toilet_setting_设置id% 返回设置状态,true 或 false。
    • 设置id:scoreboard-enabled、tag-tplus-enabled、tag-admin-enabled

About

一些 PlaceholderAPI 占位符。

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages