public class BungeeAdapter extends ProxyAdapter
Constructor and Description |
---|
BungeeAdapter(net.md_5.bungee.api.plugin.Plugin pl) |
createFakePlayer, createInventory, createItemBuilder, createItemBuilder, createItemBuilder, createSkullItemBuilder, createSkullItemBuilder, getItemRegistrar, getLastTPS, getOfflinePlayer, getOfflinePlayer, getServerVersion, getTPS, getUUID, getVersionAdapter
canSendStats, getAdapter, getName, setAdapter
public Platform getPlatformID()
getPlatformID
in class Adapter
public Configuration getConfig()
public File getDataFolder()
getDataFolder
in class Adapter
public TranslationProviderFactory getPlatformTranslationProviderFactory()
getPlatformTranslationProviderFactory
in class Adapter
public String getVersion()
getVersion
in class Adapter
public String getPluginVersion()
getPluginVersion
in class Adapter
public void reloadConfig()
reloadConfig
in class Adapter
public NegativityAccountManager getAccountManager()
getAccountManager
in class Adapter
public void runConsoleCommand(String cmd)
runConsoleCommand
in class Adapter
public CompletableFuture<Boolean> isUsingMcLeaks(UUID playerId)
isUsingMcLeaks
in class Adapter
public LoggerAdapter getLogger()
public List<UUID> getOnlinePlayersUUID()
getOnlinePlayersUUID
in class Adapter
public List<Player> getOnlinePlayers()
getOnlinePlayers
in class Adapter
public ExternalPlugin getPlugin(String name)
public List<ExternalPlugin> getDependentPlugins()
getDependentPlugins
in class Adapter
public void registerNewIncomingChannel(String channel, BiConsumer<Player,byte[]> event)
registerNewIncomingChannel
in class Adapter
public void broadcastMessage(String message)
broadcastMessage
in class Adapter
public List<String> getAllPlugins()
getAllPlugins
in class Adapter
public void sendMessageRunnableHover(Player p, String message, String hover, String command)
sendMessageRunnableHover
in class Adapter
public Scheduler getScheduler()
getScheduler
in class Adapter