Class PAPIPlaceholderService
java.lang.Object
com.gamersafer.minecraft.auth.paper.placeholder.PAPIPlaceholderService
- All Implemented Interfaces:
com.gamersafer.minecraft.auth.common.placeholder.PlaceholderService
public class PAPIPlaceholderService
extends Object
implements com.gamersafer.minecraft.auth.common.placeholder.PlaceholderService
Parses placeholders in strings.
-
Constructor Summary
ConstructorDescriptionPAPIPlaceholderService
(@NonNull org.bukkit.plugin.java.JavaPlugin plugin) ConstructsPlaceholderService
. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.gamersafer.minecraft.auth.common.placeholder.PlaceholderService
parse, parse
-
Constructor Details
-
PAPIPlaceholderService
public PAPIPlaceholderService(@NonNull org.bukkit.plugin.java.JavaPlugin plugin) ConstructsPlaceholderService
.- Parameters:
plugin
- the plugin
-
-
Method Details
-
parse
public @NonNull String parse(@NonNull String string, @NonNull com.gamersafer.minecraft.auth.common.abstraction.IPlayer player) Parses placeholders instring
.- Specified by:
parse
in interfacecom.gamersafer.minecraft.auth.common.placeholder.PlaceholderService
- Parameters:
string
- the stringplayer
- the player- Returns:
- the string
-