Interface Tag

All Known Implementing Classes:
FactionTag, GeneralTag, PlayerTag

@Internal @Obsolete @Deprecated(forRemoval=true) public interface Tag
Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets if the Tag can be found in the given String.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets the Tag's string representation.
    static String
    parsePlaceholders(org.bukkit.OfflinePlayer player, String line)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static String
    parsePlain(Faction faction, FPlayer fplayer, String line)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Replaces all variables in a plain raw line for a faction, using relations from fplayer
    static String
    parsePlain(Faction faction, String line)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Replaces all variables in a plain raw line for a faction
    static String
    parsePlain(FPlayer fplayer, String line)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Replaces all variables in a plain raw line for a player
  • Method Details

    • parsePlain

      static String parsePlain(Faction faction, String line)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Replaces all variables in a plain raw line for a faction
      Parameters:
      faction - for faction
      line - raw line from config with variables to replace for
      Returns:
      clean line
    • parsePlain

      static String parsePlain(FPlayer fplayer, String line)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Replaces all variables in a plain raw line for a player
      Parameters:
      fplayer - for player
      line - raw line from config with variables to replace for
      Returns:
      clean line
    • parsePlain

      static String parsePlain(Faction faction, FPlayer fplayer, String line)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Replaces all variables in a plain raw line for a faction, using relations from fplayer
      Parameters:
      faction - for faction
      fplayer - from player
      line - raw line from config with variables to replace for
      Returns:
      clean line
    • parsePlaceholders

      static String parsePlaceholders(org.bukkit.OfflinePlayer player, String line)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTag

      String getTag()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the Tag's string representation.
      Returns:
      tag
    • foundInString

      boolean foundInString(String test)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets if the Tag can be found in the given String.
      Parameters:
      test - string to test
      Returns:
      true if the tag is found in this string