Footprints

Discussion in 'Plugin Requests' started by IAmKnight, Aug 27, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    IAmKnight

    Plugin category: Role-playing, Fun

    Minecraft version: 1.10+

    Suggested name: Footprints

    What I want:
    There are absolutely loads of footprint plugins out there. However, only one meets my criteria, which was the one where you could edit which blocks had footprints on them in the config. It doesn't work, since it's a 1.6.4 version and - obviously - I am on 1.10. I thought the idea was awesome and I'm not sure if the particle even still exists for 1.10, but I heard some plugin using a particle library or something.
    As a bonus, I'd also like to be able to edit the length of how long footprints stay there.

    Thank you!

    Ideas for commands: /footprint reload

    Ideas for permissions: footprints.bypass - No foot prints

    When I'd like it by: Not sure. Maybe a week or two? However long it takes. You decide, I guess.

    Thanks again!
     
  2. @IAmKnight
    Are you sure the plugin is broken? Have you tested it? If you have, provide the full server log.

    Just because something is outdated doesn't mean it's broken, because the Bukkit API is designed to be backwards compatible.
     
  3. Offline

    Axe_Villager

    I'll try to create this plugin! :) I have never done anything similar, so it is as exciting for me as for you. I'll notify you if I'm able to or not able to create the plugin!
     
  4. Offline

    IAmKnight

    @AlvinB
    Show Spoiler
    [03:36:07 ERROR]: Could not load 'plugins/Footsteps.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/minecraft/server/v1_6_R3/Packet at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugins(CraftServer.java:297) [spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84] at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:203) [spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:535) [spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_6_R3/Packet at java.lang.Class.forName0(Native Method) ~[?:1.8.0_72] at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_72] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:64) ~[spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot-1.10.2.jar:git-Spigot-1e4dd71-5e5cf84] ... 6 more

    Yes, I know that plugins can usually be played regardless of version, which is absolutely awesome. However, this one doesn't load for some reason.

    @Axe_Villager
    Sweet, we'll see how it goes!
     
  5. @IAmKnight
    Alright, yes, that plugin uses NMS code without any reflection to make it version independent, so it is broken. Although have you contacted the author for an update?
     
  6. Offline

    IAmKnight

    @AlvinB
    Many people have, it seems he hasn't responded for about a year or two. I don't think there's a point in joining that party haha.
     
  7. @IAmKnight Wouldn't mind doing this as this is something I have never done. Can you link the plugin you're trying to use
     
  8. Offline

    Axe_Villager

    @IAmKnight I did some testing and I think I can make it work, however an unexpected occurance happened. The foot step particle flickered and everytime I jumped they dissapeared and reappeared when I landed on the ground again. I don't think that is something I can fix and thus the quality of the plugin over-all will be very lackluster. I don't know if I should continue the project since I view it as a failed attempt.
     
  9. Offline

    IAmKnight

  10. Offline

    IAmKnight

    So I'm guessing @bwfcwalshy didn't continue, which is fine.
    @Axe_Villager , could you pass over the source code so I could take a look at it with my inexperienced skills, or maybe another guy can come along and help? Cheers.
     
  11. @IAmKnight You never tagged me with your reply :p I will work on this tomorrow.
     
  12. Offline

    IAmKnight

    Thanks!

    @bwfcwalshy Just wondering if it was also possible to give footprints to not just players, but animals and mobs too? That might take a bit more work, of course. I suppose you would be able to tell what the footprint belongs to, since Rabbit footprints would probably have two prints side by side, with a gap between each one. Horses probably have one print slightly in front of the other one and to the right/left, etc. But like I said that's a little hard to do, and I think that would also mean tracking all the entities on the server which isn't the best, but I'm not sure.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 4, 2016
    I Al Istannen likes this.
  13. Offline

    I Al Istannen

    @IAmKnight
    Did @bwfcwalshy make the plugin?

    And entity footsteps is probably not the best idea, though I agree it would be cool. But it would get intensive for the server and messy for the users real quick.
     
  14. @I Al Istannen Why do I keep forgetting about this one (facepalm) I'm too focused on the custom mobs one.
     
  15. Offline

    I Al Istannen

    @bwfcwalshy
    You don't need to do it, if you don't enjoy it. If you want, I can help you out and make this :p
     
  16. @I Al Istannen Go for it, I'm working on multiple things not all Bukkit related (Mods for example) (God they're a pain at times) I can help when available
     
  17. Offline

    I Al Istannen

    @bwfcwalshy
    Okay, I will do that then :)
    I only started one mod and quickly threw modding away... Good luck!

    EDIT:
    @IAmKnight
    Could you try this?
    Link: Dropbox.
     
    Last edited: Sep 8, 2016
  18. Offline

    I Al Istannen

  19. Offline

    IAmKnight

    Sorry, been busy with exams. I'll try it out tomorrow, thanks! @I Al Istannen
     
  20. Offline

    I Al Istannen

    @IAmKnight
    No problem :)
    You just didn't get an alert from my first post and I wanted that you get one ;)
     
  21. Offline

    IAmKnight

    @I Al Istannen Sorry for not being able to test this sooner.
    The plgin works, which is awesome, thank you!
    Is it possible to set specific blocks it can work on in the config?
    Also, though I don't think this one can work, is it possible to change the length of time a footprint stays there?
    Another thing, which I think would probably not work very well, is it possible to give footprints to other entities?
    And one last thing, I've noticed the footprints disappearing while I jump in the air, then reappearing once I land, However, the previous person tried this and got the same error so I'm not sure if it can be fixed.

    P.S. You spelt FootSteps, not FootPrints, but I don't think that matters. :)
     
  22. Offline

    9UjtOAtcBA

    That's just how clients simulate particle movements clientside for the footstep particles, without clientside modifications there's nothing you can do about that.
     
    I Al Istannen likes this.
  23. Offline

    I Al Istannen

    @IAmKnight
    1. Have you looked at the config? Just add more under allowed blocks. If that is missing or there is no config, please say so!
    2. I think this is clientside. You would need to keep track of them yourself, which will make the plugin a lot heavier on the server.
    3. Same as above. Possible, but may lag. This is better than doing the above though.
    4. I spawn them just on top of the block, to make them appear correctly. Any other error is probably caused by how the client handles them (as @9UjtOAtcBA said). Heavily doubt you can change that or the other plugin did.
    Now it is called Footsteps. I am sorry ;)

    I can implement 3 and probably 2, but I don't know if your server will like it.
     
  24. Offline

    IAmKnight

    Well if you can, you could give it a shot. I'll try it out on my server to see if it destroys it or not.
    I haven't tested to see if other players see your footprints so I just wanted to make sure, do other players see the footprints that you make?
    @I Al Istannen
    Cheers :)
     
  25. Offline

    I Al Istannen

    @IAmKnight
    They should. I spawn them for the world.

    Which point exactly do you mean with "you could give it a shot"?
     
  26. Offline

    IAmKnight

    If you could give 3 and probably 2 a shot, I'll see if my server can handle it.
    Thanks @I Al Istannen
    Also, I'm used to it now but at first I found it a little difficult to type your name, haha
     
  27. Offline

    I Al Istannen

    @IAmKnight
    I will make a personal project (latin vocabulary trainer) first. Then I will have a look at this, but it might take a few days.

    Yea, the name means something along the lines of the "The unknown" in Tolkiens Elvish :p Wasn't creative enough for a real name and then stumbled upon this ;)
     
  28. Offline

    I Al Istannen

    @IAmKnight
    Sorry, I got too much things to do right now (school mostly). I will NOT be able to complete this.

    If anybody wants to do it, do it!
     
  29. Offline

    9UjtOAtcBA

    Code:
    /scoreboard objectives add WalkDistance stat.walkOneCm
    
    Repeat commandblocks with commands:
    Code:
    /execute @a[score_WalkDistance_min=25] detect ~ ~-1 ~ <blocktype> <damage_value> ~ ~-0.9 ~ /particle ~ ~ ~ footprint 0 0 0 1
    /execute @a[score_WalkDistance_min=25] ~ ~ ~ /scoreboard players set @p WalkDistance 0
    
    The above will spawn a footprint particle whenever a player has walked 25 units of in-game distance, on <blocktype>.

    That's the best I can do for you. You could also get mycommand and do some magic with it, but based on how many people have taken that advice so far, I won't even bother to explain how.
     
Thread Status:
Not open for further replies.

Share This Page