           serverObj.ip = ws.upgradeReq.connection.remoteAddress
           versions = splitMsg[3].split ','
           installStr = getAddonInstalls(versions)
+          prange = splitMsg[5].split '-'
+          serverObj.portRangeStart = parseInt prange[0]
+          serverObj.portRangeEnd = parseInt prange[1]
           if installStr is ""
             console.log "new server init "+serverObj.ip
             ourID = servers.insert serverObj

launchServer = (serv, lobby)->
  id = idCounter
  idCounter+=1
  port = Math.floor(Math.random()*1000)+30000
  if process.env.FORCE_PORT?
    port = process.env.FORCE_PORT
    console.log "port forced to "+port+" by env variable"

Rcon = Meteor.require('rcon')
ws = Meteor.require('ws').Server
serverPassword = "kwxmMKDcuVjQNutZOwZy"
serverVersion = "1.0.6"

idCounter=100

