Interface PlaceholderService
- All Known Implementing Classes:
BasePlaceholderService
public interface PlaceholderService
An interface providing methods to parse placeholders on strings.
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
Parses a string for placeholders, using values fromplayer
.Parses each string inlist
forplayer
.parse
(MessageConfiguration.MessageCompound compound, @NonNull IPlayer player) Parses each value incompound
forplayer
.
-
Method Details
-
parse
Parses a string for placeholders, using values fromplayer
.- Parameters:
string
- the stringplayer
- the player- Returns:
- a new string
-
parse
Parses each string inlist
forplayer
.- Parameters:
list
- the listplayer
- the player- Returns:
- a new list
-
parse
default MessageConfiguration.MessageCompound parse(MessageConfiguration.MessageCompound compound, @NonNull IPlayer player) Parses each value incompound
forplayer
.- Parameters:
compound
- the compoundplayer
- the player- Returns:
- a new compound
-