Sueta
SP

SpeedRoads

1.0.1

Build roads and walk faster on them

·Plugin

What it does
SpeedRoads enables you and your players to build roads that boost their movement speed while walking on it.
A road is defined by a layer of blocks and you can have as many road types with different speeds as you want.

Example of a road configuration
2020-05-13_21.02.55.png

Features

  • get a speed boost while walking on a road
  • speed boost applies to players and configurable living entities (e.g. horses)
  • allows different types of roads, with different layers and speeds
  • supports block data, e.g. only selecting waterlogged spruce_stairs
  • uses attributes and thus works fine with potion effects and plugins (assuming they are aware of the attribute system)
  • accelerates and decelerates gradually, preventing abrupt FOV changes

Installation and Configuration
Drop the SpeedRoads.jar in your plugin folder and (re-)start your server.

Default config.yml
# maximum acceleration per tick
stepSize: 0.01
# Affected non-player living entities, may affect performance negatively
# See https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
affectedEntities: []
roads:
  # a unique identifier for the road, not visible anywhere
  road1:
    # the speed multiplier. 0.5 -> 50%
    speed: 0.5
    # the list of blocks making up the road, use ANY to skip this block
    # the first entry is the block where the foot is current on, so for players on a full block typically air, but for non-full blocks the block they're standing on
    # For possible blocks see https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
    # To check for BlockData write it after the type in []
    blocks:
      - ANY
      - GRAVEL
      - COBBLESTONE
      - COBBLESTONE
  road2:
    speed: 0.2
    blocks:
      - GRASS_PATH
  road3:
    speed: 0.2
    blocks:
      - FARMLAND[moisture=7]

Commands:
/roads reload - reloads the config

Permissions:
speedroads.admin - gives access to the /roads reload command

Other
This plugin has been originally developed for the Craftlancer/CraftCitizen survival Minecraft server.

If you enjoy this or any of my other work please consider donating. :)

Similar projects

Plugin →