Upgrade your hoe by leveling it up and earn rewards!
Dependencies
Commands
/givefirstjoinhoe give <player> - Give the first join hoe to a player
/levelhoes give <player> <hoe-level> - Give a hoe of the specified level to a player
/levelhoes info - Shows detailed information about the hoe you are holding
/levelhoes transfer - Transfers ownership of the hoe you are holding to another player
/levelhoes reload - Reloads the plugin
Permissions
levelhoes.command.givefirstjoinhoe - Allows use of the /givefirstjoinhoe give command
levelhoes.command.give - Allows use of the /levelhoes give command
levelhoes.command.info - Allows use of the /levelhoes info command
levelhoes.command.transfer - Allows use of the /levelhoes transfer command
levelhoes.command.reload - Allows use of the /levelhoes reload command
levelhoes.bypass.owner - Allows other players to use hoes even if they have an owner
Action List
ACTION_BAR:message - Send short message to the player action bar
ADD_POTION:type:amplifier:duration - Add a potion effect to the player
BROADCAST:message - Send message to all players on the server
CONSOLE_COMMAND:command - Execute command from the server console
ENCHANT:enchant_name:level - Add an enchantment to the player tool
MSG:message - Send private message to specific player
MONEY:money - Add money to the player balance
PLAYER_COMMAND:command - Execute command as if the player ran it themselves
SOUND:type:float:float - Play sound to player
✔ Hoe Settings Support
You can configure giving players a default hoe on first join and making hoe unbreakable.
✔ Hoe Levels Support
You can configure each hoe level including display name experience gain experience requirements and actions.
✔ Level Up Actions Support
You can configure hoe level up actions.
✔ Harvest XP Support
You can configure the experience gained from harvesting each crop.
✔ Progress Bar Support
You can configure the hoe experience progress bar symbols and length.
✔ Hoe Ownership Transfer Support
Allows transferring hoe ownership between players.
✔ PlaceholderAPI Support
%levelhoes_is_level_hoes% - Displays whether the item being held is a level hoe
%levelhoes_hoe_owner% - Displays the owner of the hoe being held
%levelhoes_hoe_level% - Displays the level of the hoe being held
%levelhoes_hoe_exp% - Displays the current experience of the hoe being held
%levelhoes_hoe_harvests% - Displays the number of harvests with the hoe being held
%levelhoes_hoe_harvests_percent% - Displays the percentage of experience gained each time the held item harvests a crop
✔ Developer API Support
LevelHoesLevelUpEvent - Called when a level hoe levels up
LevelHoesUseEvent - Called when a player uses a level hoe
Main.getApi().isLevelHoe(Player, ItemStack) - Check if the item is a level hoe
Main.getApi().getHoeOwner(Player, ItemStack) - Get the owner of the level hoe
Main.getApi().getHoeLevel(Player, ItemStack) - Get the current level of the hoe
Main.getApi().getHoeExp(Player, ItemStack) - Get the current experience of the hoe
Main.getApi().getHoeHarvests(Player, ItemStack) - Get the number of harvests with the hoe
Main.getApi().getHoeHarvestsPercent(Player, ItemStack) - Get the harvests progress percentage to the next level
Spoiler: config.yml
Code (YAML):
settings :
give-default-hoe-on-first-join
: true
hoe-unbreakable
: true
Spoiler: messages.yml
Code (YAML):
messages :
prefix
:
"&8[&aLevelHoes&8]&r"
no-permission
:
"%prefix% &cYou don't have permission to use this command!"
player-only
:
"%prefix% &cYou can't use commands from console!"
player-not-found
:
"%prefix% &cPlayer is not online!"
invalid-level
:
"%prefix% &cThe level must be a valid number!"
invalid-hoe
:
"%prefix% &cThis item is not a hoe item!"
hoe-give-first-sender
:
"%prefix% &aYou have given &7%target% &athe first join hoe!"
hoe-give-first-target
:
"%prefix% &aYou have received the first join hoe!"
hoe-give-level-sender
:
"%prefix% &aYou have given &7%target% &alevel &f%level% &ahoe!"
hoe-give-level-target
:
"%prefix% &aYou have received a level &f%level% &ahoe!"
hoe-transfer-self
:
"%prefix% &cYou can't transfer a hoe to yourself!"
hoe-transfer-sent
:
"%prefix% &aHoe ownership transferred to &e%newowner%&a!"
hoe-transfer-received
:
"%prefix% &aYou have received ownership of a hoe!"
hoe-info
: -
"&6&l[LevelHoes Info]"
-
""
- "&7Owner
:
&f%owner% &8
(
%owner_uuid%)"
- "&7Level
:
&f%level% level
" - " &7Exp
:
&f%exp%/%exp_to_next_levelup%"
- "&7Next Level
:
&f%next_level%"
- "&7Crops Harvested
:
&f%harvests%"
- "&7Progress
:
&f%xp_bar% &7
( &a
%xp_percent%%&7)"
tool-does-not-exist
:
"%prefix% &cA tool with level %level% does not exist!"
not-owner
:
"%prefix% &cYou are not the owner of this hoe!"
help-header
:
"&e----- LevelHoes Commands -----"
help-givefirstjoinhoe
:
"%prefix% &f/%cmd% give <player> &7- Give the first join hoe to a player"
help-give
:
"%prefix% &f/%cmd% give <player> <hoe-level> &7- Give a hoe of the specified level to a player"
help-info
:
"%prefix% &f/%cmd% info &7- Shows detailed information about the hoe you are holding"
help-transfer
:
"%prefix% &f/%cmd% transfer <player> &7- Transfers ownership of the hoe you are holding to another player"
help-reload
:
"%prefix% &f/%cmd% reload &7- Reloads the plugin"
reload-success
:
"%prefix% &aSuccessfully reloaded!"
reload-fail
:
"%prefix% &cA serious error occurred during reloading"
Spoiler: levels.yml
Code (YAML):
levels :
1 :
displayname
:
"&8⛏ &aLevel I Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 500
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel II &6✦"
-
"MONEY:100"
2 :
displayname
:
"&8⛏ &aLevel II Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 1000
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel III &6✦"
-
"MONEY:100"
3 :
displayname
:
"&8⛏ &aLevel III Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 2000
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel IV &6✦"
-
"MONEY:100"
4 :
displayname
:
"&8⛏ &aLevel IV Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 3000
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel V &6✦"
-
"MONEY:100"
5 :
displayname
:
"&8⛏ &aLevel V Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 4000
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel VI &6✦"
-
"MONEY:100"
6 :
displayname
:
"&8⛏ &aLevel VI Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 5000
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel VII &6✦"
-
"MONEY:100"
7 :
displayname
:
"&8⛏ &aLevel VII Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 6000
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel VIII &6✦"
-
"MONEY:100"
8 :
displayname
:
"&8⛏ &aLevel VIII Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 7000
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel IX &6✦"
-
"MONEY:100"
9 :
displayname
:
"&8⛏ &aLevel IX Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 8000
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel X &6✦"
-
"MONEY:100"
10 :
displayname
:
"&8⛏ &aLevel X Hoe"
harvest-per-exp
: 1
exp-needed-to-levelup
: 9000
actions
: -
"MSG:&6✦ &aYour hoe has reached the &bMax Level &6✦"
-
"MONEY:100"
default-item :
material
: DIAMOND_HOE
displayname
:
"&8⛏ &aLeveling Hoe"
lore
: -
"&8──────────────"
-
"&f✦ &7Owner &8» &a%owner%"
-
"&f✦ &7Level &8» &a%level%"
-
"&f✦ &7Experience &8» &f%exp% &8/ &a%exp_to_next_levelup%"
-
"&f✦ &7Next Level &8» &a%next_level%"
-
"&f✦ &7Crops Harvested &8» &f%harvests%"
-
"&f✦ &7Progress &8» &8[%xp_bar%&8] &8(&7%xp_percent%%&8)"
-
"&8──────────────"
progress-bar :
full-symbol
:
"&a|"
empty-symbol
:
"&c|"
amount
: 20
enchants
: -
"EFFICIENCY:10"
-
"UNBREAKING:20"
-
"FORTUNE:5"
harvest-per-exp
: 1
exp-needed-to-levelup
: 100
actions
: -
"MSG:&6✦ &aYour hoe has leveled up! &7→ &bLevel I &6✦"
-
"MONEY:100"
harvest-xp :
WHEAT
: 1
CARROTS
: 2
POTATOES
: 2
COCOA_BEANS
: 3
NETHER_WART
: 5
For support, please use only resource discussion
Terms of Service
By using this plugin, you agree to the following terms, which may be updated by the author at any time.
All payments are final and non-refundable.
Redistribution or resale of this plugin is prohibited.
You are not permitted to modify, decompile, or extract any part of the plugin's source code.
Support is provided exclusively to legitimate customers. We cannot offer support for plugins obtained through unauthorized or illegal means.