mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
feat: Add support for AltvMP (#588)
* feat: Add Minetest support using serverlist * Allow for connect to be assigned, * Add serverId to the string args * Add altvmp implementation * Added altv to games. * Add changelog entry * Update CHANGELOG.md with state.connect
This commit is contained in:
parent
38229cde3b
commit
bdb819d0f8
7 changed files with 88 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ export default class Core extends EventEmitter {
|
|||
state.queryPort = options.port
|
||||
// because lots of servers prefix with spaces to try to appear first
|
||||
state.name = (state.name || '').trim()
|
||||
state.connect = `${state.gameHost || options.host || options.address}:${state.gamePort || options.port}`
|
||||
state.connect = state.connect || `${state.gameHost || options.host || options.address}:${state.gamePort || options.port}`
|
||||
state.ping = this.shortestRTT
|
||||
|
||||
delete state.gameHost
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue