UNPKG

gamedig

Version:

Query for the status of any game server in Node.JS

18 lines (14 loc) 339 B
import Core from './core.js' export default class beammpmaster extends Core { constructor () { super() // Don't use the tcp ping probing this.usedTcp = true } async run (state) { state.raw.servers = await this.request({ url: 'https://backend.beammp.com/servers-info', responseType: 'json' }) } }