PearlMotion β Motion Customizer for Ender Pearls
PearlMotion is a PocketMine-MP 5.x plugin that lets you customize the motion speed of thrown ender pearls on each axis (X, Y, Z).
To the reviewer
- Please unban me from the pocketmine discord
- I repent my actions.
- @trix.pro
π¦ Features
- Change ender pearl throw speed per axis.
- Simple configuration file.
- Lightweight and optimized.
βοΈ Configuration
config.yml:
# Adjust the motion axis values (float)
pearl-motion:
x: 1.4
y: 1.4
z: 1.4
- x β Horizontal motion (left/right)
- y β Vertical motion (up/down)
- z β Horizontal motion (forward/backward)
Values must be floats.
For example: 1.0 = default speed, 2.0 = double speed, 0.5 = half speed.
π₯ Installation
- Place the plugin
.phar file into your serverβs plugins/ folder.
- Start the server to generate
config.yml.
- Edit
config.yml to your liking.
- Restart the server.
π How it Works
Whenever a player throws an ender pearl:
- The plugin intercepts the launch event.
- It multiplies the pearl's motion by your configured values.
- The pearl travels faster or slower depending on your settings.
π Requirements
- PocketMine-MP 5.x
- PHP 8.1+
β οΈ Errors
If a value in pearl-motion is not a float, the plugin will throw a ConfigException and refuse to enable.