Lightweight and simple plugin to allow users to condense melon slices to melons. CMI and Essentials does not have this ability so AutoMelons was created to give players and server owners the option.
Update: 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.
Update: 1.4 adds the option to spawn Melon Wands with unlimited charges. Simply set the charge to -1.
This plugin was tested using MC 1.19.2. Testing, feedback, and bug reports are appreciated.
# 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