Updated the plugin to
allow administrators to toggle on or off which crops get replanted when broken. By default, all plants are enabled as true, but by changing the flag to false, the plugin will no longer recognize that crop. If the plugin is unable to read the config file, it will default all crops to true.
Added replanting support for Cactus and Sugar Cane. When harvesting Sugar Cane or Cactus, the plugin will check to see if
the crop is at its fully grow, three block tall length before allowing the player to harvest. Players are only allowed to break the base block to ensure they are harvesting the entire plant.
Enabled support for 1.17 by correcting bug in the latest API version that prevented titles from displaying. Additionally, support for hex color codes was added to the config, and an auto-tab was incorporated for the reload command.
This
update is backwards compatible and can be used in 1.16 versions if you desire the hex and/or auto-tab features.
Added the ability to reload the plugin's config file in-game using the command '/autoplant reload'. This circumvents the previous requirement of reloading the entire server when the config file was edited.
Config File: As of version 5.1, this plugin now includes a config file generated upon first use that allows the server administrators to change the message sent to players when an un-grown crop or tree is broken. It is recommended that you leave the message default as the title display is formatted to that message, however, it grants options such as changing the language of the plugin.
Some players using the most recent release version of World Guard were experiencing issues. I updated the plugin's dependency to support World Guard 7.0.3 and below.
Plugin has been updated to
1.16.1 to support nether trees. The auto plant feature now works with
Crimson Stems and
Warped Stems, along with their stripped counterparts.