auto restart system
parent
df39c12033
commit
c26ea7aa24
|
@ -2,9 +2,7 @@ package net.krakatoa.proxy.command;
|
||||||
|
|
||||||
import de.dytanic.cloudnet.driver.CloudNetDriver;
|
import de.dytanic.cloudnet.driver.CloudNetDriver;
|
||||||
import de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot;
|
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.BridgeServiceProperty;
|
||||||
import de.dytanic.cloudnet.ext.bridge.ServiceInfoSnapshotUtil;
|
|
||||||
import de.dytanic.cloudnet.ext.bridge.player.ServicePlayer;
|
import de.dytanic.cloudnet.ext.bridge.player.ServicePlayer;
|
||||||
import java.security.SecureRandom;
|
import java.security.SecureRandom;
|
||||||
import net.md_5.bungee.api.CommandSender;
|
import net.md_5.bungee.api.CommandSender;
|
||||||
|
@ -47,11 +45,6 @@ public class CodeCommand extends Command {
|
||||||
// TODO: add url and copy text
|
// TODO: add url and copy text
|
||||||
//proxiedPlayer.sendMessage(new TextComponent("§eNeuer Code §c§l" + voiceWebCode));
|
//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()
|
ServiceInfoSnapshot serviceInfoSnapshot = CloudNetDriver.getInstance()
|
||||||
.getCloudServiceProvider().getCloudServiceByName("lobby-1");
|
.getCloudServiceProvider().getCloudServiceByName("lobby-1");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue