// Path: bungee/src/main/java/me/leoko/advancedban/bungee/cloud/support/CloudNetV2Support.java
// public class CloudNetV2Support implements CloudSupport {
// 
//     @Override
//     public void kick(UUID uniqueID, String reason) {
//         PlayerExecutorBridge.INSTANCE.kickPlayer(CloudServer.getInstance().getCloudPlayers().get(uniqueID), reason);
//     }
// }
// 
// Path: bungee/src/main/java/me/leoko/advancedban/bungee/cloud/support/CloudNetV3Support.java
// public class CloudNetV3Support implements CloudSupport {
// 
//     @Override
//     public void kick(UUID uniqueID, String reason) {
//         CloudNetDriver.getInstance().getServicesRegistry().getFirstService(IPlayerManager.class).getPlayerExecutor(uniqueID).kick(reason);
//     }
// }


import me.leoko.advancedban.bungee.cloud.support.CloudNetV2Support;
import me.leoko.advancedban.bungee.cloud.support.CloudNetV3Support;
import net.md_5.bungee.api.ProxyServer;
package me.leoko.advancedban.bungee.cloud;


public class CloudSupportHandler {

    public static CloudSupport getCloudSystem(){
        if (ProxyServer.getInstance().getPluginManager().getPlugin("CloudNet-Bridge") != null)  {
            return new CloudNetV3Support();
        }
        if (ProxyServer.getInstance().getPluginManager().getPlugin("CloudNetAPI") != null) {
// Path: bungee/src/main/java/me/leoko/advancedban/bungee/cloud/support/CloudNetV2Support.java
// public class CloudNetV2Support implements CloudSupport {
// 
//     @Override
//     public void kick(UUID uniqueID, String reason) {
//         PlayerExecutorBridge.INSTANCE.kickPlayer(CloudServer.getInstance().getCloudPlayers().get(uniqueID), reason);
//     }
// }
// 
// Path: bungee/src/main/java/me/leoko/advancedban/bungee/cloud/support/CloudNetV3Support.java
// public class CloudNetV3Support implements CloudSupport {
// 
//     @Override
//     public void kick(UUID uniqueID, String reason) {
//         CloudNetDriver.getInstance().getServicesRegistry().getFirstService(IPlayerManager.class).getPlayerExecutor(uniqueID).kick(reason);
//     }
// }


// Path: bungee/src/main/java/me/leoko/advancedban/bungee/cloud/CloudSupportHandler.java
import me.leoko.advancedban.bungee.cloud.support.CloudNetV2Support;
import me.leoko.advancedban.bungee.cloud.support.CloudNetV3Support;
import net.md_5.bungee.api.ProxyServer;

package me.leoko.advancedban.bungee.cloud;


public class CloudSupportHandler {

    public static CloudSupport getCloudSystem(){
        if (ProxyServer.getInstance().getPluginManager().getPlugin("CloudNet-Bridge") != null)  {
            return new CloudNetV3Support();
        }
        if (ProxyServer.getInstance().getPluginManager().getPlugin("CloudNetAPI") != null) {
            return new CloudNetV2Support();