> For the complete documentation index, see [llms.txt](https://septogeddon.gitbook.io/fancywaystones/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://septogeddon.gitbook.io/fancywaystones/fancy-waystones/customizing-particles.md).

# Customizing Particles

## Locations

* WAYSTONE\_TARGET: The waystone target location
* WAYSTONE\_SOURCE: The waystone source location
* PLAYER: The player location

## Effect Types

### CircleParticle

CircleParticle spawns particles in circle.

#### Parameters

* Location: The center location of the circle
* Particle: The particle type (See <https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html>)
* Width: The particle width for every point
* Height: The particle height for every point
* Length: The particle length/depth for every point
* Offset X: The X offset from center location
* Offset Y: The Y offset from center location
* Offset Z: The Z offset from center location
* Gap: The gap between every point
* Count: The particle count
* Radius: The radius of the circle
* Speed: The particle speed
* Global: When set to true, everyone on the server will be able to see the particle, if not, only specific players can see it
* Script: The script that runs every tick when the particle shown

#### Script Variables

* particleEffect: The Particle parameter
* deltaX: The Width parameter
* deltaY: The Height parameter
* deltaZ: The Length parameter
* offsetX: The Offset X parameter
* offsetY: The Offset Y parameter
* offsetZ: The Offset Z parameter
* rotateX: Circle X rotation
* rotateY: Circle Y rotation
* rotateZ: Circle Z rotation
* speed: The Speed parameter
* playerX: The player X coordinate
* playerY: The player Y coordinate
* playerZ: The player Z coordinate
* player: The player (See <https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Player.html>)
* waystoneData: The waystone data
* target: The waystone data target
* tick: current tick
* visible: is visible

### LineParticle

LineParticle spawns particles in line from point A to point B.

#### Parameters

* Location A: The point A location
* Location B: The point B location
* Particle: The particle type (See <https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html>)
* Speed: The particle speed
* Count: The particle count
* Global: When set to true, everyone on the server will be able to see the particle, if not, only specific players can see it
* Width: The particle width for every point
* Height: The particle height for every point
* Length: The particle length/depth for every point
* A Offset X: The X offset from Location A
* A Offset Y: The Y offset from Location A
* A Offset Z: The Z offset from Location A
* B Offset X: The X offset from Location B
* B Offset Y: The Y offset from Location B
* B Offset Z: The Z offset from Location B
* Script: The script that runs every tick when the particle shown

#### Script Variables

* particleEffect: The Particle parameter
* deltaX: The Width parameter
* deltaZ: The Length parameter
* deltaY: The Height parameter
* sourceOffsetX: The A Offset X parameter
* sourceOffsetY: The A Offset Y parameter
* sourceOffsetZ: The A Offset Z parameter
* targetOffsetX: The B Offset X parameter
* targetOffsetY: The B Offset Y parameter
* targetOffsetZ: The B Offset Z parameter
* gap
* global
* player
* playerX
* playerY
* playerZ
* speed
* count
* waystoneData
* target
* tick
* visible

### GivePotionEffect

GivePotionEffect gives potion effect to the target player.

#### Parameters

* Tick: The potion will be given every X tick
* Duration: The potion duration
* Amplifier: The potion amplifier
* Once: If set to true, it will be given only once and will ignore Tick parameter
* Show Particle: Whether should show or not the potion particles
* Force: Force give the potion to the player
* Show Icon: Show potion icon (only in newer versions of minecraft)
* Show Ambience: Show potion ambience
* Potion Effect: The potion effect (See <https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html>)
