VaporTrails
VaporTrails
Today is a day for Vapor Trails!
- Youtube Video (points if you know which one)
About
This plugin creates effects whenever a player moves. Honestly, this was just meant to be a fun break from my other projects. The idea came about during testing: "Wouldn't it be awesome if this smoke effect happened whenever you walked?" And thus, the idea of VaporTrails was born.
Features
- Nifty trail effects
- Create block trails
- Vault support
- WorldGuard support
- Creative mode auto-effect
Thanks to @UltiByte for the video.
Commands & Permissions
Configuration
Description of the config.yml options:
checkWorldGuardRegions: For effects that may modify blocks, this checks if the player has build rights for a region, and thus if their effect is played while in the region. (Default: false)
version: For internal use only. Do not change.
effect:
- useListener: Whether to play effects by interval threads or on the player move event. (Default: false)
- interval: The time in server ticks between playing the effect. Only used by threads, and thus useListener needs to be set to false.
gamemode:
- effect: Define the effect given to a player when they change to creative game mode.
- use: Whether or not to give an effect when they change game mode
Note, for game mode, they player still needs the appropriate effect permission node.
Notes
Most of the effects are rather small, and this is because making even rather small radius effects can be semi-laggy. For instance, a 3x3 smoke trail on player move, while impressive, is rather laggy. So, for performance issues and to keep the player movement fluid, some effects have a small effect size, for example: smoke, ender signal, and tnt.
Todo
- Blacklist blocks from the config
- Adjustable effect size
- Blocks disappear
Trello Dev board
Visit the Trello board to see the current todo list for all projects.
You can comment and vote on any of the topics there.
All changes on the Trello board are in real-time.
If you've found this plugin useful, please consider donating.
Also can you make an OPTION that a players trail turns off when they disconnect so when they next join they will have no trails on? Or an admin command to modify a players trail?
Yeah @Mitsugaru I think this plugin has a huge memory leak when Installed it increased my RAM usage by atleast 300mb.
An update would be really badass dude!
@Nikz11
Err, not that I know of? Or at least, no one has told me...?
@Archonea
I will add better permission nodes for that when I can. Thanks for bringing it up.
Hi I'm interested in adding this to my server. Although is there any known bugs with 1.3.1?
@Archonea
Yepp, my players figured this out in a split second. Is there a way you can add perms for it?
Everyone who can use a trail has access to "/trail time <#>"
This kind of defeats the purpose of using an interval instead of the movement event. It can be used to add a bad amount of unwanted lag to the server.
I don't really know where to submit suggestions for this plugin, but I was wondering if it was possible to make the "Charged Creeper" effect a trail of some sort.
It could either be one that just does the same thing as it does to the creeper, just simply wraps around its body, or it could do something like leave and electricity trail.
@shankomaster
Haven't looked that much as to what's new in the 1.3.1 API.
@xXKomeXx
Uh, it should...? I don't remember seeing any start up errors. And while i haven't tested it, i haven't heard complaints of it not working...
will the 1.2.5 version work on 1.3.1?
I think with the new 1.3.1 sound trails would be possible? :D
@Mitsugaru
Great to hear! Good luck on your new computer!
@Sx7xN
Alright, I'll look into it on the weekend, once I get my new computer built.
@Mitsugaru
It actually just keeps changing itself back to false on a server restart.
I tried both a server restart (not reload) and just a regular plugin reload, and it kept switching back to false.
The trials still work, but the useListener option just keeps changing itself back.
@harryjamesuk
I may consider adding it in later... not sure when I can get around to it.
@Hangar
Thanks for the support.
@Sx7xN
Hmm, the config option should be working... you do need to restart the plugin in order for it to register the listener. If its still not working, I will look into it. I'm considering reverting back to using the listener as default and servers that have a large user base can just set the option to not use the listener.
@xereeto
Sure. As I mentioned above though, not sure when I can get around to adding that in. Life keeps me busy.
I have a request, could you please make it so you can set other people's trails as op, like
/trail smoke xereeto
?
Also, Would you be able to add a permission like trails.use?
Thanks, and great plugin.
Is it possible to get the trails to only, I guess, activate when the player moves?
I noticed you could change it to player move event, but I couldn't get that to work, so its probably and error on my part.
I have a few suggestions too...
1.) Multiple trails. Being able to have more then 1 trail going on at a time, like an EnderTrail and Shine trail.
2.) Which ties into suggestion 1. Being able to limit the size of the trails, and when two trails are enabled, the trials would downsize themselves automatically to reduce lag.
Thanks for the great plugin!
Very nice :)
Idea:
EXP Trails.
@Sleaker
Yeah, I noticed that in my initial testing back in March.
For such a small feature, I didn't imagine it would get picked up by larger servers. Thus, I didn't really test how it scaled until I got the report from someone who did own a server with a large user base.
@LordKainzo
And was that with it using the scheduler or using the move event?
Honestly, what I am asking both of you is if there is any other alternatives to provide smoother performance for your type of a server (large user base with many users potentially using the effects)? Because I can't figure out any. It seems like my only options are either the event system or the scheduler, and I've already implemented both with a config option to choose what to use. It doesn't seem to scale well to high usage on a large server...
Although, maybe its just sorta the same case with the old flight plugins? Though, never actually tried those, I remember them warning that they weren't meant for a lot of users to be using them all at once.