Basic Trails

This is a very basic Particle Trails plugin. I originally made it for my server and I thought it could be useful to people who dont need a way too fancy plugin but still want to have trails. It is very lightweight and the current file is only 14.4 Kilobytes!!!
Permission: If per trail perms is not enabled the only permission is trails.trail to be able to use the trails. The permission to apply trails to others is trails.trail.other.
Per Trail perms: You have the option in the config of setting perTrailPerm to true. What this does is makes it so instead of just having one master permission each trail has its own individual permission. It is always trails.{trail name}. So for example the magic trail would be trails.magic. The permission to apply the trails to other players is trails.{trail name}.other so for example trails.magic.other.

Clear: If you want to be able to clear your current trail (why would you want to do that?) you can do /trail clear. Or do the command for the trail you currently have to toggle it off
I am open to feature suggestions :D , If you have an idea/feature you want added post a comment and I will read it and I might add it ;)
Crack Trail: The crack trail is somewhat special. It allows you to have the block break animation of any block in the game by id. Its not in the /trails gui so to activate it you have to do /trail crack {block id} for example /trail crack 1 for the stone break animation.
If you find any bugs you can report them at the github page below
Please make sure you have the latest version before reporting any bugs as they may have already been fixed
Source: The source can be found here: https://github.com/minecreatr/BasicTrails
THANKS FOR OVER 4000 DOWNLOADS!!!
If you are using this plugin on your server feel free to comment with your servers ip and I will add it to the servers page :D
Videos:
-
View User Profile
-
Send Message
Posted Jan 21, 2015While using Spigot 1.8, the trails never show up for other or myself. However no console errors :P
Can you please fix this :] <3
-
View User Profile
-
Send Message
Posted Dec 26, 2014@OfficialJetemonMaster
You mean the plugin.yml?
-
View User Profile
-
Send Message
Posted Dec 25, 2014could you add the resources in github
-
View User Profile
-
Send Message
Posted Dec 24, 2014@acommentator
Not at the moment but I will work on adding that :)
Edit: Added in 0.0.1g
-
View User Profile
-
Send Message
Posted Dec 23, 2014Is there a way to set trails for other players? like /trail (player) magic?
-
View User Profile
-
Send Message
Posted Dec 20, 2014@jwpwnz
I havn't tested it with 1.8 yet, I will look into updating it
Edit: Updated to 1.8 :D
-
View User Profile
-
Send Message
Posted Dec 19, 2014Using spigot 1.8 i type/trail and click on one it says it works but i dont see a trail nor do other players?
-
View User Profile
-
Send Message
Posted Dec 5, 2014This is great! First functional trails plugin I've found, and it comes with a GUI and everything! Keep up the good work! ;)
As a side note, perhaps you could make the colorful trails such as redstone and potion colorable? Like any given user could do /trail dust (color). That would be cool.
-
View User Profile
-
Send Message
Posted Nov 28, 2014@SyTeck
Yeah, I removed the unnecessary reflection.
-
View User Profile
-
Send Message
Posted Nov 28, 2014@Minecreatr
You should update Github too so people get the correct source.
Why not to use reflection when it's not necessary:
But it's your plugin and you're entitled to do whatever you want with it :)
-
View User Profile
-
Send Message
Posted Nov 27, 2014@Minecreatr
While you're on a roll, haha, Could you add a button in the GUI and command to turn your trails off? Thanks!
Edit : Just Noticed in the Source that the command is /trail clear. U should probably put that somewhere here on the page.
-
View User Profile
-
Send Message
Posted Nov 27, 2014@SyTeck
Why not
Edit: Actually I am going to remove that
Edit2: Removed
-
View User Profile
-
Send Message
Posted Nov 27, 2014@Minecreatr
Ok, thanks so much!
-
View User Profile
-
Send Message
Posted Nov 27, 2014Just a quick question, why would you use reflection to register commands?
@Minecreatr
-
View User Profile
-
Send Message
Posted Nov 27, 2014@DrkMatr1984
I am currently actually working on a slight change to the permission system, I will comment on the pull request saying what to do to make it compatible (not that much)
-
View User Profile
-
Send Message
Posted Nov 26, 2014Can you do this to block people without the perm from opening the GUI?
public class CommandTrailsGui extends AbstractCommand{
public CommandTrailsGui(){ super("trails"); }
public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){ if ((sender instanceof Player && sender.hasPermission("trails.trail"))){ Trails.openTrailsGui((Player)sender); return true; } else { if(!(sender instanceof Player)) sender.sendMessage(Trails.prefix+"Sender must be player!"); if((sender instanceof Player && !(sender.hasPermission("trails.trail")))) sender.sendMessage(Trails.prefix+"You dont have permission to use trails!"); return true; } } }
I'd do it myself but I don't have the LIbrary you mention on GitHub and don't wish to add it into the Source. Besides, It's probably generally a good idea. Thanks!
Edit : Added a pull request to your Github. If you could, could you compile this for me since you have the missing dependency and either Inbox me a dropbox link or Upload the result here @ dev.bukkit.org? Thanks you!
-
View User Profile
-
Send Message
Posted Nov 9, 2014@TWSSYesterday
Ok I added the source ;)
-
View User Profile
-
Send Message
Posted Nov 6, 2014@thatguywhohatesyou
That sounds cool :) , I would love to check out your server!
-
View User Profile
-
Send Message
Posted Nov 3, 2014Good job. My players will like this.
-
View User Profile
-
Send Message
Posted Nov 3, 2014First Public plugin :D