be.maximvdw.placeholderapi.internal.PlaceholderPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of MVdWPlaceholderAPI Show documentation
Show all versions of MVdWPlaceholderAPI Show documentation
MVdW Placeholder API is an API that allows you to register placeholders to all MVdW Placeholder plugins at once.
The newest version!
package be.maximvdw.placeholderapi.internal;
import org.bukkit.OfflinePlayer;
import java.util.List;
/**
* PlaceholderPlugin
* Created by Maxim on 2/11/2017.
*/
public interface PlaceholderPlugin {
/**
* Get placeholder result
*
* @param input
* @param player
* @return
*/
String getPlaceholderResult(String input, OfflinePlayer player);
/**
* Get a list of all placeholders
*
* @return PlaceholderPack list
*/
List getPlaceholderPacks();
/**
* Get enabled placeholder count
*
* @return amount
*/
int getPlaceHolderEnabledCount();
/**
* Get placeholder count
* @return placeholder count
*/
int getPlaceHolderCount();
/**
* Register a placeholderPack
*
* @param placeholderPack Place holder
*/
void registerPlaceHolder(PlaceholderPack placeholderPack);
}