if (!config.getBoolean(ServerConfig.Key.RCON_ENABLED)) {
return;
}
SocketAddress address = getBindAddress(ServerConfig.Key.RCON_PORT);
rconServer = new RconServer(this, config.getString(ServerConfig.Key.RCON_PASSWORD));
logger.info("Binding rcon to address: " + address + "...");
ChannelFuture future = rconServer.bind(address);
Channel channel = future.awaitUninterruptibly().channel();
if (!channel.isActive()) {