Dynamic Path/Trail Plugin

Discussion in 'Plugin Requests' started by Grepok, Jul 19, 2019.

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

    Grepok

    There is a now unsupport plugin called trails. It allowed you to set parameters for automatic paths. For example, if you walked over grass X times, it would change to gravel. I really love the idea and would like to use it on my 1.14 server. Would anyone be able to help me with this?
     
  2. Offline

    KarimAKL

    @Grepok Does this work? https://www.dropbox.com/s/8vtw41ez5xb4dh2/Trails.jar?dl=0
    Explanation of the configuration:
    Code:
    Grass_Block: 10:Coarse_Dirt
    Coarse_Dirt: 10:Gravel
    The keys ('Grass_Block' and 'Coarse_Dirt' in this example) are the name of the material for the block, the first part of the value ('10' and '10' in this example) is the amount of times players need to walk on the block for it to turn into the second part of the value ('Coarse_Dirt' and 'Gravel' in this example).
    If you have any questions or something is not working correctly, let me know and i'll look into it. :)
     
  3. Offline

    Grepok

    omg thank you so much. It seems to be working perfectly. I'll let you know if I have any issues. I assume when I and editing the config it just needs the block name to work correct?

    There is actually one 'feature' I was wondering about. Would it be possible to keep the paths in there own sort of container. Like say you have grass to dirt, dirt to gravel, and gravel to cobblestone as one path type. So gravel that was naturally occurring wouldn't be updated because it was not a part of that "container." That may or may not be a possibility, and no big deal if its too much work. This is great as is.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 21, 2019
  4. Offline

    KarimAKL

    @Grepok Yes, for it to work you just need to do this:
    Code:
    From_Material: (Amount of times to walk on, as an integer):To_Material
     
Thread Status:
Not open for further replies.

Share This Page