类 PlaceholderUtil

java.lang.Object
me.clip.placeholderapi.PlaceholderHook
me.clip.placeholderapi.expansion.PlaceholderExpansion
cn.handyplus.race.hook.PlaceholderUtil

public class PlaceholderUtil extends me.clip.placeholderapi.expansion.PlaceholderExpansion
变量扩展
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    因为这是一个内部类,所以不需要进行这种检查 我们可以简单地返回true
    作者
    变量前缀
    版本
    onRequest(org.bukkit.OfflinePlayer player, String identifier)
    注册变量
    boolean
    因为这是一个内部类, 你必须重写这个方法,让PlaceholderAPI知道不要注销你的扩展类

    从类继承的方法 me.clip.placeholderapi.expansion.PlaceholderExpansion

    configurationContains, get, getConfigSection, getConfigSection, getDescription, getDouble, getInt, getLink, getLong, getName, getPlaceholderAPI, getPlaceholders, getPlugin, getRequiredPlugin, getString, getStringList, isRegistered, register

    从类继承的方法 me.clip.placeholderapi.PlaceholderHook

    onPlaceholderRequest

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • PlaceholderUtil

      public PlaceholderUtil(PlayerRace plugin)
  • 方法详细资料

    • getIdentifier

      public String getIdentifier()
      变量前缀
      指定者:
      getIdentifier 在类中 me.clip.placeholderapi.expansion.PlaceholderExpansion
      返回:
      结果
    • onRequest

      public String onRequest(org.bukkit.OfflinePlayer player, String identifier)
      注册变量
      覆盖:
      onRequest 在类中 me.clip.placeholderapi.PlaceholderHook
      参数:
      player - 玩家
      identifier - 变量
      返回:
      结果
    • persist

      public boolean persist()
      因为这是一个内部类, 你必须重写这个方法,让PlaceholderAPI知道不要注销你的扩展类
      覆盖:
      persist 在类中 me.clip.placeholderapi.expansion.PlaceholderExpansion
      返回:
      结果
    • canRegister

      public boolean canRegister()
      因为这是一个内部类,所以不需要进行这种检查 我们可以简单地返回true
      覆盖:
      canRegister 在类中 me.clip.placeholderapi.expansion.PlaceholderExpansion
      返回:
      结果
    • getAuthor

      public String getAuthor()
      作者
      指定者:
      getAuthor 在类中 me.clip.placeholderapi.expansion.PlaceholderExpansion
      返回:
      结果
    • getVersion

      public String getVersion()
      版本
      指定者:
      getVersion 在类中 me.clip.placeholderapi.expansion.PlaceholderExpansion
      返回:
      结果