Added a bunch of TODO statements in case you get bored 😄

This commit is contained in:
boy0001 2014-09-27 10:52:12 +10:00
parent 5298486403
commit f635ac219c
7 changed files with 41 additions and 3 deletions

View File

@ -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<AbstractFlag> flags;

View File

@ -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);

View File

@ -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

View File

@ -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 <value>
// (Rating system) (ratings can be stored as the average, and number of ratings)
// - /plot rate <number out of 10>
// - /plot list <some parameter to list the most popular, and highest rated plots>
/**
*
*/

View File

@ -37,6 +37,8 @@ import com.intellectualcrafters.plot.PlotMain;
* @author Citymonstret
*/
public class DBFunc {
// TODO MongoDB
/**
* Set Plot owner

View File

@ -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

View File

@ -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;