This is a level-up handler for LevelUp plugin.
With this handler, you can create a custom level-up system for Pickaxes.
Installation:
Booster:
There are two different types of booster available in LevelUp plugin:
Configuration:
Dropdown
Handlers:
Pickaxe:
description: "It provides a level-up function for pickaxes."
event_map:
BlockBreakEvent: "HIGHEST"
TEBlockExplodeEvent: "LOWEST"
permission: "levelup.pickaxe"
# you can nominate the world, which prevents explosive
invalid_in_world:
# - plotworld
# you can turn on/off level up sound effects
sound: LEVEL_UP
levelup_message: "&bYour Pickaxe has been leveled up to &e%level%&b!!!"
count_placed_block: false
count_teexploded_blocks: false
reset_blockcount_at_lvelup: true
level_up_function: constant_diff
xp_gain_function: linear
max_level: 100
base_xp: 500
base_xp_gain: 250
meter_main_color: "&a"
meter_sub_color: "&4"
# multiplier permissions
With this handler, you can create a custom level-up system for Pickaxes.
Installation:
- install LevelUp-PickaxeHandler-x.x.x.jar into
plugins/LevelUp/handlers
folder. - restart the server or reload LevelUp (/levelup reload)
- You will find Pickaxe_config.yml in the handlers holder, and you can edit it to configure to suite your requirements.
Booster:
There are two different types of booster available in LevelUp plugin:
- Permission-based (associated with a player)
- You can define your own permission for booster. The following permission nodes are examples and defined in the Pickaxe_config.yml. "levelup.pickaxe.multiplier" "levelup.pickaxe.multiplier.global""levelup.pickaxe.multiplier.holiday"So, if a player has "levelup.pickaxe.multiplier.3" and "levelup.pickaxe.multiplier.globs.2" permission node his/her xp gain will be multiplied by 3 * 2 (6).
- Item-based (booster is tied to an item)
- This feature is there but atm, there is no way to assign XP booster to an item. It is planned to have something like crystals, which would carry how much item xp booster is given to an item.
Configuration:
Dropdown
Handlers:
Pickaxe:
description: "It provides a level-up function for pickaxes."
event_map:
BlockBreakEvent: "HIGHEST"
TEBlockExplodeEvent: "LOWEST"
permission: "levelup.pickaxe"
# you can nominate the world, which prevents explosive
invalid_in_world:
# - plotworld
# you can turn on/off level up sound effects
sound: LEVEL_UP
levelup_message: "&bYour Pickaxe has been leveled up to &e%level%&b!!!"
count_placed_block: false
count_teexploded_blocks: false
reset_blockcount_at_lvelup: true
level_up_function: constant_diff
xp_gain_function: linear
max_level: 100
base_xp: 500
base_xp_gain: 250
meter_main_color: "&a"
meter_sub_color: "&4"
# multiplier permissions