mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-06-30 17:59:43 +00:00
0bbc1e540b
New features: Info command now understands the tags from motd and rules motd and rules are now multipage On join, only the first page of motd is shown.
64 lines
1.4 KiB
Java
64 lines
1.4 KiB
Java
package com.earth2me.essentials;
|
|
|
|
import com.earth2me.essentials.perm.PermissionsHandler;
|
|
import com.earth2me.essentials.register.payment.Methods;
|
|
import org.bukkit.World;
|
|
import org.bukkit.command.Command;
|
|
import org.bukkit.command.CommandSender;
|
|
import org.bukkit.plugin.Plugin;
|
|
import org.bukkit.scheduler.BukkitScheduler;
|
|
|
|
|
|
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);
|
|
|
|
User getUser(Object base);
|
|
|
|
User getOfflineUser(String name);
|
|
|
|
World getWorld(String name);
|
|
|
|
int broadcastMessage(IUser sender, String message);
|
|
|
|
ISettings getSettings();
|
|
|
|
BukkitScheduler getScheduler();
|
|
|
|
Jail getJail();
|
|
|
|
Warps getWarps();
|
|
|
|
Worth getWorth();
|
|
|
|
Backup getBackup();
|
|
|
|
Spawn getSpawn();
|
|
|
|
Methods getPaymentMethod();
|
|
|
|
int scheduleAsyncDelayedTask(Runnable run);
|
|
|
|
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 CommandSender sender, final Throwable exception, final String commandLabel);
|
|
|
|
ItemDb getItemDb();
|
|
|
|
UserMap getUserMap();
|
|
}
|