描述
MinecartCollisions 允许玩家在矿车中乘坐时,不会被轨道上的怪物、动物、村民或废弃矿车阻挡。无需任何配置。只需将其放入你的插件文件夹并重启服务器即可。然后享受你的矿车系统吧!
该插件支持 CraftBukkit/Spigot 1.12.2、1.13.2 及更高版本。对于旧版本的 CraftBukkit/Spigot,请参阅 Bukkit 网站上的版本。
详情
如果玩家正在乘坐矿车,并遇到怪物、动物或非玩家实体(如村民),且该生物不在其自身的矿车中,则该生物将被传送至一旁,玩家的矿车将继续畅通无阻地前进。传送可能会将生物传送到方块内部,因此它可能会因此死亡。
如果玩家遇到空矿车,该矿车将被移除。
请注意,站在轨道上的其他玩家或乘坐在自己矿车中的生物不会受到影响。
显示已传送的苦力怕且启用调试消息的截图。
权限
该插件无需授予任何特殊权限即可按上述方式工作。你可以使用以下可选权限对插件进行微调:
minecartcollisions.exempt - 如果你希望为某玩家禁用此插件并恢复原版行为,请给予该玩家此权限。你可以利用此功能仅对某些职阶启用插件。
minecartcollisions.debug - 当生物被传送或矿车被移除时,向玩家的聊天窗口打印调试消息。通常只有管理员才需要此权限。
请注意,如果你给自己赋予了 '*' 权限,则需要将 minecartcollisions.exempt 设置为 false,此插件才能对你生效。
命令/配置
无。
杂项
该插件使用 bStats 指标系统来提供匿名使用数据。你可以通过修改 plugins/bStats/config.yml 全局退出统计。指标数据可在 查看
Description
MinecartCollisions allows players to ride in minecarts without being stopped by monsters, animals, villagers, or abandoned minecarts on the tracks. No configuration is required. Just drop it in your plugins folder and restart your server. Then enjoy riding on your minecart system!
This plugin works with CraftBukkit/Spigot 1.12.2, 1.13.2 and beyond. For older versions of CraftBukkit/Spigot, see the version on the Bukkit site.
Details
If a player is riding in a minecart and encounters a monster, animal, or non-player entity (like a villager), and the mob is not in its own minecart, the mob will be teleported out of the way, and the player's minecart will continue unimpeded. The teleport may move the mob inside a block, so it may die as a result.
If the player encounters an empty minecart, the minecart will be removed.
Note that other players standing on the tracks or mobs riding in their own minecarts will not be affected.
Screenshot showing teleported creeper with debug message enabled.
Permissions
This plugin will work as described above without having to grant any special permissions. You can fine-tune the plugin with the following optional permissions:
minecartcollisions.exempt - Give this permission to a player if you want to disable the plugin for that player and have the vanilla behavior. You could use this to enable the plugin for only some ranks.
minecartcollisions.debug - Prints a debug message to the player's chat when a mob is teleported or a minecart is removed. Normally only an administrator would want this permission.
Note that if you give yourself the '*' permission, you will need to set minecartcollisions.exempt to false for this plugin to work for you.
Commands/Configuration
None.
Miscellaneous
This plugin uses the bStats metrics system to provide anonymous usage data. You may opt-out globally by changing plugins/bStats/config.yml. The metrics are available at
评论 0
登录后参与评分
还没有评论,来抢沙发吧