HomeJavaModsParticleAPI
ParticleAPI
This application programming interface allows you Spigot developers, generate particles using a Player Interact event and even more.
How are you able to do this?
You're able to do this to follow these required steps.
Number one, you're going to put this in the Java Build Path, where your spigot.jar file will be.
Number two, apply your changes and then create a Java class and implement Listener.
Number three, create an event. I'll be using a PlayerInteractEvent for this example.
Number four, then paste this code in.
Code (Text):
    @EventHandler
    public void onClick(PlayerInteractEvent e) {
        Player p = e.getPlayer();
        ParticleAPI ParticleAPI = new ParticleAPI(EnumParticle.(PARTICLE), p.getLocation(), (xOffset), (yOffset), (zOffset), (speed, make sure it's float.), (count));
        api.sendToPlayer(p);
So for example,
@EventHandler
    public void onClick(PlayerInteractEvent e) {
        Player p = e.getPlayer();
        ParticleAPI ParticleAPI = new ParticleAPI(EnumParticle.FLAME, p.getLocation(), 4, 2, 4, 0.02f, 400);
        api.sendToPlayer(p);
 
Number five, now let's check if ParticleAPI is enabled.
Code (Text):
 public void onEnable(){
   if(getServer().getPluginManager().isPluginEnabled("ParticleAPI")){
      getLogger().info("ParticleAPI is currently enabled.");
   } else {
      getLogger().warning("ParticleAPI is not enabled due to an unknown error.");
   }
}
Now, you're finished. Make sure you have ParticleAPI in the plugins folder in order for this to work.

The documentation of this isn't too great, but I'll be sure to update this in the future so other beginning developers could understand.

This application programming interface was created in the span of twenty minutes, be wary that there is bugs.
Speaking of bugs, please do not report the bugs in the reviews section, or give the plugin a negative review for not implementing something, or it brought up a bunch of errors in the console.
If you're using 1.9 and above, this plugin was only tested with 1.8.8 and below, the plugin might have some issues loading up in 1.9 spigot and above, otherwise it'll be fine.
If you're going to report a bug, please send me a PM on Spigot here, and put the error on pastebin, thanks.

Known caveats
None so far, please report by PMing me.

Coming soon,
Currently working on the 1.10 version of this, so you'll be able to use this in 1.10 Spigot, I've only tested this using 1.8.8 & 1.9
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ParticleAPI is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9. Downloaded 604 times (via Spigot). Download it and open it directly in the game.

Explore more