java.lang.Object
net.sacredlabyrinth.phaed.simpleclans.hooks.papi.PlaceholderResolver
net.sacredlabyrinth.phaed.simpleclans.hooks.papi.resolvers.ListSizeResolver

public class ListSizeResolver extends PlaceholderResolver
  • Constructor Details

    • ListSizeResolver

      public ListSizeResolver(@NotNull @NotNull SimpleClans plugin)
  • Method Details

    • getId

      @NotNull public @NotNull String getId()
      Specified by:
      getId in class PlaceholderResolver
    • resolve

      @NotNull public @NotNull String resolve(@Nullable @Nullable org.bukkit.OfflinePlayer player, @NotNull @NotNull Object object, @NotNull @NotNull Method method, @NotNull @NotNull String placeholder, @NotNull @NotNull Map<String,String> config)
      Description copied from class: PlaceholderResolver
      Resolves the placeholder and returns its value
      Specified by:
      resolve in class PlaceholderResolver
      Parameters:
      player - the player involved in the placeholder request
      object - the subject of the Placeholder, usually a Clan or a ClanPlayer
      method - the annotated method
      placeholder - the placeholder to resolve
      config - configuration for the resolver
      Returns:
      the resolved placeholder