---
description: Learn how to use Animations module
---

# Sending Animations

{% hint style="warning" %}
Every command in this module begins with /at sendAnimation
{% endhint %}

{% hint style="success" %}
All system messages are handled! If you're using version below 1.16, plugin will automatically send you prepared legacy message with the same text!&#x20;
{% endhint %}

## Command Format

{% hint style="info" %}
**Example:**\
/at sendAnimation \<Players> \<Parameters> \<Animation> \[AnimationArguments] \<Title%subtitle%subtitle>
{% endhint %}

**\<Players>** - Receivers\
**\<Parameters>** - Animation Parameters\
**\<Animation>** - Animation Name\
**\[AnimationArguments]** - Depends on animation, hex colors or others\
**\<Title%subtitle%subtitle>** - Title and subtitle split with %subtitle%

## **\<Players> Parameter**

Define receivers with parameter \<Players>.

* Sending animation to everybody: **all**
* Sending animation to single player: **Player1**
* Sending animation to multiple players: **Player1,Player2**
* Sending animation to selected players by permission: **-p:permission.receive**
* Sending animation to selected players by world: **-w:worldName**
* Select players by combining: **-p:some.permission,-w:worldName,Player1**\
  &#xNAN;_(This mix function works as or, so if player has permission or is in world named ...)_

## Animation \<Parameters>

Defines animation's custom or default settings.

* Configurable boss-bar color: **cc:{color}**\
  &#xNAN;_(Colors: PINK,BLUE,RED,GREEN,YELLOW,PURPLE,WHITE)_
* Configurable position: **p:{position}**\
  &#xNAN;_(Positions: TITLE,SUBTITLE,BOSSBAR,ACTIONBAR)_
* Configurable animation duration: **d:{duration}**\
  &#xNAN;_(Feel free to set your own duration in seconds)_
* Configurable frames-per-second: **fps:{fps}**\
  &#xNAN;_(Minimum is 1, and maximum is 20, everything above will be ignored)_

If you want to mix those parameters, use ',' to split them.

{% hint style="danger" %}
Type **@** to use default settings
{% endhint %}

{% hint style="info" %}
Mix example: **cc:RED,p:ACTIONBAR,d:20,fps:20**
{% endhint %}

## Animation Name

Animation name will be displayed in tab completer!

<figure><img src="https://2455753790-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqkqbNNw6D3PqsSZRgSFa%2Fuploads%2FsIFSIkcZehqV97WWNo8e%2Fimage.png?alt=media&#x26;token=9294a947-13d5-4014-aa4c-edf9c43422d8" alt=""><figcaption><p>Tab-Complete example</p></figcaption></figure>

## \[AnimationArguments] Parameter

Those arguments is **REQUIRED** to create selected animation. Some animations don't have arguments, some do. Look for Animation creation in [animations](../animations "mention") section!

## Title and Subtitle

Title and subtitle are split by **%subtitle%**.

* If you're using **p:SUBTITLE**, main title will be subtitle!
* If you're using **p:BOSSBAR** or **p:ACTIONBAR**, subtitle will be ignored!

{% hint style="info" %}
**Example:**\
Welcome here%subtitle%M3II0!
{% endhint %}

{% hint style="danger" %}
**Before asking question, try to use CTRL+F5. This wiki is constantly updated!**
{% endhint %}
