eLuckyBlock
  • Main page
  • Plugins
    • eLuckyBlock FREE
      • Commands & Permissions
      • Create a LuckyBlock
      • Set up a LuckyBlock
      • Create a Rewards
      • Set up a Rewards
      • Create an Animation
      • General Settings
      • Hooks
      • Plugin's files
Powered by GitBook
On this page
  1. Plugins
  2. eLuckyBlock FREE

Create an Animation

How to create and use an animation

To create an animation, just go to animations.yml, copy and paste an example animation, or edit it directly.

Example animation:

fast:
  interval: 4
  texts:
    - '&d&lYOU ARE VERY FAST!'
    - '&f&lYOU ARE VERY FAST!'
    - '&d&lYOU ARE VERY FAST!'
    - '&f&lYOU ARE VERY FAST!'
    - '&d&lYOU ARE VERY FAST!'
    - '&f&lYOU ARE VERY FAST!'
    - '&d&lYOU ARE VERY FAST!'
    - '&f&lYOU ARE VERY FAST!'
    - '&d&lYOU ARE VERY FAST!'
    - '&f&lYOU ARE VERY FAST!'
    - '&d&lYOU ARE VERY FAST!'
    - '&f&lYOU ARE VERY FAST!'
    - '&d&lYOU ARE VERY FAST!'
    - '&f&lYOU ARE VERY FAST!'

Animations can be used to embellish your luckyblocks. They can be used for:

  • Titles

  • Actions

  • BossBar

To add an animation, just go to rewards.yml, and after the title / message of the actions / title of the bossbar, add a placeholders: %animations_<animation name>%.

Example on rewards.yml

exampleNormal:
  1:
    chance: 60
    execute:
      - '[TITLE] %animation_luckyblock%;&5&l┃ &dYou found 100$;20;40;20'

Example on animations.yml

luckyblock:
  interval: 4
  texts:
    - '&d&lL'
    - '&d&lLU'
    - '&d&lLUC'
    - '&d&lLUCK'
    - '&d&lLUCKY'
    - '&d&lLUCKYB'
    - '&d&lLUCKYBL'
    - '&d&lLUCKYBLO'
    - '&d&lLUCKYBLOC'
    - '&d&lLUCKYBLOCK'
    - '&d&lLUCKYBLOCK'
    - '&5&lL&d&lUCKYBLOCK'
    - '&5&lLU&d&lCKYBLOCK'
    - '&5&lLUC&d&lKYBLOCK'
    - '&5&lLUCK&d&lYBLOCK'
    - '&5&lLUCKY&d&lBLOCK'
    - '&5&lLUCKYB&d&lLOCK'
    - '&5&lLUCKYBLO&d&lCK'
    - '&5&lLUCKYBLOC&d&lK'
    - '&5&lLUCKYBLOCK'
PreviousSet up a RewardsNextGeneral Settings

Last updated 3 years ago