Package dev.kitteh.factions.tag
Interface Tag
- All Known Implementing Classes:
FactionTag,GeneralTag,PlayerTag
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanfoundInString(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.getTag()Deprecated, for removal: This API element is subject to removal in a future version.Gets the Tag's string representation.static StringparsePlaceholders(org.bukkit.OfflinePlayer player, String line) Deprecated, for removal: This API element is subject to removal in a future version.static StringparsePlain(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 fplayerstatic StringparsePlain(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 factionstatic StringparsePlain(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
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 factionline- raw line from config with variables to replace for- Returns:
- clean line
-
parsePlain
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 playerline- raw line from config with variables to replace for- Returns:
- clean line
-
parsePlain
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 factionfplayer- from playerline- raw line from config with variables to replace for- Returns:
- clean line
-
parsePlaceholders
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
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
-