MonitoringMinecraft MonitoringMinecraft

JumpPad

Плагин PaperPurpurSpigot

A simple plugin to turn pressure plates into jump pads, with added customizability

3.4к скачиваний 11 подписчиков
Оцените первым

This plugin allows you to turn any pressure plate into a "Jump Pad", which, if the player steps on, they will be propelled in a specified direction.

I'll be making a video tutorial on this soon. If you have any issues, let me know on Github.

Behavior

There are two types of Jump Pads:

Relative

Upon stepping on a Relative Jump Pad, the player's velocity in the X and Z directions will be multiplied by the Jump Pad's Z value, and the player's velocity in the Y direction will be set to the Jump Pad's Y value.

Fixed

Fixed Jump Pads have an additional property - the X value. Fixed Jump Pads will change a player's velocity in the X, Y, and Z directions to its X, Y, and Z values respectively, much like what a Relative Jump Pad does in the Y direction.

Jump Pads can be created in two ways:

Implicitly

If implicit-jumppads is set to true in the config.yml, all pressure plate types listed in jumppad-materials will be implicitly considered Jump Pads as soon as a player steps on them. implicit-jumppads is false by default.

Explicitly

Regardless of whether the value of implicit-jumppads is true, you can always define the properties of a Jump Pad explicitly

Commands

/jumppad set

Creates a new Jump Pad if it does not already exist and uses the second argument to determine which value to set. These are the valid options:

x

Must be a valid floating point number. This option is only available for Fixed Jump Pads. E.g. /jumppad set x -1

y

Must be a valid non-negative floating point number. E.g. /jumppad set y 1

z

Must be a valid floating point number. E.g. /jumppad set z 1.5

sound

A sound that will optionally be played upon activation of the Jump Pad. Sub-options:

type The name of the sound to be played. You can find a full list of sound names at https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html E.g. /jumppad set sound type BLOCK_NOTE_BLOCK_PLING

active Whether the sound should be played on activation of the Jump Pad. E.g. /jumppad set sound active false

pitch The pitch of the sound to be played. This must be a valid floating point number between 0.0 and 2.0. The default is 1.0. E.g. /jumppad set sound pitch 2

volume How loudly the sound should play. This must be a valid floating point number between 0.0 and 2.0. The default is 1.0. E.g. /jumppad set sound volume 0.5

particle activated

Particles that will be spawned upon activation of the Jump Pad. Sub-options: active Whether the particles should be spawned. E.g. /jumppad set particle activated active false

type Which type of particle should be spawned. You can find a full list of particle names at https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html. E.g. /jumppad set particle activated type SMOKE

count How many particles should be spawned at once. E.g. /jumppad set particle activated count 10

particle passive

Particles that will be spawned periodically even when the Jump Pad has not been activated by a player.

Sub-options: Takes the same suboptions as activated but with an additional delay parameter, which measures the interval in ticks (20 ticks = 1 second) between spawning particles. E.g. /jumppad set particle passive delay 40

/jumppad toggle

If the selected Jump Pad is active, it will be deactivated. If the selected Jump Pad is not active, it will be activated.

/jumppad delete

Deletes all data associated with the pressure plate you are looking at. This will stop it from being considered a Jump Pad if implicit-jumppads is false, or if it is not, revert its data back to the default.

/jumppad info

Tells you what properties you gave the pressure plate you are looking at with /jumppad set. If you didn't set anything custom for that pressure plate, it will return the information of the default jumppad set in config.yml.

/jumppad reload

Reloads the config.yml from the disk. This is needed to apply any changes made to this file while the server is running.

Permissions

Only players with the jumppad.manage permission can use this command. By default, only server operators have this permission.

Only players with the jumppad.use permission can use the jump pads. By default, everyone has this permission.

Additional Info

bStats

This plugin collects data on its usage using bStats, which is a common practice for plugins. However, you can opt out of this data collection by setting enabled to false in bStats/config.yml in the plugins folder, or by changing the value of disable-bstats in the plugin's config.yml to true.

Update Checking

This plugin will attempt to use the Github API to determine whether it is up to date and will notify you if an update is available. If you would like, you can opt out of this by changing the value of disable-update-checking to true in the config.yml.

Support Me

Server Hosting

Need a host for your Minecraft Server? Using this affiliate code for Apex Hosting supports me as a creator:

Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
360 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
CLOUDWORLD
0 онлайн
1.16.5 — 1.21.11 версия
Пвп, Арены, Дуэли, Кейсы, донаты, /free, приваты, спавн,
Battle Mine
Battle Mine Java + BE
0 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
MigosMc
MigosMc Java + BE
520 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат