1.3 is out and brings the Melon Wand! This item allows a user to condense melon slices to melons with a simple item. Server owners can set the material in the config (default is a stick). Additionally, users can set the number of charges the wand spawns with. Charges are tracked in the lore and the wand is a non-stackable unique. Upon reaching 0 charges the wand is deleted. Permission nodes are available for spawning and using the wand.
Code (Text):
# If set to false - command will fail when inventory is full
allowFullInventory: true
# Decide weather players can craft melons to slices
allowCraftMelons: true
# Determine the amount players get crafting melons to slices
slicesReturned: 7
# Toggle plugin player messages/notifications
playerMessages: true
# Item used for the wand. Must be a Minecraft Vanilla item. For example:
# stick, stone_sword, iron_pickaxe
wandMaterial: stick
# Toggle if player can use it with no slices in inventory (true = waste charges)
useEmpty: false
Discord:
# Enable discord notifications.
enabled: false
webhookURL: URL_HERE
webhookImage: https://amzfiles.antimatterzone.net/api/public/dl/YG8o6te6
webhookUser: AutoMelons
# Creates all discord notifications embedded.
webhookEmbedded: true
# Embedded message color. Supported colors are
# Black, blue, cyan, dark_gray, gray, green, light_gray, magenta, orange, pink, red, white, yellow
color: blue
# Plugin enabled/disabled notification
plugin: true
Update to give players the option to craft melons back to melon slices and set the amount returned (i.e. you can make it worse or better than mining them out).
New config
Code (Text):
# If set to false - command will fail when inventory is full
allowFullInventory: true
# Decide weather players can craft melons to slices
allowCraftMelons: true
# Determine the amount players get crafting melons to slices
slicesReturned: 7
Discord:
# Enable discord notifications.
enabled: false
webhookURL: URL_HERE
webhookImage: https://amzfiles.antimatterzone.net/api/public/dl/YG8o6te6
webhookUser: AutoMelons
# Creates all discord notifications embedded.
webhookEmbedded: true
# Embedded message color. Supported colors are
# Black, blue, cyan, dark_gray, gray, green, light_gray, magenta, orange, pink, red, white, yellow
color: blue
# Plugin enabled/disabled notification
plugin: true