Skip to content

Mvndi/RoadSpeedMounts

Repository files navigation

download discord-shield

Discord | Hangar | Modrinth | GitHub

RoadSpeedMounts

Minecraft plugin to increase mounts (horse, cammel etc.) speed when riding over specific blocks. Paper and Folia are supported. Any Paper fork should work.

Usage

Download the latest version. Start your server. Edit the config to match your expected limitation. Then reload ingame with /rsm reload.

Each time you change the configuration, reload or restart your server.

Config

You can enable or disable the speed modifier on specific game modes with enabled_gamemode.

You can configure for each mount and each block under it the speed modifier with speed_bonus. Values need to be > -1.0. 0 = default speed, 0.5 = 50% faster, -0.3 = 30% slower, 1.0 = 100% faster, 3.0 = 300% faster etc.

Negative values will slow down the mount. It can be use to make horses slower over sand for example.

Any entity ridable by player can be affected, as long as it is on the ground. The player itself can be affected if there is no mounts and PLAYER is set in the config.

Compatibility

This plugin is compatible with Towny & TownyRoads. It is a soft dependency, the plugin still works on his own. If Towny is installed, mounts speed can be set up for inside the towns. If TownyRoads is installed, mounts speed can be set up for on the roads.

Statistics

bStats Graph Data

Build, Test & deploy

Feature requests or pull requests are welcome. Concider creating an issue first to talk about your new feature before sending a pull request.

Build

Clone the repo git clone git@github.com:Mvndi/RoadSpeedMounts.git

Build with ./gradlew assemble. The plugin .jar file will be in build/libs/.

Test

You can test the plugin directly in a Minecraft server with ./gradlew runServer. You can also try it on an other server by placing the .jar in plugins/. You might want to update the plugin config to fit your needs.

Deploy

To Github releases, Hangar & Modrinth

Push tag to git to trigger a github action release that will create a new Github release and publish to Hangar & Modrinth.

git tag 1.2.3
git push --tags

to Maven central

Require ossrhUsername & ossrhPassword in ~/.gradle/gradle.properties

./gradlew clean publish
./gradlew jreleaserDeploy

The published lib will be available on maven central.

About

Paper/Folia plugin to increase mounts (horse, cammel etc.) speed when riding over specific blocks.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Sponsor this project

Packages

 
 
 

Contributors

Languages