PlotSquared/src/main/java/com/intellectualcrafters/plot/IPlotMain.java

77 lines
1.6 KiB
Java
Raw Normal View History

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