diff --git a/PlotSquared/src/com/intellectualcrafters/plot/FlagManager.java b/PlotSquared/src/com/intellectualcrafters/plot/FlagManager.java index 58937d892..09b046beb 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/FlagManager.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/FlagManager.java @@ -5,6 +5,13 @@ import java.util.List; import java.util.Set; public class FlagManager { + + // TODO add some flags + // - Plot clear interval + // - Mob cap + // - customized plot composition + // - greeting / leaving message + // OR in the flag command, allow users to set worldguard flags. private static ArrayList flags; diff --git a/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java b/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java index f533148c7..75b7a3ee3 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java @@ -557,6 +557,8 @@ public class PlotHelper { */ public static void clear(final Player requester, final Plot plot) { + // TODO teleport any players underground to the surface + final long start = System.nanoTime(); final PlotWorld plotworld = PlotMain.getWorldSettings(Bukkit.getWorld(plot.world)); PlotHelper.setBiome(requester.getWorld(), plot, Biome.FOREST); diff --git a/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java b/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java index f17172ae2..a82a2c338 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/PlotMain.java @@ -275,6 +275,15 @@ public class PlotMain extends JavaPlugin { /** * TODO: Implement better system + * The whole point of this system is to recycle old plots + * So why not just allow users to claim old plots, and try to hide the fact that the are owned. + * e.g. + * - On /plot auto - allow claiming of old plot, clear it so the user doesn't know + * - On /plot info, - show that the plot is expired and allowed to be claimed + * + * Other possibilities: + * - Run the task when there are very little, or no players online (great for small servers) + * - Run the task at startup (also only useful for small servers) * * @param plugin * Plugin diff --git a/PlotSquared/src/com/intellectualcrafters/plot/commands/Command.java b/PlotSquared/src/com/intellectualcrafters/plot/commands/Command.java index 458ae8859..3bb2f5452 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/commands/Command.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/commands/Command.java @@ -15,6 +15,18 @@ package com.intellectualcrafters.plot.commands; * @author Citymonstret */ public enum Command { + + // TODO new commands + // (allow a plot to be transferred from one plot to another of the same size) + // - /plot copy + // - /plot paste + // (economy) + // - /plot buy + // - /plot sell + // (Rating system) (ratings can be stored as the average, and number of ratings) + // - /plot rate + // - /plot list + /** * */ diff --git a/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java b/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java index 021199e84..1ba165f4f 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/database/DBFunc.java @@ -37,6 +37,8 @@ import com.intellectualcrafters.plot.PlotMain; * @author Citymonstret */ public class DBFunc { + + // TODO MongoDB /** * Set Plot owner diff --git a/PlotSquared/src/com/intellectualcrafters/plot/listeners/PlayerEvents.java b/PlotSquared/src/com/intellectualcrafters/plot/listeners/PlayerEvents.java index ed79cc7f9..268270699 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/listeners/PlayerEvents.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/listeners/PlayerEvents.java @@ -131,9 +131,13 @@ public class PlayerEvents implements Listener { } private void textures(Player p) { - if ((Settings.PLOT_SPECIFIC_RESOURCE_PACK.length() > 1) && isPlotWorld(p.getWorld())) { - p.setResourcePack(Settings.PLOT_SPECIFIC_RESOURCE_PACK); - } + + // TODO this thing still bugs you about non existing texture packs + // What can I do about it? - fix it. + +// if ((Settings.PLOT_SPECIFIC_RESOURCE_PACK.length() > 1) && isPlotWorld(p.getWorld())) { +// p.setResourcePack(Settings.PLOT_SPECIFIC_RESOURCE_PACK); +// } } @EventHandler diff --git a/PlotSquared/src/com/intellectualsites/web/PlotWeb.java b/PlotSquared/src/com/intellectualsites/web/PlotWeb.java index cc498c872..ab3e724ad 100644 --- a/PlotSquared/src/com/intellectualsites/web/PlotWeb.java +++ b/PlotSquared/src/com/intellectualsites/web/PlotWeb.java @@ -16,6 +16,8 @@ import com.intellectualcrafters.plot.PlotMain; * Created by Citymonstret on 2014-09-20. */ public class PlotWeb { + + // TODO instructions on how to setup and use PlotWeb. public static PlotWeb PLOTWEB;