use of com.iridium.iridiumskyblock.placeholders.ClipPlaceholderAPI in project IridiumSkyblock by Iridium-Development.
the class IridiumSkyblock method registerPlaceholderSupport.
private void registerPlaceholderSupport() {
Plugin MVDWPlaceholderAPI = getServer().getPluginManager().getPlugin("MVdWPlaceholderAPI");
if (MVDWPlaceholderAPI != null && MVDWPlaceholderAPI.isEnabled()) {
new MVDWPlaceholderAPI();
getLogger().info("Successfully registered " + com.iridium.iridiumskyblock.placeholders.Placeholders.placeholders.size() + " placeholders with MVDWPlaceholderAPI.");
}
Plugin PlaceholderAPI = getServer().getPluginManager().getPlugin("PlaceholderAPI");
if (PlaceholderAPI != null && PlaceholderAPI.isEnabled()) {
if (new ClipPlaceholderAPI().register()) {
getLogger().info("Successfully registered " + com.iridium.iridiumskyblock.placeholders.Placeholders.placeholders.size() + " placeholders with PlaceholderAPI.");
}
}
}
Aggregations