Shape
This page explains how to configure particle shapes, animations, and interactions inside the plugin.
🔷 shapes
shapes
All shape configurations are listed under the shapes:
section. Each shape has its own unique name and configuration block.
shapes:
yourShapeName: # custom name
...
✅ Basic Properties
enabled
Whether the shape is active (true
or false
).
shape
The type of shape (All types can be found below the table).
location
Where the shape appears in the world. Format: world(x,y,z,yaw,pitch)
.
Shapes: CIRCLE, SQUARE, HEXAGION, PENTAGON, OCTAGON
⚙️ settings
settings
Customize how the shape appears.
settings:
radius: 5
points: 50
fill:
use: false
radius: 1
view-distance: 30
update-interval: 1
angle:
type: AROUND_CENTER
value: 45
Settings Explained:
radius
Size of the shape (distance from center).
points
Number of points used to draw the shape (higher = smoother).
view-distance
Maximum distance from which players can see the shape.
update-interval
How often the shape updates (in ticks, 20 ticks = 1 second).
Specific settings:
use
- Whether the shape is filled (true
) or just an outline.
radius
- How much space to fill inside if use
is true.
Example:
fill:
use: true
radius: 1
🎞️ animation
animation
Controls how the shape moves.
animation:
type: ORIGINAL
axis: VERTICAL_RIGHT
direction: LEFT
speed: 0.5
tolerance:
global: 0.5
bounce:
collision-gap: 1
Animation Types:
ORIGINAL
– Particles stand still, don't moveROTATING
– Spins the shape.PULSE
– Expands and contracts.BOUNCE
– Two particles bounce inside the shape.ORBITING
– Particles orbit around.SPIRAL
– DNA-style spiral movement.
Common Animation Options:
axis
Direction of movement. All types can be found below the table.
direction
The spin/movement direction: LEFT
, RIGHT
.
It is only used when the particles are moving.
speed
Speed of the animation (0.5 is slow, 5 is fast). It is only used when the particles are moving.
Axis: HORIZONTAL_RIGHT, VERTICAL_LEFT, VERTICAL_RIGHT, VERTICAL_LEFT
Setting individual animations
Each animation has its own settings. Animations that do not appear on this tab do not need any specific settings.
Type: PULSE
min-radius
- Specifies the radius over which the animation will pulse, this parameter must always be smaller than the radius (in the settings section)
pulse:
min-radius: 3
✨ particle
particle
particle:
type: FLAME
Instructions for setting up the particle are available here.
🚪 enter
enter
enter:
success-actions:
- message: '&a&lYou have entered the space!'
Triggered when a player enters the shape. Everything available about actions can be found here
Conditons:
In the enter section you can also play with conditions
enter:
conditions:
- permissions:
- 'shape.enter'
failure-actions:
- message: '&cYou don''t have the required permissión you cannot enter the circle'
- knockback: '2;0.1'
success-actions:
- message:
- '&aYou entered the circle'
- sound: ENTITY_EXPERIENCE_ORB_PICKUP;1;1
conditions
– Requirements a player must meet to enter the shape (e.g. permissions).
success-actions
– Actions triggered when all conditions are met (e.g. messages, sounds).
failure-actions
– Actions triggered when any condition is not met (e.g. knockback, warnings).
Tolerance:
You may have noticed that when you have the axis set to (VERITCAL_LEFT,
VERTICAL_RIGHT
) you don't always get actions, so I created a tolerance that solves this problem.
tolerance:
global: 0.5
Defines how close a player must be to the shape to trigger interactions (like entering). You can also use:
tolerance:
x: 0.5
y: 1.0
z: 0.3
To define separate tolerance for each direction.
view-conditions
Through this section you can set according to the conditions whether the player will see the shape or not
All available conditions can be found here
📝 Full Example
shapes:
test03:
enabled: true
shape: CIRCLE
location: world(105,80,-75,19.8,118.8)
settings:
radius: 5
points: 50
fill:
use: false
radius: 1
view-distance: 30
update-interval: 1
angle:
type: AROUND_CENTER
value: 45
animation:
type: BOUNCE
axis: VERTICAL_RIGHT
direction: LEFT
speed: 0.5
bounce:
collision-gap: 1
particle:
type: FLAME
enter:
tolerance:
global: 0.5
success-actions:
- message: '&a&lYou have entered the space!'
Last updated