Discord | Hangar | Modrinth | GitHub
RoadSpeedMounts
一个 Minecraft 插件,用于在骑乘生物(如马、骆驼等)经过特定方块时增加其速度。 支持 Paper 和 Folia。任何 Paper 分支都应能正常工作。
用法
下载最新版本。启动服务器。编辑配置文件以符合您预期的限制。然后在游戏内使用 /rsm reload 重新加载。
每次更改配置后,请重新加载或重启服务器。
配置
您可以使用 enabled_gamemode 在游戏模式中启用或禁用速度加成。
您可以为每种骑乘生物及其下方的每个方块配置速度加成,使用 speed_bonus。
数值需要大于 -1.0。
0 = 默认速度,0.5 = 快 50%,-0.3 = 慢 30%,1.0 = 快 100%,3.0 = 快 300% 等。
负值会使骑乘生物减速。例如,可以用来让马在沙地上跑得慢一些。
任何玩家可骑乘的生物只要在地面上都会受到影响。 如果配置中设置了 PLAYER 且没有骑乘生物,玩家本身也会受到影响。
兼容性
此插件与 Towny & TownyRoads 兼容。 它是一个软依赖,插件本身仍可独立工作。 如果安装了 Towny,可以为城镇内的区域设置骑乘生物的速度。 如果安装了 TownyRoads,可以为道路上设置骑乘生物的速度。
统计数据
构建、测试与部署
欢迎提交功能请求或拉取请求。建议在发送拉取请求之前先创建一个问题来讨论新功能。
构建
克隆 仓库 git clone git@github.com:Mvndi/RoadSpeedMounts.git
使用 ./gradlew assemble 进行构建。插件 .jar 文件将位于 build/libs/ 中。
测试
您可以使用 ./gradlew runServer 直接在 Minecraft 服务器中测试该插件。
您也可以将 .jar 文件放入 plugins/ 目录中,在其他服务器上尝试。
您可能需要更新插件配置以适应您的需求。
部署
发布到 GitHub releases、Hangar 和 Modrinth
推送标签到 git 以触发 GitHub Action 发布,这将创建一个新的 GitHub Release 并发布到 Hangar 和 Modrinth。
git tag 1.2.3
git push --tags
发布到 Maven Central
需要在 ~/.gradle/gradle.properties 中配置 ossrhUsername 和 ossrhPassword
./gradlew clean publish
./gradlew jreleaserDeploy
发布的库将在 Maven Central 上可用。
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
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.
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 RoadSpeedMounts
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.4.3
支持从 1.20 到 26.3
1.4.2
修复 y 轴高度限制配置始终返回 false 的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
创建用户友好的菜单以前往不同的世界
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧