All Downloads are FREE. Search and download functionalities are using the official Maven repository.

be.maximvdw.placeholderapi.internal.PlaceholderPlugin Maven / Gradle / Ivy

Go to download

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy