2011-05-13 19:18:22 +00:00
|
|
|
package com.earth2me.essentials;
|
|
|
|
|
|
|
|
import com.avaje.ebean.config.ServerConfig;
|
2013-10-11 02:44:41 +00:00
|
|
|
import com.earth2me.essentials.OfflinePlayer;
|
2012-09-08 13:55:37 +00:00
|
|
|
import com.earth2me.essentials.craftbukkit.FakeWorld;
|
2013-12-01 03:03:10 +00:00
|
|
|
|
|
|
|
import java.awt.image.BufferedImage;
|
2011-10-04 05:54:45 +00:00
|
|
|
import java.io.File;
|
2011-11-21 01:55:26 +00:00
|
|
|
import java.util.*;
|
2011-08-08 12:40:30 +00:00
|
|
|
import java.util.concurrent.Callable;
|
|
|
|
import java.util.concurrent.Future;
|
2011-05-13 19:18:22 +00:00
|
|
|
import java.util.logging.Logger;
|
2013-10-11 02:44:41 +00:00
|
|
|
import net.ess3.api.IEssentials;
|
2013-01-31 19:40:33 +00:00
|
|
|
import org.bukkit.*;
|
2012-09-08 13:55:37 +00:00
|
|
|
import org.bukkit.Warning.WarningState;
|
2011-05-13 19:18:22 +00:00
|
|
|
import org.bukkit.World.Environment;
|
|
|
|
import org.bukkit.command.CommandSender;
|
2011-10-04 05:54:45 +00:00
|
|
|
import org.bukkit.command.ConsoleCommandSender;
|
2011-05-13 19:18:22 +00:00
|
|
|
import org.bukkit.command.PluginCommand;
|
2013-06-08 15:33:30 +00:00
|
|
|
import org.bukkit.conversations.Conversation;
|
|
|
|
import org.bukkit.conversations.ConversationAbandonedEvent;
|
2011-05-13 19:18:22 +00:00
|
|
|
import org.bukkit.entity.Player;
|
2013-10-11 02:34:41 +00:00
|
|
|
import org.bukkit.event.Event;
|
|
|
|
import org.bukkit.event.EventPriority;
|
|
|
|
import org.bukkit.event.Listener;
|
2012-03-01 15:15:37 +00:00
|
|
|
import org.bukkit.event.inventory.InventoryType;
|
|
|
|
import org.bukkit.help.HelpMap;
|
2012-12-19 12:52:05 +00:00
|
|
|
import org.bukkit.inventory.*;
|
2011-08-15 19:36:43 +00:00
|
|
|
import org.bukkit.map.MapView;
|
2013-10-11 02:34:41 +00:00
|
|
|
import org.bukkit.permissions.Permissible;
|
2013-06-08 15:33:30 +00:00
|
|
|
import org.bukkit.permissions.Permission;
|
|
|
|
import org.bukkit.permissions.PermissionAttachment;
|
|
|
|
import org.bukkit.permissions.PermissionAttachmentInfo;
|
2013-10-11 02:34:41 +00:00
|
|
|
import org.bukkit.plugin.EventExecutor;
|
|
|
|
import org.bukkit.plugin.InvalidDescriptionException;
|
|
|
|
import org.bukkit.plugin.InvalidPluginException;
|
2011-08-08 12:40:30 +00:00
|
|
|
import org.bukkit.plugin.Plugin;
|
2013-10-11 02:34:41 +00:00
|
|
|
import org.bukkit.plugin.PluginLoader;
|
2011-05-13 19:18:22 +00:00
|
|
|
import org.bukkit.plugin.PluginManager;
|
|
|
|
import org.bukkit.plugin.ServicesManager;
|
2013-10-11 02:34:41 +00:00
|
|
|
import org.bukkit.plugin.UnknownDependencyException;
|
2012-01-20 04:20:37 +00:00
|
|
|
import org.bukkit.plugin.messaging.Messenger;
|
2011-05-13 19:18:22 +00:00
|
|
|
import org.bukkit.scheduler.BukkitScheduler;
|
2011-08-08 12:40:30 +00:00
|
|
|
import org.bukkit.scheduler.BukkitTask;
|
|
|
|
import org.bukkit.scheduler.BukkitWorker;
|
2013-04-16 20:59:36 +00:00
|
|
|
import org.bukkit.scoreboard.ScoreboardManager;
|
2013-12-01 03:03:10 +00:00
|
|
|
import org.bukkit.util.CachedServerIcon;
|
2011-05-13 19:18:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
public class FakeServer implements Server
|
|
|
|
{
|
|
|
|
private List<Player> players = new ArrayList<Player>();
|
2011-06-01 10:40:12 +00:00
|
|
|
private final List<World> worlds = new ArrayList<World>();
|
2011-05-13 19:18:22 +00:00
|
|
|
|
2011-11-23 01:43:38 +00:00
|
|
|
public FakeServer()
|
|
|
|
{
|
|
|
|
if (Bukkit.getServer() == null)
|
|
|
|
{
|
|
|
|
Bukkit.setServer(this);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-31 19:16:09 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public String getName()
|
|
|
|
{
|
2011-11-23 01:43:38 +00:00
|
|
|
return "Essentials Fake Server";
|
2011-05-13 19:18:22 +00:00
|
|
|
}
|
|
|
|
|
2013-01-31 19:16:09 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public String getVersion()
|
|
|
|
{
|
|
|
|
return "1.0";
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public Player[] getOnlinePlayers()
|
|
|
|
{
|
|
|
|
return players.toArray(new Player[0]);
|
|
|
|
}
|
2011-10-04 05:54:45 +00:00
|
|
|
|
2011-05-13 19:18:22 +00:00
|
|
|
public void setOnlinePlayers(List<Player> players)
|
|
|
|
{
|
|
|
|
this.players = players;
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public int getMaxPlayers()
|
|
|
|
{
|
|
|
|
return 100;
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public int getPort()
|
|
|
|
{
|
|
|
|
return 25565;
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public String getIp()
|
|
|
|
{
|
|
|
|
return "127.0.0.1";
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public String getServerName()
|
|
|
|
{
|
|
|
|
return "Test Server";
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public String getServerId()
|
|
|
|
{
|
|
|
|
return "Test Server";
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public int broadcastMessage(String string)
|
|
|
|
{
|
|
|
|
int i = 0;
|
|
|
|
for (Player player : players)
|
|
|
|
{
|
|
|
|
player.sendMessage(string);
|
|
|
|
i++;
|
|
|
|
}
|
|
|
|
return i;
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public String getUpdateFolder()
|
|
|
|
{
|
|
|
|
return "update";
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
|
|
|
public File getUpdateFolderFile()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2012-10-29 17:17:56 +00:00
|
|
|
@Override
|
|
|
|
public boolean isHardcore()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2013-10-11 02:34:41 +00:00
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public Player getPlayer(String string)
|
|
|
|
{
|
|
|
|
for (Player player : players)
|
|
|
|
{
|
|
|
|
if (player.getName().equalsIgnoreCase(string))
|
|
|
|
{
|
|
|
|
return player;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public List<Player> matchPlayer(String string)
|
|
|
|
{
|
|
|
|
List<Player> matches = new ArrayList<Player>();
|
|
|
|
for (Player player : players)
|
|
|
|
{
|
|
|
|
if (player.getName().substring(0, Math.min(player.getName().length(), string.length())).equalsIgnoreCase(string))
|
|
|
|
{
|
|
|
|
matches.add(player);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return matches;
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public PluginManager getPluginManager()
|
|
|
|
{
|
2013-10-11 02:34:41 +00:00
|
|
|
return new PluginManager()
|
|
|
|
{
|
|
|
|
@Override
|
|
|
|
public void registerInterface(Class<? extends PluginLoader> loader) throws IllegalArgumentException
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Plugin getPlugin(String name)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Plugin[] getPlugins()
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isPluginEnabled(String name)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isPluginEnabled(Plugin plugin)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Plugin loadPlugin(File file) throws InvalidPluginException, InvalidDescriptionException, UnknownDependencyException
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Plugin[] loadPlugins(File directory)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void disablePlugins()
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void clearPlugins()
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void callEvent(Event event) throws IllegalStateException
|
|
|
|
{
|
2013-10-11 02:44:41 +00:00
|
|
|
Logger.getLogger("Minecraft").info("Called event " + event.getEventName());
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerEvents(Listener listener, Plugin plugin)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerEvent(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void registerEvent(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin, boolean ignoreCancelled)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void enablePlugin(Plugin plugin)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void disablePlugin(Plugin plugin)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Permission getPermission(String name)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void addPermission(Permission perm)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void removePermission(Permission perm)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void removePermission(String name)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<Permission> getDefaultPermissions(boolean op)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void recalculatePermissionDefaults(Permission perm)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void subscribeToPermission(String permission, Permissible permissible)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void unsubscribeFromPermission(String permission, Permissible permissible)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<Permissible> getPermissionSubscriptions(String permission)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void subscribeToDefaultPerms(boolean op, Permissible permissible)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void unsubscribeFromDefaultPerms(boolean op, Permissible permissible)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<Permissible> getDefaultPermSubscriptions(boolean op)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<Permission> getPermissions()
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean useTimings()
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2013-10-11 02:34:41 +00:00
|
|
|
}
|
|
|
|
};
|
2011-05-13 19:18:22 +00:00
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public BukkitScheduler getScheduler()
|
|
|
|
{
|
2011-10-04 05:54:45 +00:00
|
|
|
return new BukkitScheduler()
|
|
|
|
{
|
2011-08-08 12:40:30 +00:00
|
|
|
@Override
|
|
|
|
public int scheduleSyncDelayedTask(Plugin plugin, Runnable r, long l)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int scheduleSyncDelayedTask(Plugin plugin, Runnable r)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int scheduleSyncRepeatingTask(Plugin plugin, Runnable r, long l, long l1)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int scheduleAsyncRepeatingTask(Plugin plugin, Runnable r, long l, long l1)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public <T> Future<T> callSyncMethod(Plugin plugin, Callable<T> clbl)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void cancelTask(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void cancelTasks(Plugin plugin)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void cancelAllTasks()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isCurrentlyRunning(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isQueued(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public List<BukkitWorker> getActiveWorkers()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public List<BukkitTask> getPendingTasks()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-10-17 12:14:59 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public BukkitTask runTask(Plugin plugin, Runnable r) throws IllegalArgumentException
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public BukkitTask runTaskAsynchronously(Plugin plugin, Runnable r) throws IllegalArgumentException
|
|
|
|
{
|
2013-10-11 02:34:41 +00:00
|
|
|
r.run();
|
2013-01-31 19:40:33 +00:00
|
|
|
return null;
|
2012-10-17 12:14:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public BukkitTask runTaskLater(Plugin plugin, Runnable r, long l) throws IllegalArgumentException
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public BukkitTask runTaskLaterAsynchronously(Plugin plugin, Runnable r, long l) throws IllegalArgumentException
|
|
|
|
{
|
2013-10-11 02:34:41 +00:00
|
|
|
r.run();
|
2013-01-31 19:40:33 +00:00
|
|
|
return null;
|
2012-10-17 12:14:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public BukkitTask runTaskTimer(Plugin plugin, Runnable r, long l, long l1) throws IllegalArgumentException
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public BukkitTask runTaskTimerAsynchronously(Plugin plugin, Runnable r, long l, long l1) throws IllegalArgumentException
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2013-01-31 19:16:09 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public int scheduleAsyncDelayedTask(Plugin plugin, Runnable r, long l)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int scheduleAsyncDelayedTask(Plugin plugin, Runnable r)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-08-08 12:40:30 +00:00
|
|
|
};
|
2011-05-13 19:18:22 +00:00
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public ServicesManager getServicesManager()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public List<World> getWorlds()
|
|
|
|
{
|
|
|
|
return worlds;
|
|
|
|
}
|
|
|
|
|
|
|
|
public World createWorld(String string, Environment e)
|
|
|
|
{
|
|
|
|
World w = new FakeWorld(string, e);
|
|
|
|
worlds.add(w);
|
|
|
|
return w;
|
|
|
|
}
|
|
|
|
|
|
|
|
public World createWorld(String string, Environment e, long l)
|
|
|
|
{
|
|
|
|
World w = new FakeWorld(string, e);
|
|
|
|
worlds.add(w);
|
|
|
|
return w;
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public World getWorld(String string)
|
|
|
|
{
|
|
|
|
for (World world : worlds)
|
|
|
|
{
|
2011-10-04 05:54:45 +00:00
|
|
|
if (world.getName().equalsIgnoreCase(string))
|
|
|
|
{
|
2011-05-13 19:18:22 +00:00
|
|
|
return world;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public void reload()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public Logger getLogger()
|
|
|
|
{
|
|
|
|
return Logger.getLogger("Minecraft");
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public PluginCommand getPluginCommand(String string)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public void savePlayers()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public boolean dispatchCommand(CommandSender cs, String string)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public void configureDbConfig(ServerConfig sc)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-05-13 19:18:22 +00:00
|
|
|
public boolean addRecipe(Recipe recipe)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-06-01 10:40:12 +00:00
|
|
|
public void addPlayer(Player base1)
|
2011-05-13 19:18:22 +00:00
|
|
|
{
|
|
|
|
players.add(base1);
|
|
|
|
}
|
2011-10-04 05:54:45 +00:00
|
|
|
|
2014-04-13 23:03:07 +00:00
|
|
|
public OfflinePlayer createPlayer(String name)
|
2011-05-13 19:18:22 +00:00
|
|
|
{
|
2014-04-13 23:03:07 +00:00
|
|
|
OfflinePlayer player = new OfflinePlayer(name, this);
|
2011-05-13 19:18:22 +00:00
|
|
|
player.setLocation(new Location(worlds.get(0), 0, 0, 0, 0, 0));
|
|
|
|
return player;
|
|
|
|
}
|
2011-06-11 10:36:17 +00:00
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
|
|
|
public World createWorld(WorldCreator creator)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2011-06-11 10:36:17 +00:00
|
|
|
public boolean unloadWorld(String string, boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-06-11 10:36:17 +00:00
|
|
|
public boolean unloadWorld(World world, boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-06-23 10:44:16 +00:00
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public Map<String, String[]> getCommandAliases()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public int getSpawnRadius()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public void setSpawnRadius(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-06-23 10:44:16 +00:00
|
|
|
public boolean getOnlineMode()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-07-09 11:45:41 +00:00
|
|
|
|
|
|
|
public World getWorld(long l)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-07-17 21:31:12 +00:00
|
|
|
|
2011-10-04 05:54:45 +00:00
|
|
|
@Override
|
2011-07-17 21:31:12 +00:00
|
|
|
public World getWorld(UUID uuid)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-08-15 19:36:43 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getViewDistance()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean getAllowNether()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean hasWhitelist()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public MapView getMap(short s)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public MapView createMap(World world)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean getAllowFlight()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-09-07 20:34:53 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setWhitelist(boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<org.bukkit.OfflinePlayer> getWhitelistedPlayers()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void reloadWhitelist()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Player getPlayerExact(String string)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void shutdown()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int broadcast(String string, String string1)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2011-10-20 23:36:13 +00:00
|
|
|
public org.bukkit.OfflinePlayer getOfflinePlayer(final String string)
|
2011-09-07 20:34:53 +00:00
|
|
|
{
|
2011-11-21 01:55:26 +00:00
|
|
|
return new org.bukkit.OfflinePlayer()
|
|
|
|
{
|
2011-10-20 23:36:13 +00:00
|
|
|
@Override
|
|
|
|
public boolean isOnline()
|
|
|
|
{
|
2013-06-02 16:56:48 +00:00
|
|
|
return false;
|
2011-10-20 23:36:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getName()
|
|
|
|
{
|
|
|
|
return string;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isBanned()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setBanned(boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isWhitelisted()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setWhitelisted(boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Player getPlayer()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isOp()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setOp(boolean bln)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Map<String, Object> serialize()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-12-12 23:00:21 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public long getFirstPlayed()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public long getLastPlayed()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean hasPlayedBefore()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-01-20 04:20:37 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public Location getBedSpawnLocation()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2014-04-06 14:50:18 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public UUID getUniqueId()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
|
|
|
}
|
2011-10-20 23:36:13 +00:00
|
|
|
};
|
2011-09-07 20:34:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<String> getIPBans()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void banIP(String string)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void unbanIP(String string)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<org.bukkit.OfflinePlayer> getBannedPlayers()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-09-17 11:14:34 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public GameMode getDefaultGameMode()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2011-10-04 05:54:45 +00:00
|
|
|
public void setDefaultGameMode(GameMode gamemode)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ConsoleCommandSender getConsoleSender()
|
|
|
|
{
|
2013-10-11 02:34:41 +00:00
|
|
|
return new ConsoleCommandSender()
|
|
|
|
{
|
2013-06-08 15:33:30 +00:00
|
|
|
@Override
|
|
|
|
public void sendMessage(String message)
|
|
|
|
{
|
|
|
|
System.out.println("Console message: " + message);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void sendMessage(String[] messages)
|
|
|
|
{
|
2013-10-11 02:34:41 +00:00
|
|
|
for (String message : messages)
|
|
|
|
{
|
2013-06-08 15:33:30 +00:00
|
|
|
System.out.println("Console message: " + message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Server getServer()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getName()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isPermissionSet(String name)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isPermissionSet(Permission perm)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean hasPermission(String name)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean hasPermission(Permission perm)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public PermissionAttachment addAttachment(Plugin plugin, String name, boolean value)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public PermissionAttachment addAttachment(Plugin plugin)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public PermissionAttachment addAttachment(Plugin plugin, String name, boolean value, int ticks)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public PermissionAttachment addAttachment(Plugin plugin, int ticks)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void removeAttachment(PermissionAttachment attachment)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void recalculatePermissions()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<PermissionAttachmentInfo> getEffectivePermissions()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isOp()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setOp(boolean value)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isConversing()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void acceptConversationInput(String input)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean beginConversation(Conversation conversation)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void abandonConversation(Conversation conversation)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void abandonConversation(Conversation conversation, ConversationAbandonedEvent details)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void sendRawMessage(String message)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2013-10-11 02:34:41 +00:00
|
|
|
};
|
2011-10-04 05:54:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set getOperators()
|
2011-09-17 11:14:34 +00:00
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-11-20 13:30:54 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getBukkitVersion()
|
|
|
|
{
|
2011-11-23 01:43:38 +00:00
|
|
|
return "Essentials Fake-Server";
|
2011-11-20 13:30:54 +00:00
|
|
|
}
|
2011-11-25 04:49:57 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public File getWorldContainer()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-12-06 22:56:38 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public OfflinePlayer[] getOfflinePlayers()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2011-12-12 23:00:21 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean getAllowEnd()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-01-20 04:20:37 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public Messenger getMessenger()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void sendPluginMessage(Plugin plugin, String string, byte[] bytes)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Set<String> getListeningPluginChannels()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-01-29 21:06:55 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean useExactLoginLocation()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-02-15 06:44:35 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getTicksPerAnimalSpawns()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getTicksPerMonsterSpawns()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-02-21 16:33:46 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public List<Recipe> getRecipesFor(ItemStack is)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Iterator<Recipe> recipeIterator()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void clearRecipes()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void resetRecipes()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-03-01 15:15:37 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public HelpMap getHelpMap()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Inventory createInventory(InventoryHolder ih, InventoryType it)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Inventory createInventory(InventoryHolder ih, int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Inventory createInventory(InventoryHolder ih, int i, String string)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-03-15 22:23:26 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getWorldType()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean getGenerateStructures()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-03-22 23:10:59 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public long getConnectionThrottle()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-05-19 21:19:24 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getMonsterSpawnLimit()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getAnimalSpawnLimit()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getWaterAnimalSpawnLimit()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-08-02 12:48:13 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public boolean isPrimaryThread()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getMotd()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-08-07 07:52:57 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public WarningState getWarningState()
|
|
|
|
{
|
2014-01-20 10:20:13 +00:00
|
|
|
return WarningState.DEFAULT;
|
2012-08-07 07:52:57 +00:00
|
|
|
}
|
2012-11-05 00:04:10 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getAmbientSpawnLimit()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2012-12-19 12:52:05 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getShutdownMessage()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ItemFactory getItemFactory()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2013-04-16 20:59:36 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public ScoreboardManager getScoreboardManager()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2013-12-01 03:03:10 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public CachedServerIcon getServerIcon() {
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public CachedServerIcon loadServerIcon(File file) throws IllegalArgumentException, Exception {
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public CachedServerIcon loadServerIcon(BufferedImage bufferedImage) throws IllegalArgumentException, Exception {
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2014-01-20 10:20:13 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public void setIdleTimeout(int i)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getIdleTimeout()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public UnsafeValues getUnsafe()
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
|
|
|
}
|
2014-02-19 01:17:05 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public BanList getBanList(BanList.Type arg0)
|
|
|
|
{
|
2014-02-23 02:10:21 +00:00
|
|
|
throw new UnsupportedOperationException("Not supported yet.");
|
2014-02-19 01:17:05 +00:00
|
|
|
}
|
2014-04-06 14:50:18 +00:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public Player getPlayer(UUID arg0)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public OfflinePlayer getOfflinePlayer(UUID arg0)
|
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
|
|
|
|
}
|
2011-05-13 19:18:22 +00:00
|
|
|
}
|