ModsJava
† UpgradesPickaxe | Easily upgrade your pickaxe †
#1 plugin for a NON-Op Prison!. Free Minecraft Java mod for 1.8, 1.9.
⬇ Download on SpigotWith this plugin, you can upgrade your pickaxe!
Example:
If you have a wood pickaxe in the hand, it will change to a stone pickaxe. You can change the price in the config.yml.
The upgrades are:
Wood pickaxe -> Stone pickaxe
Stone pickaxe -> Iron pickaxe
Iron pickaxe -> Diamond pickaxe
» REQUIRES VAULT «
If vault isn't installed, the plugin won't work!
Please if you don't have it, download it here!
Main commands:
/upgradespickaxe or /ugp -> Main command for the plugin, shows help, version etc...
/upgrade -> Command for upgrading your pickaxe, you need to hold it in the hand or it won't work.
Permissions:
You can change the permissions on the config, the defaults are:
/upgradespickaxe -> upgradespickaxe.cmd
/upgrade -> upgradespickaxe.use
Receive updates -> upgradespickaxe.receive.updates
Spoiler: config.yml
Code (YAML):
#----------------------------------------------------------#
# #
# UpgradesPickaxe #
# Easily upgrade your pickaxe #
# #
# Developed by zJavaError #
# #
#----------------------------------------------------------#
#----------------------------------------------------------#
# #
# Config Section #
# Edit permissions and other #
# stuff here #
# #
#----------------------------------------------------------#
#Should the plugin be enabled?
#Default: true
enable-plugin : true
#Should players with uprgadespickaxe.receive.updates receive updates?
checkForUpdatesOnJoin : true
#Permission to use /upgradespickaxe
commandPerm : 'upgradespickaxe.cmd'
#Permission to use /upgrade
usePerm : 'upgradespickaxe.use'
#Mode: MESSAGE | GUI
useMode : GUI
#Cost for upgrade: Wood Pickaxe -> Stone Pickaxe
WoodToStoneCost : 100
#Cost for upgrade: Stone Pickaxe -> Iron Pickaxe
StoneToIronCost : 500
#Cost for upgrade: Iron Pickaxe -> Diamond Pickaxe
IronToDiamondCost : 1000
#Enchant to add to every upgrade
enableEnchant : true
enchantToAdd : 'DIG_SPEED'
enchantToAddLevel : 2
#----------------------------------------------------------#
# #
# Messages Section #
# Edit all the messages here #
# #
#----------------------------------------------------------#
#Message if the player won't have enough permissions
noPerm : "&8[&c!&8] &7You don't have enough permissions!"
#Message if args are non-existent
noArgs : "&8[&c!&8] &7Args non-existent!"
#Message if the console try to execute commands
onlyPlayers : "&8[&c!&8] &7Only players can execute this command."
#Message if the player type /upgrade but he doesn't have a pickaxe in his hand
noPickaxe : "&8[&c!&8] &7You should hold a pickaxe to execute this command."
#Message when the players do /upgrade
upgradeSuccess : "&8[&a!&8] &7Your pickaxe have been upgraded!"
#Message when the player does /upgrade but he doesn't have enough money
insufficientBalance : "&8[&c!&8] &7You don't have enough money."
#Message when the player tries to execute /upgrade, but his pickaxe is a diamond pickaxe
diamondError : "&8[&c!&8] &7Your pickaxe is maxed!"
#Message to confirm /upgrade
typeAgain : "&8[&9!&8] &7Type again &9/upgrade &7to confirm!"
#----------------------------------------------------------#
# #
# GUI Section #
# Edit only if useMode is GUI #
# #
#----------------------------------------------------------#
#Name of the gui
guiName : "&9Confirm upgrade?"
#Should filler be enabled?
enableFiller : true
fillerOptions:
itemName : "&r"
item : "STAINED_GLASS_PANE"
data : 7 #Set 0 to disable it
lore :
- ""
confirmOptions:
itemName : "&a&lCONFIRM"
item : EMERALD_BLOCK
data : 0 #Set 0 to disable it
lore :
- "&8&m+-------------------------------+"
- ""
- "&7Click here to confirm the upgrade!"
- ""
- "&8[&4!&8] &7This action cannot be undone!"
- ""
- "&8&m+-------------------------------+"
cancelOptions:
itemName : "&c&lCANCEL"
item : REDSTONE_BLOCK
data : 0 #Set 0 to disable it
lore :
- "&8&m+-------------------------------+"
- ""
- "&7Click here to cancel the upgrade."
- ""
- "&8&m+-------------------------------+"
# #
# UpgradesPickaxe #
# Easily upgrade your pickaxe #
# #
# Developed by zJavaError #
# #
#----------------------------------------------------------#
#----------------------------------------------------------#
# #
# Config Section #
# Edit permissions and other #
# stuff here #
# #
#----------------------------------------------------------#
#Should the plugin be enabled?
#Default: true
enable-plugin : true
#Should players with uprgadespickaxe.receive.updates receive updates?
checkForUpdatesOnJoin : true
#Permission to use /upgradespickaxe
commandPerm : 'upgradespickaxe.cmd'
#Permission to use /upgrade
usePerm : 'upgradespickaxe.use'
#Mode: MESSAGE | GUI
useMode : GUI
#Cost for upgrade: Wood Pickaxe -> Stone Pickaxe
WoodToStoneCost : 100
#Cost for upgrade: Stone Pickaxe -> Iron Pickaxe
StoneToIronCost : 500
#Cost for upgrade: Iron Pickaxe -> Diamond Pickaxe
IronToDiamondCost : 1000
#Enchant to add to every upgrade
enableEnchant : true
enchantToAdd : 'DIG_SPEED'
enchantToAddLevel : 2
#----------------------------------------------------------#
# #
# Messages Section #
# Edit all the messages here #
# #
#----------------------------------------------------------#
#Message if the player won't have enough permissions
noPerm : "&8[&c!&8] &7You don't have enough permissions!"
#Message if args are non-existent
noArgs : "&8[&c!&8] &7Args non-existent!"
#Message if the console try to execute commands
onlyPlayers : "&8[&c!&8] &7Only players can execute this command."
#Message if the player type /upgrade but he doesn't have a pickaxe in his hand
noPickaxe : "&8[&c!&8] &7You should hold a pickaxe to execute this command."
#Message when the players do /upgrade
upgradeSuccess : "&8[&a!&8] &7Your pickaxe have been upgraded!"
#Message when the player does /upgrade but he doesn't have enough money
insufficientBalance : "&8[&c!&8] &7You don't have enough money."
#Message when the player tries to execute /upgrade, but his pickaxe is a diamond pickaxe
diamondError : "&8[&c!&8] &7Your pickaxe is maxed!"
#Message to confirm /upgrade
typeAgain : "&8[&9!&8] &7Type again &9/upgrade &7to confirm!"
#----------------------------------------------------------#
# #
# GUI Section #
# Edit only if useMode is GUI #
# #
#----------------------------------------------------------#
#Name of the gui
guiName : "&9Confirm upgrade?"
#Should filler be enabled?
enableFiller : true
fillerOptions:
itemName : "&r"
item : "STAINED_GLASS_PANE"
data : 7 #Set 0 to disable it
lore :
- ""
confirmOptions:
itemName : "&a&lCONFIRM"
item : EMERALD_BLOCK
data : 0 #Set 0 to disable it
lore :
- "&8&m+-------------------------------+"
- ""
- "&7Click here to confirm the upgrade!"
- ""
- "&8[&4!&8] &7This action cannot be undone!"
- ""
- "&8&m+-------------------------------+"
cancelOptions:
itemName : "&c&lCANCEL"
item : REDSTONE_BLOCK
data : 0 #Set 0 to disable it
lore :
- "&8&m+-------------------------------+"
- ""
- "&7Click here to cancel the upgrade."
- ""
- "&8&m+-------------------------------+"
If you need support, message me on Telegram or DM on Discord(zJavaError btw.#0172).
If you would, please donate me, even one cent, is perfect!
DONATORS:
» No one :'(
» TODO List:
- Add site support
- Add check-for-update
- Add confirm /upgrade typing it again
- Add confirm /upgrade with GUI
- Add other features
» OwnerShip Proof:
» Please leave a review, It would be awesome for me.
TOS:
- Do not post shit like not working, shitty plugin etc., describe errors and why you don't like the plugin.
- Please, don't say stuff like "this is my plugin, I'm the creator", it's mean.
† UpgradesPickaxe | Easily upgrade your pickaxe † is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9. Downloaded 1,733 times (via Spigot). Download it and open it directly in the game.