mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-22 19:31:54 +00:00
90 lines
2.1 KiB
Java
90 lines
2.1 KiB
Java
package com.earth2me.essentials;
|
|
|
|
import com.earth2me.essentials.api.IItemDb;
|
|
import com.earth2me.essentials.api.IJails;
|
|
import com.earth2me.essentials.api.IWarps;
|
|
import com.earth2me.essentials.metrics.Metrics;
|
|
import com.earth2me.essentials.perm.PermissionsHandler;
|
|
import com.earth2me.essentials.register.payment.Methods;
|
|
import java.util.List;
|
|
import org.bukkit.World;
|
|
import org.bukkit.command.Command;
|
|
import org.bukkit.command.CommandSender;
|
|
import org.bukkit.entity.Player;
|
|
import org.bukkit.plugin.Plugin;
|
|
import org.bukkit.scheduler.BukkitScheduler;
|
|
import org.bukkit.scheduler.BukkitTask;
|
|
|
|
|
|
public interface IEssentials extends Plugin
|
|
{
|
|
void addReloadListener(IConf listener);
|
|
|
|
void reload();
|
|
|
|
boolean onCommandEssentials(CommandSender sender, Command command, String commandLabel, String[] args, ClassLoader classLoader, String commandPath, String permissionPrefix, IEssentialsModule module);
|
|
|
|
@Deprecated
|
|
User getUser(Object base);
|
|
|
|
User getUser(String base);
|
|
|
|
User getUser(Player base);
|
|
|
|
I18n getI18n();
|
|
|
|
User getOfflineUser(String name);
|
|
|
|
World getWorld(String name);
|
|
|
|
int broadcastMessage(String message);
|
|
|
|
int broadcastMessage(IUser sender, String message);
|
|
|
|
int broadcastMessage(String permission, String message);
|
|
|
|
ISettings getSettings();
|
|
|
|
BukkitScheduler getScheduler();
|
|
|
|
IJails getJails();
|
|
|
|
IWarps getWarps();
|
|
|
|
Worth getWorth();
|
|
|
|
Backup getBackup();
|
|
|
|
Methods getPaymentMethod();
|
|
|
|
BukkitTask runTaskAsynchronously(Runnable run);
|
|
|
|
BukkitTask runTaskLaterAsynchronously(Runnable run, long delay);
|
|
|
|
int scheduleSyncDelayedTask(Runnable run);
|
|
|
|
int scheduleSyncDelayedTask(Runnable run, long delay);
|
|
|
|
int scheduleSyncRepeatingTask(final Runnable run, long delay, long period);
|
|
|
|
TNTExplodeListener getTNTListener();
|
|
|
|
PermissionsHandler getPermissionsHandler();
|
|
|
|
AlternativeCommandsHandler getAlternativeCommandsHandler();
|
|
|
|
void showError(final CommandSource sender, final Throwable exception, final String commandLabel);
|
|
|
|
IItemDb getItemDb();
|
|
|
|
UserMap getUserMap();
|
|
|
|
Metrics getMetrics();
|
|
|
|
void setMetrics(Metrics metrics);
|
|
|
|
EssentialsTimer getTimer();
|
|
|
|
List<String> getVanishedPlayers();
|
|
}
|