Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix For 'GameDig' - Store Game Info Mod #1024

Merged
merged 5 commits into from
Feb 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions actions/game_server_MOD.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ module.exports = {
<option value="globaloperations">Global Operations (2002)</option>
<option value="ges">GoldenEye: Source (2010)</option>
<option value="gore">Gore: Ultimate Soldier (2002)</option>
<option value="fivem">Grand Theft Auto V - FiveM (2013)</option>
<option value="gta5f">Grand Theft Auto V - FiveM (2013)</option>
<option value="mtasa">Grand Theft Auto: San Andreas - Multi Theft Auto (2004)</option>
<option value="mtavc">Grand Theft Auto: Vice City - Multi Theft Auto (2002)</option>
<option value="groundbreach">Ground Breach (2018)</option>
Expand Down Expand Up @@ -413,12 +413,10 @@ module.exports = {
const ip = this.evalMessage(data.serverip, cache);
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,
Expand Down
Loading