ExpBottle allows users to withdraw and bottle experience to trade or store for later use. Create a custom exp bottle with a specified number of points and splash it down to instantly receive all of the stored EXP.
Commands /expbottle ( /xpbottle ) [amount]
/exp
/exp [player]
/exp give [player] [amount]
/exp take [player] [amount]
Permissions
exp.show
allows users to view their experience using /exp
exp.show.others
allows users to view other's experience using /exp [player]
exp.bottle
allows users to bottle their experience using /expbottle
exp.admin
allows users to give or take experience using /exp give|take [player] [amount]
Dependencies NBTApi
Config
Code (Text):
messages:
show-exp: "&c&l[!]&r &7You have &e%exp% exp &7and need &e%exp_to_level%&r&7 more exp to level up"
show-exp-others: "&c&l[!]&r &e%player% &7has &e%exp%&r &7exp"
show-exp-others-failed: "&c&l[!]&r &cCould not find a player with this name"
exp-give-success: "&a&l✔&r &aSuccesfully given %exp_given%&a exp. &e%player% &anow has &e%exp%&a exp"
exp-take-success: "&a&l✔&r &aSuccesfully took &e%exp_taken%&a exp. &e%player% &anow has &e%exp%&a exp"
exp-give-take-failed: "&c&l[!]&r &cCould not find a player with this name"
invalid-argument: "&c&l[!]&r &cInvalid argument provided"
unknown-subcommand: "&c&l[!]&r &cUnknown subcommand. Try '/exp help'?"
invalid-qty: "&c&l[!]&r &cInvalid quantity provided."
insufficient-exp: "&c&l[!]&r &cYou do not have enough experience for this."
min-experience: "&c&l[!]&r &cThe minimum exp bottle amount is &e%amount%"
max-experience: "&c&l[!]&r &cThe maximum exp bottle amount is &e%amount%"
bottle-success: "&a&l✔&r &aSuccesfully bottled &e%amount% &aexp"
insufficient-inventory-space: "&c&l[!]&r &cYou must have atleast one free inventory slot to use this command"
expBottle:
# The maximum amount of experience a player can withdraw per bottle
maxExperience: 5000000
# The minimum amount of experience a player needs to have to create an experience bottle
minExperience: 50
# Experience bottle item data
bottleData:
name: "&bExperience Bottle"
lore:
- "&7Created by: &e%signer%"
- "&7Contains: &e%amount% XP"