fivereborn-query

1.0.4 • Public • Published

FiveReborn Server query

Allows you to query FiveReborn servers easily.

Installation:

npm install fivereborn-query

Usage:

const fivereborn = require('fivereborn-query')
 
fivereborn.query("255.255.255.255", 30120, (err, data) => {
  if (!err) {
    console.log(data)
  } else {
    console.log('Server is offline.')
  }
})

Output:

{ maxclients: 24,
  clients: 0,
  challenge: 'xxx',
  gamename: 'GTA5',
  protocol: 4,
  hostname: 'Test FiveReborn Server',
  gametype: 'Freeroam',
  mapname: 'fivem-map-skater',
  iv: -1688173451 }

Readme

Keywords

none

Package Sidebar

Install

npm i fivereborn-query

Weekly Downloads

65

Version

1.0.4

License

ISC

Last publish

Collaborators

  • liquidobsidian