item:
# 'NONE' - no changed
# '%displayname%' - the item displayname
# '%level%' - the item level
# '%progressbar% - the progress bar (if it's enabled)
# '%percentage%' - the progress percentage
# '%current%' - the current xp amount the tool have
# '%needed%' - the amount of xp needed to levelup
name: 'NONE'
lore:
- ''
- '&7Level: &b%level% &7(%percentage%)'
- '&7XP: &b%current%&7/&3%needed%'
- '%progressbar%'
progress-bar:
enabled: true
settings:
completed: '&a|'
incompleted: '&c|'
levels:
settings:
custom-costs: true
cost: '200' # 'level * <cost>' - for example '5 * 200'
sound: ENTITY_PLAYER_LEVELUP # the sound that the player hear when the pickaxe levelup - use 'NONE' to disable it
costs:
'1': 100
'2': 200
'3': 300
rewards:
'1':
commands:
# '<>' - optional argument
# '[console] command' - this command is being executed by the console
# '[player] command' - this command is being executed by the player, it need the permission for the command otherwise it won't work
# '[message] message' - send a message to the player
# '[enchantment] name <level>' - apply an enchantment to the player's pickaxe, if the level isn't specified then a +1 level of the specified enchant will be applied
# '%player%' - the player name
- '[console] give %player% stone 1'
- '[enchant] DIG_SPEED 1'
- '[message] &7Your pickaxe is now level &a1&7, well done!
Last active
January 3, 2019 00:42
-
-
Save iGabyTM/984c6d06396762b1fe8b5db0bbeeeb3c to your computer and use it in GitHub Desktop.
ASD's Upgradable pickaxe plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blacklist: # the blocks listed here will give 0 xp | |
- COBBLESTONE | |
values: | |
- STONE: 10 | |
- STONE;1: 10 # if the item meta isn't specified, then the other blocks will have the same value | |
- DIRT: 1 | |
- COAL_ORE: 20 | |
- IRON_ORE: 25 | |
- GOLD_ORE: 30 | |
- _OTHER_: 1 # this value is used for the other blocks that 't specified here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thansk for the ideas