mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
Add Satisfactory using epic protocol
This commit is contained in:
parent
0bf6645921
commit
5f53d69454
3 changed files with 23 additions and 1 deletions
|
|
@ -2410,6 +2410,14 @@ export const games = {
|
|||
old_id: 'saomp'
|
||||
}
|
||||
},
|
||||
satisfactory: {
|
||||
name: 'Satisfactory',
|
||||
release_year: 2019,
|
||||
options: {
|
||||
port: 8211,
|
||||
protocol: 'satisfactory'
|
||||
}
|
||||
},
|
||||
s2ats: {
|
||||
name: 'Savage 2: A Tortured Soul',
|
||||
release_year: 2008,
|
||||
|
|
|
|||
|
|
@ -53,11 +53,12 @@ import beammpmaster from './beammpmaster.js'
|
|||
import beammp from './beammp.js'
|
||||
import dayz from './dayz.js'
|
||||
import theisleevrima from './theisleevrima.js'
|
||||
import satisfactory from './satisfactory.js'
|
||||
|
||||
export {
|
||||
armagetron, ase, asa, assettocorsa, battlefield, buildandshoot, cs2d, discord, doom3, eco, epic, ffow, fivem, gamespy1,
|
||||
gamespy2, gamespy3, geneshift, goldsrc, hexen2, jc2mp, kspdmp, mafia2mp, mafia2online, minecraft,
|
||||
minecraftbedrock, minecraftvanilla, mumble, mumbleping, nadeo, openttd, palworld, quake1, quake2, quake3, rfactor, samp,
|
||||
savage2, starmade, starsiege, teamspeak2, teamspeak3, terraria, tribes1, tribes1master, unreal2, ut3, valve,
|
||||
vcmp, ventrilo, warsow, eldewrito, beammpmaster, beammp, dayz, theisleevrima
|
||||
vcmp, ventrilo, warsow, eldewrito, beammpmaster, beammp, dayz, theisleevrima, satisfactory
|
||||
}
|
||||
|
|
|
|||
13
protocols/satisfactory.js
Normal file
13
protocols/satisfactory.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import Epic from './epic.js'
|
||||
|
||||
export default class satisfactory extends Epic {
|
||||
constructor () {
|
||||
super()
|
||||
|
||||
// OAuth2 credentials extracted from Satisfactory files.
|
||||
this.clientId = '02612880aa774fb28e3741d3e01501fd'
|
||||
this.clientSecret = '7ZP]vm+i.uoetw@RxqRXpod_RNyjPC-%GM#ac~Pc'
|
||||
this.deploymentId = '5aebeb30a7614270b4f40c0bc2fe7549'
|
||||
this.authByExternalToken = true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue