be.maximvdw.placeholderapi.events.PlaceholderAddedEvent 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.events;
import org.bukkit.plugin.Plugin;
import be.maximvdw.placeholderapi.PlaceholderReplacer;
/**
* Placeholder Added event
*
* @author Maxim Van de Wynckel
*/
public interface PlaceholderAddedEvent {
/**
* Called when a custom placeholder is added
*
* @param plugin Plugin that added it
* @param placeholder Placeholder that is added
* @param replacer Replacer for the plugin
*/
void onPlaceholderAdded(Plugin plugin, String placeholder,
PlaceholderReplacer replacer);
}