Replant! 1.3

Protect a region from players breaking Saplings!

  1. Bfox1
    This Plugin was designed to be flexible and easy to work with.
    By selecting a region, you can select which saplings to regrow in that area as long as the block below the Log broken was a Dirt block and non other.

    How to Use:
    1. Use /replant build Command to receive the wand to select regions and set your Mode.
    2. Like World Edit, Select 2 points of the region. For best results, select 1 corner where the tree log is, and select the ground on the other side.
    3. Use /replant create <Name of Region> <tree Type> to create the Region for immediate Use. Ex. /replant create TestFarm birch
    4. Plant the Saplings you designated, if the tree of the Sapling is already there, no need to plant there. Ensure the Dirt is underneath the tree or else it will not replant!
    Permission Nodes:
    • replant.build - For Building Only
    • replant.create - For Creating Only
    • replant.remove - For Removing Only.
    • replant.getregions - For Getting a list of valid regions
    • replant.* - Admin perms for all commands
    Tree Types: (These are Case Sensitive so keep them all Lowercased!)
    • birch
    • oak
    • spruce
    • darkoak
    • acacia
    Commands:
    • /replant build - Sets the player in Region Building Mode
    • /replant create <name of Region> <Tree Type> - Create the Selected Region
    • /replant remove <name of Region> - Removes the Region.
    • /replant getRegions - Returns a List of Regions
    As of Right now, there isnt a Config for the Plugin. All works are done In Game. If there becomes a need for it, I will create one for it.
    I hope you guys enjoy!
    kdthehun likes this.

Recent Reviews

  1. kdthehun
    kdthehun
    4/5,
    Version: 1.3
    Good plugin works nicely on 1.13 MOSTLY. After a server reboot it was unable to read the saved regions.
    [07:41:05 INFO]: plugins\Replant\regiondata\kds.txt
    [07:41:05 WARN]: java.io.FileNotFoundException: plugins\Replant\regiondata\kds.txt (Access is denied)
    [07:41:05 WARN]: at java.io.FileInputStream.open0(Native Method)
    [07:41:05 WARN]: at java.io.FileInputStream.open(Unknown Source)
    [07:41:05 WARN]: at java.io.FileInputStream.<init>(Unknown Source)
    [07:41:05 WARN]: at java.io.FileReader.<init>(Unknown Source)
    [07:41:05 WARN]: at com.github.bfox1.replant.data.RegionDataHandeling.loadInventoryData(RegionDataHandeling.java:228)
    [07:41:05 WARN]: at com.github.bfox1.replant.data.RegionDataHandeling.loadData(RegionDataHandeling.java:250)
    [07:41:05 WARN]: at com.github.bfox1.replant.Replant.onEnable(Replant.java:60)
    [07:41:05 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
    [07:41:05 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:339)
    [07:41:05 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
    [07:41:05 WARN]: at org.bukkit.craftbukkit.v1_13_R1.CraftServer.enablePlugin(CraftServer.java:426)
    [07:41:05 WARN]: at org.bukkit.craftbukkit.v1_13_R1.CraftServer.enablePlugins(CraftServer.java:340)
    [07:41:05 WARN]: at net.minecraft.server.v1_13_R1.MinecraftServer.m(MinecraftServer.java:562)
    [07:41:05 WARN]: at net.minecraft.server.v1_13_R1.MinecraftServer.g_(MinecraftServer.java:524)
    [07:41:05 WARN]: at net.minecraft.server.v1_13_R1.MinecraftServer.a(MinecraftServer.java:423)
    [07:41:05 WARN]: at net.minecraft.server.v1_13_R1.DedicatedServer.init(DedicatedServer.java:288)
    [07:41:05 WARN]: at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:686)
    [07:41:05 WARN]: at java.lang.Thread.run(Unknown Source)
    [07:41:05 ERROR]: Inventory was unsuccessful at reading..
    1. Bfox1
      Author's Response
      Hello!

      I am glad you like the Plugin! I will be taking a look back into my plugins and see if I can work on improvements!