NovaJump
NovaJump 将任意方块变为弹射板。踏入水中,你就会被发射向天空;走过压力板,就像站在蹦床上一样。在走廊尽头放置一块石头平台,无论玩家面朝哪个方向,都会被推向正南方。
每个方块都拥有独立的弹射力度、音效和粒子效果。弹射后立即坠落时不会受到伤害,因此玩家不会摔断腿。系统设有全局的玩家冷却时间,并在操作栏中显示计时器,同时每个方块也有单独的冷却设置。若将全局冷却设为 0,压力板就会变成无限使用的蹦床。
水平推力有两种工作方式:沿玩家视角方向,或根据配置文件中的固定角度。第二种方式非常适合跑酷地图,因为弹射方向必须是固定的。
可调参数
每个触发器都有各自独立的垂直力度、水平推力、音效(名称、音量、音调)、粒子类型与数量、冷却时间以及开关控制。你还可以选择此功能生效的世界。
音效和粒子会在整个区域内播放,其他玩家也能看到并听到每一次弹射。novajump.use.<trigger> 权限可用于锁定特定弹射板,仅限管理员使用。插件会自动识别 PlaceholderAPI,并提供 %novajump_launches% 和 %novajump_cooldown% 占位符。消息支持英文和俄文,采用 MiniMessage 格式,包含十六进制颜色代码。
命令
| 命令 |
功能说明 |
/novajump reload |
重新加载配置文件 |
/novajump test [trigger] |
测试弹射效果,不重置冷却时间 |
/novajump setforce water_boost 2.5 0.5 |
修改力度并将更改写入 config.yml |
执行命令需要 novajump.admin 权限,默认情况下管理员拥有该权限。所有弹射板对普通玩家开放;若要锁定某个特定弹射板,可剥夺其 novajump.use.water_boost 权限。如果你习惯使用旧版命令,/jumpreload 仍然有效。
安装方法
将 jar 文件放入 plugins/ 目录,重启服务器,然后打开 plugins/NovaJump/config.yml:
triggers:
water_boost:
trigger_types:
- WATER
boost_power: 1.8 # 垂直速度
horizontal_force: 0.5 # 额外推力
horizontal_mode: look # look = 玩家朝向, fixed = 水平偏航角
cooldown_ticks: 20 # 20 tick = 1 秒
sound: ENTITY_FIREWORK_ROCKET_LAUNCH
particle: EXPLOSION
particle_count: 20
随后运行 /novajump reload。配置文件中每个选项都附有注释说明。
兼容性
适用于 Paper、Spigot 和 Purpur 1.18 至 1.21.x 版本,服务器端需 Java 17。已在 1.20.4 和 1.21.1 上测试通过。无强制依赖项,PlaceholderAPI 为可选组件。不支持 Folia。
多年来 Minecraft 重命名的粒子名称(如爆炸、烟雾、粉尘等)会自动解析,因此同一份配置文件可在新旧服务器上通用。
注意事项
默认的 cooldown_seconds: 3 也会阻止压力板作为蹦床使用,如需无限弹跳请将其设为 0。弹射计数器位于 stats.yml 中,对应占位符为 %novajump_launches%。如果输入过大的 boost_power,插件会将其上限限制为 5.0,并记录警告日志,而不会将任何人发射到轨道上。
作者:B1gTorch。许可证:MIT。
NovaJump
NovaJump turns any block into a launchpad. Step into water and you get shot into the sky. Walk over pressure plates and you're on a trampoline. Put a stone platform at the end of a corridor and it throws everyone due south, no matter which way they're facing.
Every block gets its own launch power, sound and particles. Fall damage right after a launch is cancelled, so nobody breaks their legs. There's a global per-player cooldown with a timer right in the action bar, plus a separate cooldown for each block. Set the global one to 0 and plates turn into an endless trampoline.
Horizontal push works two ways: along the player's view direction, or at a fixed angle from the config. The second one is great for parkour maps where the launch has to go one way only.
What you can tune
Each trigger has its own vertical power, horizontal push, sound (name, volume, pitch), particle type and count, cooldown, and an on/off switch. You also pick the worlds where all of this works.
Sounds and particles play for the whole area, so other players see and hear every launch. The novajump.use.<trigger> permission locks a specific pad if it should be admin-only. PlaceholderAPI is picked up automatically and gives you %novajump_launches% and %novajump_cooldown%. Messages come in English and Russian, MiniMessage formatting with hex colors included.
Commands
| Command |
What it does |
/novajump reload |
Reloads the config |
/novajump test [trigger] |
Launches you to test things, cooldowns untouched |
/novajump setforce water_boost 2.5 0.5 |
Changes the force and writes it to config.yml |
Commands need novajump.admin, which ops have by default. The pads themselves are open to everyone; negate novajump.use.water_boost to lock a specific one. The old /jumpreload still works if you got used to it.
Setup
Drop the jar into plugins/, restart, open plugins/NovaJump/config.yml:
triggers:
water_boost:
trigger_types:
- WATER
boost_power: 1.8 # vertical speed
horizontal_force: 0.5 # extra push
horizontal_mode: look # look = player's facing, fixed = horizontal_yaw angle
cooldown_ticks: 20 # 20 ticks = 1 second
sound: ENTITY_FIREWORK_ROCKET_LAUNCH
particle: EXPLOSION
particle_count: 20
Then run /novajump reload. Every option in the config ships with a comment.
Compatibility
Works on Paper, Spigot and Purpur 1.18 through 1.21.x, needs Java 17 on the server. Tested on 1.20.4 and 1.21.1. No hard dependencies, PlaceholderAPI is optional. Folia isn't supported.
Particle names that Minecraft renamed over the years (explosions, smoke, dust and friends) resolve automatically, so one config works on old and new servers alike.
Good to know
The default cooldown_seconds: 3 also blocks plate trampolines, set it to 0 if you want bouncing. Launch counters behind %novajump_launches% live in stats.yml. If you type a huge boost_power, the plugin caps it at 5.0 and logs a warning instead of launching anyone into orbit.
Author: B1gTorch. License: MIT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧