SpeedyPaths icon

SpeedyPaths -----

Makes you run faster on grass paths.



When you right click on a grass block with a shovel in turns in to a path. These were added a while ago and are just cosmetic. However, I figured I would add some use to them. Players now get a speed boost when walking on paths. The speed boost that it gives is configurable. Also, as of version 2.0.0, you can now choose what blocks give players a speed boost in the config.

Here is the default config:

Code (YAML):

# The level of speed players will get. Minimum 1.
# Default: 1
level
: 1

# Duration (in ticks) that the effect should last for. This will update every time the player moves so it should be
# set to a fairly low value. If the effect keeps running out and re-activating whilst running on a path, increase this number.
# Default: 20 (1 second)
duration
: 20

# If set to true, it will remove any previous speed effect before applying the amplifier above.
# If set to false, it will only apply if the player does not currently have a speed effect.
# Default: false
remove-previous-speed-effect
: false

# List of blocks tha tthe speed effect will activate on. If you want to add more blocks to this list, write the name
# of the block as it appears in this list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html.
# Default: - GRASS_PATH
blocks
:
 - GRASS_PATH
 

You should be able to just drop the config in to your plugins folder and restart the server. To apply any changes made to the config without restarting the server, you can do /speedypaths reload.

There are also two permissions for control on the server:

Code (YAML):

speedypaths.use - Gives access to the effect. Players without this permission will not receive any speed boost.

speedypaths.reload - Players with this permission can use /speedypaths reload.
 

Report any bugs/weird behaviour to me on discord - John_Yuki#7556
Resource Information
Author:
----------
Total Downloads: 533
First Release: Jan 5, 2021
Last Update: Jan 11, 2021
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings