From e7836bc897a47b101901d52e8fd21d5df4973377 Mon Sep 17 00:00:00 2001 From: Harley <83428883+Harley2787@users.noreply.github.com> Date: Mon, 26 Feb 2024 23:27:47 +0000 Subject: [PATCH 1/4] Update Store Game Info Mod --- actions/game_server_MOD.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/actions/game_server_MOD.js b/actions/game_server_MOD.js index 52b1d710..2e455f7d 100644 --- a/actions/game_server_MOD.js +++ b/actions/game_server_MOD.js @@ -166,7 +166,7 @@ module.exports = { - + @@ -414,11 +414,12 @@ module.exports = { const port = this.evalMessage(data.serverport, cache); const Mods = this.getMods(); - const Gamedig = Mods.require('gamedig'); + const { GameDig } = require('gamedig'); if (!ip) return console.log('Please provide Server IP & Port.'); + - Gamedig.query({ + GameDig.query({ type: gametype, host: ip, port, From 96d85b423abe8e131a40a27f0199dc00cacd9276 Mon Sep 17 00:00:00 2001 From: Detroit Whiskey <45453611+DetroitWhiskey136@users.noreply.github.com> Date: Mon, 26 Feb 2024 16:27:19 -0800 Subject: [PATCH 2/4] Update actions/game_server_MOD.js --- actions/game_server_MOD.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/game_server_MOD.js b/actions/game_server_MOD.js index 2e455f7d..d1d3b1ed 100644 --- a/actions/game_server_MOD.js +++ b/actions/game_server_MOD.js @@ -414,7 +414,7 @@ module.exports = { const port = this.evalMessage(data.serverport, cache); const Mods = this.getMods(); - const { GameDig } = require('gamedig'); + const { GameDig } = require('gamedig'); if (!ip) return console.log('Please provide Server IP & Port.'); From 17ec13bbe9e0562e0c326e6b13cf26db76f82c5e Mon Sep 17 00:00:00 2001 From: Detroit Whiskey <45453611+DetroitWhiskey136@users.noreply.github.com> Date: Mon, 26 Feb 2024 16:27:26 -0800 Subject: [PATCH 3/4] Update actions/game_server_MOD.js --- actions/game_server_MOD.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/actions/game_server_MOD.js b/actions/game_server_MOD.js index d1d3b1ed..d243e15b 100644 --- a/actions/game_server_MOD.js +++ b/actions/game_server_MOD.js @@ -417,8 +417,6 @@ module.exports = { const { GameDig } = require('gamedig'); if (!ip) return console.log('Please provide Server IP & Port.'); - - GameDig.query({ type: gametype, host: ip, From 8530d8e8ce5517afc7bd526a425d35e0ca982030 Mon Sep 17 00:00:00 2001 From: Harley <83428883+Harley2787@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:42:40 +0000 Subject: [PATCH 4/4] Update game_server_MOD.js eslint Fix --- actions/game_server_MOD.js | 1 - 1 file changed, 1 deletion(-) diff --git a/actions/game_server_MOD.js b/actions/game_server_MOD.js index d243e15b..e90d4345 100644 --- a/actions/game_server_MOD.js +++ b/actions/game_server_MOD.js @@ -413,7 +413,6 @@ module.exports = { const ip = this.evalMessage(data.serverip, cache); const port = this.evalMessage(data.serverport, cache); - const Mods = this.getMods(); const { GameDig } = require('gamedig'); if (!ip) return console.log('Please provide Server IP & Port.');