Set up a Rewards

Explanation of how to set up rewards

How to work

<NameReward>:
  <Reward>:
    chance: <Number from 0 to 100>
    execute:
      - '<Executors>'

Executors Type

Tag
Syntax
Description
Example

[TITLE]

title;subtitle;fade-in;stay;fade-out

Send a title to the player

[TITLE] title;subtitle,20;40,20

[BROADCAST_TITLE]

title;subtitle;fade-in;stay;fade-out

Send everyone a title

[BROADCAST_TITLE] title;subtitle;20;40;20

[ACTION]

text

Send an action message to the player

[ACTION] text

[BROADCAST_ACTION]

text

Send a message in action to everyone

[BROADCAST_ACTION] text

[MESSAGE]

text

Send a chat message to the player

[MESSAGE] text

[BROADCAST]

text

Send a chat message to everyone

[BROADCAST] text

[BOSSBAR]

title;color;style;progress;times

Send a message in the boss bar to the player

[BOSSBAR] title;YELLOW;SEGMENTED_20;1.0;5

[BROADCAST_BOSSBAR]

title;color;style;progress;times

Send a message in the boss bar to everyone

[BROADCAST_BOSSBAR] title;YELLOW;SEGMENTED_20;1.0;5

[SOUND]

sound;acute;volume

Play a sound to the player

[SOUND] BLOCK_LAVA_POP;0;1

[EFFECT]

effect;level;times

It gives an effect to the player

[EFFECT] FAST_DIGGING;2;120

[CLEAR_EFFECT]

effect (or all)

Removes an effect from the player

[CLEAR_EFFECT] BLINDNESS

[PLAYER]

command without /

Executes a command from the player

[PLAYER] balance

[CONSOLE]

command without /

Executes a command from the console

[CONSOLE] eco give %player% 100

[SUDO]

text

Send a chat message from the player

[SUDO] Hello World!

[ITEM]

material;data

Spawns an item on the ground

[ITEM] DIAMOND;0

[SPAWNMOB]

mob

Spawn a mob

[SPAWNMOB] ZOMBIE

[GIVE_XP]

level;exp

It gives you levels and/or experience

[GIVE_XP] 1;25

[TAKE_XP]

level;exp

It takes away levels and/or experience

[TAKE_XP] 1;0

[GIVE_MONEY]

number of money

It gives you money

[GIVE_MONEY] 120

[TAKE_MONEY]

number of money

It takes away money

[TAKE_MONEY] 10

[LAUNCH_FIREWORKS]

firework name

Launches fireworks

[LAUNCH_FIREWORKS] firework1

Nothing Type

<NameReward>:
  nothing:
    execute:
      - '<Executors>'

If you put "nothing" as the name of "Reward", you can set the executors that are sent, when the player will not receive any reward when the LuckyBlock is broken

Last updated