auto restart system

master
Alex 2021-12-27 17:14:48 +01:00
parent df39c12033
commit c26ea7aa24
1 changed files with 0 additions and 7 deletions

View File

@ -2,9 +2,7 @@ package net.krakatoa.proxy.command;
import de.dytanic.cloudnet.driver.CloudNetDriver;
import de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot;
import de.dytanic.cloudnet.driver.service.ServiceTask;
import de.dytanic.cloudnet.ext.bridge.BridgeServiceProperty;
import de.dytanic.cloudnet.ext.bridge.ServiceInfoSnapshotUtil;
import de.dytanic.cloudnet.ext.bridge.player.ServicePlayer;
import java.security.SecureRandom;
import net.md_5.bungee.api.CommandSender;
@ -47,11 +45,6 @@ public class CodeCommand extends Command {
// TODO: add url and copy text
//proxiedPlayer.sendMessage(new TextComponent("§eNeuer Code §c§l" + voiceWebCode));
System.out.println("players " + ServiceInfoSnapshotUtil.getGroupOnlineCount("lobby-1"));
ServiceTask a = CloudNetDriver.getInstance().getServiceTaskProvider()
.getServiceTask("lobby-1");
ServiceInfoSnapshot serviceInfoSnapshot = CloudNetDriver.getInstance()
.getCloudServiceProvider().getCloudServiceByName("lobby-1");