Interface CustomClue
public interface CustomClue
-
Method Summary
Modifier and TypeMethodDescriptionReturns the array of clue config dataReturns the clue nameorg.bukkit.plugin.PluginReturns the plugin that created this cluevoidhandle(org.bukkit.entity.Player player, int amount, ClueDataPair... clueDataPairs) Call a clue for a player.voidhandle(org.bukkit.entity.Player player, ClueDataPair... clueDataPairs) Call a clue for a player.
-
Method Details
-
getPlugin
org.bukkit.plugin.Plugin getPlugin()Returns the plugin that created this clue- Returns:
- plugin
-
getClueName
String getClueName()Returns the clue name- Returns:
- clue name
-
getClueConfigData
ClueConfigData[] getClueConfigData()Returns the array of clue config data- Returns:
- clue config data
-
handle
Call a clue for a player. You must specify all the clue data as registered for the clue. For clue data you would like to ignore or treat as a wild card, the ClueDataPair value can simply be null.- Parameters:
player-clueDataPairs-
-
handle
Call a clue for a player. You must specify all the clue data as registered for the clue. For clue data you would like to ignore or treat as a wild card, the ClueDataPair value can simply be null.- Parameters:
player-clueDataPairs-
-