mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Added a bunch of TODO statements in case you get bored 😄
This commit is contained in:
parent
5298486403
commit
f635ac219c
@ -6,6 +6,13 @@ 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;
|
||||
|
||||
/**
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
@ -38,6 +38,8 @@ import com.intellectualcrafters.plot.PlotMain;
|
||||
*/
|
||||
public class DBFunc {
|
||||
|
||||
// TODO MongoDB
|
||||
|
||||
/**
|
||||
* Set Plot owner
|
||||
*
|
||||
|
@ -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
|
||||
|
@ -17,6 +17,8 @@ import com.intellectualcrafters.plot.PlotMain;
|
||||
*/
|
||||
public class PlotWeb {
|
||||
|
||||
// TODO instructions on how to setup and use PlotWeb.
|
||||
|
||||
public static PlotWeb PLOTWEB;
|
||||
|
||||
private String title;
|
||||
|
Loading…
Reference in New Issue
Block a user