mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
feat: add Hawakening support (#648)
* Add support for Hawakening, querying master server * Outsource backend calls into Api class * Define json response via schema, optional data validation with Ajv (commented out) * Add support for Hawakening master query through separate protocol Protocol 'hawakeningmaster' provides full list of processed server info * docs: update CHANGELOG and GAMES_LIST for Hawakening * Additional API check + cleanup * Allowing public/non-authorized master server query for Hawkening severs * Fix: Reference the master protocol correctly in docs/games_list * Reorganized code file, moved schema and API-class to the end
This commit is contained in:
parent
fe9d4f2cfc
commit
d2397b67e7
7 changed files with 765 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ const gamedig = new GameDig(options)
|
|||
const protocolList = []
|
||||
Object.keys(protocols).forEach((key) => protocolList.push(key))
|
||||
|
||||
const ignoredProtocols = ['discord', 'beammpmaster', 'beammp', 'teamspeak2', 'teamspeak3', 'vintagestorymaster', 'renegadexmaster']
|
||||
const ignoredProtocols = ['discord', 'beammpmaster', 'beammp', 'teamspeak2', 'teamspeak3', 'vintagestorymaster', 'renegadexmaster', 'hawakeningmaster']
|
||||
const protocolListFiltered = protocolList.filter((protocol) => !ignoredProtocols.includes(protocol))
|
||||
|
||||
const run = async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue