mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-31 03:25:28 +02:00
PAPI Support WIP
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.gmail.nossr50.placeholders;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public interface Placeholder {
|
||||
|
||||
/**
|
||||
* @param player the player to process the placeholder for
|
||||
* @param params the paramaters to be passed to the placeholder
|
||||
* @return the value of the placeholder
|
||||
*/
|
||||
String process(Player player, String params);
|
||||
|
||||
/**
|
||||
* @return the name of the placeholder
|
||||
*/
|
||||
String getName();
|
||||
}
|
Reference in New Issue
Block a user