mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
Added a bunch of TODO statements in case you get bored 😄
This commit is contained in:
parent
5298486403
commit
f635ac219c
@ -5,6 +5,13 @@ import java.util.List;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
public class FlagManager {
|
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;
|
private static ArrayList<AbstractFlag> flags;
|
||||||
|
|
||||||
|
@ -557,6 +557,8 @@ public class PlotHelper {
|
|||||||
*/
|
*/
|
||||||
public static void clear(final Player requester, final Plot plot) {
|
public static void clear(final Player requester, final Plot plot) {
|
||||||
|
|
||||||
|
// TODO teleport any players underground to the surface
|
||||||
|
|
||||||
final long start = System.nanoTime();
|
final long start = System.nanoTime();
|
||||||
final PlotWorld plotworld = PlotMain.getWorldSettings(Bukkit.getWorld(plot.world));
|
final PlotWorld plotworld = PlotMain.getWorldSettings(Bukkit.getWorld(plot.world));
|
||||||
PlotHelper.setBiome(requester.getWorld(), plot, Biome.FOREST);
|
PlotHelper.setBiome(requester.getWorld(), plot, Biome.FOREST);
|
||||||
|
@ -275,6 +275,15 @@ public class PlotMain extends JavaPlugin {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: Implement better system
|
* 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
|
* @param plugin
|
||||||
* Plugin
|
* Plugin
|
||||||
|
@ -15,6 +15,18 @@ package com.intellectualcrafters.plot.commands;
|
|||||||
* @author Citymonstret
|
* @author Citymonstret
|
||||||
*/
|
*/
|
||||||
public enum Command {
|
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>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -37,6 +37,8 @@ import com.intellectualcrafters.plot.PlotMain;
|
|||||||
* @author Citymonstret
|
* @author Citymonstret
|
||||||
*/
|
*/
|
||||||
public class DBFunc {
|
public class DBFunc {
|
||||||
|
|
||||||
|
// TODO MongoDB
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set Plot owner
|
* Set Plot owner
|
||||||
|
@ -131,9 +131,13 @@ public class PlayerEvents implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void textures(Player p) {
|
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
|
@EventHandler
|
||||||
|
@ -16,6 +16,8 @@ import com.intellectualcrafters.plot.PlotMain;
|
|||||||
* Created by Citymonstret on 2014-09-20.
|
* Created by Citymonstret on 2014-09-20.
|
||||||
*/
|
*/
|
||||||
public class PlotWeb {
|
public class PlotWeb {
|
||||||
|
|
||||||
|
// TODO instructions on how to setup and use PlotWeb.
|
||||||
|
|
||||||
public static PlotWeb PLOTWEB;
|
public static PlotWeb PLOTWEB;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user