SparkTrail
An advanced and powerful particle trail plugin
Great for donation perks! Dazzle your friends with tons of unique particle effects!
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
The SparkTrail plugin aims to utilise the range of particle effects Craftbukkit has to offer. Fire, ender, smoke and even love hearts are only a small portion of the particle effects this plugin utilises. With over 20 unique effects, there's guaranteed to be one that 'tickles your fancy'!
The integration of Player, Location and Entity particle effects, along with a long list of Sound effects comes packaged inside the SparkTrail plugin. We also integrate the plugin's features with newer Minecraft additions, including complete Command Block support for modifying Trail effects.
SparkTrail comes with an auto-updater to save you, as a server owner, from continually checking this page for new files. It simply connects to dev.bukkit.org and compares the versions of available files. If you do not wish for SparkTrail to perform this check, navigate to the Configuration File (config.yml) in the SparkTrail directory of your plugins folder and change "checkForUpdates" and "autoUpdate" to "false". The first value disables the version comparison altogether and the second updates the plugin automatically if new files are detected.
Metrics is used to collect plugin statistics. Only data such as plugin version and players online is collected. If you do not wish for this data to be collected, disable it in the 'Plugin Metrics' folder of your 'plugins' directory.
This video applies to SparkTrail 2 ONLY!
SparkTrail is open source
Pull requests are welcome!
@theknight2009
If you mean how many times the swirl particle is spawned, no. If you mean how often the Rainbow Potion Swirl effect changes colour then I can make it customisable.
Is there anyway to cause the speed at which the swirl effect happens?
@diannetea
Nope. I can't do much about that sorry.
Is there a way to remove the smashing sound on potion effects?
Some good news! The new and improved SparkBlock is complete and ready to go! Expect SparkTrail 2.5 out very soon with some important bug fixes and improvements as well as some of the requested features. If you requested a feature and it is not in this update, expect it in SparkTrail 2.6. Stay tuned and look forward to SparkBlock Location Saving!
P.S. The new SparkBlock format is part of the preparation for SparkScript, planned for release in SparkTrail 3.0 :D ;)
@Kitten_Tails
Most of the SparkBlock feature isn't working in recent updates. Seeing as SparkBlock will change completely quite soon, I'm not going to try and find a fix for this.
When I put effects on blocks, nothing appears. Except the chat message saying it has been enabled.
@jitasi
I plan on adding data saving for player effects, as SparkBlock will in the next update.
Hey, relogging dosnt save a trail effect, is there a way to make it save it so its always there or no? itd be really nice if it would keep it when u login just like the login sound does!
amazing plugin ty
Woot Woot!
2,000th download!
@DSH105
Ahh, right, I see the problem now, thanks! I forgot there was a 1.4.7 jar now.
@dancats511
Nope. You're most probably running the wrong version of Craftbukkit for your SparkTrail version. Please check the version of Craftbukkit before you download.
Does this plugin require anything else? I looked all over the page and didn't see anything about it, but just to be sure, because, I got this error.
java.lang.NoClassDefFoundError: net/minecraft/server/v1_4R1/Entity at me.dsh105.sparktrail.SparkCommand.heartsRepeat<SparkCommand.java:1281 at me.dsh105.sparktrail.SparkCommand.activateAll<SparkCommand.java:60 at me.dsh105.sparktrail.SparkTrail.onEnable<SparkTrail.java:65> at or.bukkit.plugin.java.JavaPlugin.setEnabled<JavaPlugin.java:217
Those are only a couple lines of it. I hope that's enough to help :/ If not, I guess I'll just have to write down the whole thing.
@cotjones
What you mentioned there about the scripting is a feature I will be developing after the next update. After that, other plugins won't be needed to do those things you said ;).
EDIT: Fireworks is going to be a difficult one to code though...
@DSH105
Yeah I can see a naming system being a bit cumbersome, but hashmaps should really make life easy for you.
Storing the objects through the map would give you a few advantages. One loop can load all the stored effects into memory from the yaml file onenable, and you can write changes back to the file as commands to store new effects are made, so there is no delay in saving, making it safe against server crashes. It also really simplifies new object creation. HashMap.put(Name, Interval, Effect, Args);
Voila!
You are probably wanting to make it more simple by not having the naming system but in the end, that really makes it only as complicated as the user makes it. I'm planning on using a host of effects in various worlds and areas so custom labeled effects would be the best thing ever. Storing those effects to be activated later will really widen the scope of the plugin. So for example, you could make a walkway that poofed smoke every step you took. Or make a firework show around a promotion sign when the user clicks it. The scripting can really already be done using other plugins in conjunction, the command to activate pre-defined effects is really all that's missing.
I'm really excited about using this functionality to the extreme and would be happy to showcase it for you.
You're doing an awesome job with this! Thank you for your work! Let me know if there is anything I can do to help.
@cotjones
Yeah. I have tried saving each location in the background before but without a naming system it became a little buggy and likely to cause errors. Something similar to this was my next approach, but it pretty much means rewriting the existing SparkBlock package from scratch again :P.
You summed that up perfectly :D.
@DSH105
Awesome I can't wait.
I don't know how you plan on doing it, but here is my suggestion. You probably have something better planned...
Ideally for my needs, it would be best if the sparkblock saving worked by creating an effect object using a separate command then the existing "/sparkblock".
maybe added in a separate command
(IE: that the user creating it could name it, set the effect type, and set a duration (possibly an effect time that would over-write the config value to add customization). This might be appropriate cause this specific command isn't something you'd want to give to non-server staff)
Example:
/SparkEffect New <Name> <Interval> <Effect> <Args>
This command would use the crosshairs as the location and save the effect data under YAML.
The Effect could then be activated using:
/SparkEffect Start <name> [Duration]
And Deactivated using /SparkEffect stop <name>
Omitting duration would just set it on permanently.
Maybe add stop all as a convenience option.
Then of course you could add the list, info, and edit commands pretty easily.
@cotjones
1. Okay. Will do.
2. SparkBlock Location saving is currently under development.
3. This was suggested below and I have answered to it. It will be called SparkScript, but I have not yet begun to code it.
This plugin has extreme potential but it needs a few vital things.
1. The ability to add a duration to effects instead of manually toggling them on and off 2. Persistence to effects. IE: If a block effect is applied and the server crashes, the effect remains on reboot. 3. (Possibly) Make interact or walk effects so that effects happen when a player walks on a block. (I say possibly because I can already do this using a second plugin and your's together.)
Just a small note on a bug I found the other day:
The SparkBlock ItemDrop effect is broken in CB 1.4.7 for a reason I do not yet know. Activating it will cause a stream of errors outputted to the console. I highly recommend against using it. Player and SparkMob ItemDrop effects are still functioning correctly.
And some important news:
If you would like to help out in finding those annoying bugs in the plugin, I will be happy to add you to the project as a 'Plugin Tester'. Testers will have the job of fully testing and doing a report on the plugin and also have access to SparkTrail pre-releases. If you are interested or would like more information, send me a PM.