247248249250251252253254
public static RemoteConsoleCommandSender getRcon() { Server server = Bukkit.getServer(); CraftServer craftServer = (CraftServer)server; MinecraftServer minecraftServer = craftServer.getServer(); return minecraftServer.remoteConsole; }