UltraCore Core - API icon

UltraCore Core - API -----

UltraCore API for Spigot Plugins.



Email Manager and minor adds
* SchedulerManager:
‌‌ + runTaskLater(Runnable runnable, long ticks)
‌‌ + runTaskLaterAsynchronously(Runnable runnable, long ticks)
‌‌ + getBukkitScheduler() - Returns the Bukkit scheduler used
‌‌ + cancelAllTasks()


* PlayerEvents:
‌‌ + #onBlockPlace(BlockPlaceEvent event, Block block, CorePlayer player)
‌‌ + #onBlockBreak(BlockBreakEvent event, Block block, CorePlayer player)


* CorePlayer:
‌‌ + #getItemInHand()
‌‌ + #addPotionEffect(PotionEffect potionEffect)
‌‌ + #addPotionEffect(PotionEffectType potionEffectType, int duration, int amplifier)
‌‌ + #removePotionEffect(PotionEffectType potionEffectType)


* Config:
‌‌ + #setSerializedLocation(Location location)
‌‌ + #getSerializedLocation(String key)


+ Email Manager:
‌‌ ‌‌ The Email Manager allows you to send email.
‌‌ It also needs the javax.mail dependecy. Official Download
‌‌ ‌‌ Constructors:
‌‌ ‌‌ ‌‌ ‌‌ Initialize: new EmailManager(String host, String password, boolean auth, boolean starttls)
‌‌ ‌‌ ‌‌ ‌‌ Send Email: emailManager.sendEmail(Email email)
‌‌ ‌‌ ‌‌ ‌‌ Send Email alternative 1: emailManager.sendEmail(String from, String to, String subject, String body)
‌‌‌‌ ‌‌ ‌‌ ‌‌ Send Email alternative 2: emailManager.sendEmail(String from, String to, String subject, String body, EmailPriority priority)
‌‌ ‌‌ ‌‌ ‌‌ (If the EmailPriority is not specified, it is going to be normal)
----------, May 4, 2019
Resource Information
Author:
----------
Total Downloads: 1,918
First Release: Mar 18, 2019
Last Update: Feb 18, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings