2015-02-19 07:08:15 +01:00
|
|
|
package com.intellectualcrafters.plot;
|
|
|
|
|
2015-02-21 05:27:01 +01:00
|
|
|
import java.io.File;
|
2015-05-29 08:07:57 +02:00
|
|
|
import java.util.UUID;
|
2015-02-21 05:27:01 +01:00
|
|
|
|
2015-02-26 12:13:17 +01:00
|
|
|
import org.bukkit.generator.ChunkGenerator;
|
|
|
|
|
2015-06-05 16:08:16 +02:00
|
|
|
import com.intellectualcrafters.plot.config.C;
|
2015-02-22 14:20:41 +01:00
|
|
|
import com.intellectualcrafters.plot.generator.HybridUtils;
|
2015-07-26 20:46:24 +02:00
|
|
|
import com.intellectualcrafters.plot.generator.PlotGenerator;
|
2015-07-26 16:51:12 +02:00
|
|
|
import com.plotsquared.bukkit.listeners.APlotListener;
|
2015-04-09 07:41:14 +02:00
|
|
|
import com.intellectualcrafters.plot.object.PlotPlayer;
|
2015-02-22 14:20:41 +01:00
|
|
|
import com.intellectualcrafters.plot.util.BlockManager;
|
2015-02-25 11:36:19 +01:00
|
|
|
import com.intellectualcrafters.plot.util.ChunkManager;
|
2015-06-05 14:39:31 +02:00
|
|
|
import com.intellectualcrafters.plot.util.EconHandler;
|
2015-02-23 06:29:45 +01:00
|
|
|
import com.intellectualcrafters.plot.util.EventUtil;
|
2015-07-03 04:11:41 +02:00
|
|
|
import com.intellectualcrafters.plot.util.InventoryUtil;
|
2015-04-27 11:07:42 +02:00
|
|
|
import com.intellectualcrafters.plot.util.PlayerManager;
|
2015-07-27 09:26:50 +02:00
|
|
|
import com.intellectualcrafters.plot.util.UUIDHandlerImplementation;
|
2015-07-26 16:51:12 +02:00
|
|
|
import com.plotsquared.bukkit.util.SetupUtils;
|
2015-02-19 07:08:15 +01:00
|
|
|
import com.intellectualcrafters.plot.util.TaskManager;
|
2015-02-23 00:12:33 +01:00
|
|
|
import com.intellectualcrafters.plot.uuid.UUIDWrapper;
|
2015-02-19 07:08:15 +01:00
|
|
|
|
|
|
|
public interface IPlotMain {
|
|
|
|
public void log(String message);
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public File getDirectory();
|
2015-07-06 11:38:37 +02:00
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public void disable();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-07-26 17:08:06 +02:00
|
|
|
public int[] getPluginVersion();
|
|
|
|
|
|
|
|
public int[] getServerVersion();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-05-29 08:07:57 +02:00
|
|
|
public void handleKick(UUID uuid, C c);
|
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public TaskManager getTaskManager();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public void runEntityTask();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public void registerCommands();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public void registerPlayerEvents();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public void registerInventoryEvents();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public void registerPlotPlusEvents();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public void registerForceFieldEvents();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-19 07:08:15 +01:00
|
|
|
public void registerWorldEditEvents();
|
2015-04-01 10:25:58 +02:00
|
|
|
|
|
|
|
public void registerTNTListener();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-06-05 14:39:31 +02:00
|
|
|
public EconHandler getEconomyHandler();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-22 14:20:41 +01:00
|
|
|
public BlockManager initBlockManager();
|
2015-02-23 06:29:45 +01:00
|
|
|
|
|
|
|
public EventUtil initEventUtil();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-23 06:29:45 +01:00
|
|
|
public ChunkManager initChunkManager();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-22 14:20:41 +01:00
|
|
|
public SetupUtils initSetupUtils();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-22 14:20:41 +01:00
|
|
|
public HybridUtils initHybridUtils();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-07-27 09:26:50 +02:00
|
|
|
public UUIDHandlerImplementation initUUIDHandler();
|
2015-07-03 04:11:41 +02:00
|
|
|
|
|
|
|
public InventoryUtil initInventoryUtil();
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-02-19 09:51:10 +01:00
|
|
|
public boolean initPlotMeConverter();
|
2015-04-09 07:41:14 +02:00
|
|
|
|
|
|
|
public void unregister(PlotPlayer player);
|
2015-02-23 02:32:27 +01:00
|
|
|
|
2015-07-26 20:46:24 +02:00
|
|
|
public PlotGenerator<?> getGenerator(String world, String name);
|
2015-04-26 08:29:58 +02:00
|
|
|
|
|
|
|
public APlotListener initPlotListener();
|
|
|
|
|
|
|
|
public void registerChunkProcessor();
|
|
|
|
|
|
|
|
public void registerWorldEvents();
|
2015-04-27 11:07:42 +02:00
|
|
|
|
|
|
|
public PlayerManager initPlayerManager();
|
2015-07-24 19:37:39 +02:00
|
|
|
|
|
|
|
public String getServerName();
|
2015-02-20 07:34:19 +01:00
|
|
|
}
|