Pouches

Pouches are rewards that can be unlocked at X blocks mined, you can do every pouch customizable and also unlimited pouches!

Pouches configuration

  Tier1: // ID OF THE POUCH
    head-texture-locked: myHeadTextureLocked
    head-texture-unlocked: myHeadTextureUnLocked
    name: '&3&lTIER 1 Pouch %status%'
    lore-locked:
    - '&f'
    - '&3&l┃ &fBlocks Broken: &3%blocks%/%maxBlocks%'
    lore-unlocked:
    - '&f'
    - '&3&l┃ &fBlocks Broken: &3%blocks%/%maxBlocks%'
    - '&f'
    - '&7(( Right Click to &eopen &3))'
    blocksToUnlock: 1000
    RandomRewards: false
    RandomRewardsToGive: 2
    rewards:
    - gems add %player% 1000
    - edp giverandomtokens %player% 100000000-1000000000

To create a new pouch only add those lines of code and that's it!

head-texture-locked/unlocked

The head texture of the pouch, can be taken out from here

name

The display name of the pouch and with the %status% variable also customizable

lore-locked/unlocked

The lore of the pouch that has 2 variables: the %blocks% mined and the %maxBlocks% to unlock the pouch

blocksToUnlock

The number of blocks the player need to mine to unlock the pouch

RandomRewards

It enabled, it will execute random commands of rewards:

RandomRewardsToGive

The number of randoms commands that will be executed

rewards

The list of commands you want to execute when the pouch is claimed

Status variable

unlocked

The string you want to be displayed when it's unlocked

locked

The string you want to be displayed when it's locked

Last updated