PAPI Animations
A simple system that handles animations using PlaceholderAPI!
Simply create a config of any name and put your animations there.
Here's an example:
Code (YAML):
animations:
example:
type
: simple
period
: 10
frames
:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
example2:
type
: advanced
frames:
0
:
"First frame"
10
:
"Delayed frame"
40
:
"Another frame"
exampleReward:
type
: simple
period
: 5
frames
:
-
"E"
-
"EX"
-
"EXA"
-
"EXAM"
-
"EXAMP"
-
"EXAMPL"
-
"EXAMPLE"
-
"EXAMPLE R"
-
"EXAMPLE RE"
-
"EXAMPLE REW"
-
"EXAMPLE REWA"
-
"EXAMPLE REWAR"
-
"EXAMPLE REWARD
"
You got 2 types of animations, Simple and Advanced.
Simple has a single period which is used to update the frames.
The number is in ticks (20 ticks = 1 second)
Advanced animation meanwhile has frame specific durations.
The number is a delay after which the frame is gonna show.
Just want to note that the number is absolute! Not relative
Installation:
Simply drop the jarfile into your plugins folder
Commands:
/papianimations reload
Usage:
Use %papianimations_animationId% placeholder to show your animation!
Example: %papianimations_exampleReward%