mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 10:52:23 +01:00
User friendly GameServer config
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
[Config]
|
[Config]
|
||||||
bUseConfigDisplayName=false # If this is set to false, it will use the email to display name method.
|
bUseConfigDisplayName=false # If this is set to false, it will use the email to display name method.
|
||||||
displayName=LawinServer # Your fortnite display name.
|
displayName=LawinServer # Your fortnite display name.
|
||||||
|
|
||||||
|
[GameServer]
|
||||||
|
# Matchmaker gameserver config, you can use this to connect to gameservers like rift (titanium), fortmp, etc... (they have to be hosting though).
|
||||||
|
ip=127.0.0.1 # IP the matchmaker will use upon join.
|
||||||
|
port=7777 # PORT the matchmaker will use upon join.
|
||||||
6
index.js
6
index.js
@@ -625,7 +625,7 @@ express.get("/fortnite/api/game/v2/matchmakingservice/ticket/player/*", async (r
|
|||||||
fs.writeFileSync("./memory.json", JSON.stringify(memory, null, 2));
|
fs.writeFileSync("./memory.json", JSON.stringify(memory, null, 2));
|
||||||
|
|
||||||
res.json({
|
res.json({
|
||||||
"serviceUrl": "ws://127.0.0.1:80",
|
"serviceUrl": "ws://lawinservermatchmaker.herokuapp.com",
|
||||||
"ticketType": "mms-player",
|
"ticketType": "mms-player",
|
||||||
"payload": "69=",
|
"payload": "69=",
|
||||||
"signature": "420="
|
"signature": "420="
|
||||||
@@ -647,8 +647,8 @@ express.get("/fortnite/api/matchmaking/session/:session_id", async (req, res) =>
|
|||||||
"ownerId": crypto.createHash('md5').update(`1${Math.random().toString()}`).digest('hex').toUpperCase(),
|
"ownerId": crypto.createHash('md5').update(`1${Math.random().toString()}`).digest('hex').toUpperCase(),
|
||||||
"ownerName": "[DS]fortnite-liveeugcec1c2e30ubrcore0a-z8hj-1968",
|
"ownerName": "[DS]fortnite-liveeugcec1c2e30ubrcore0a-z8hj-1968",
|
||||||
"serverName": "[DS]fortnite-liveeugcec1c2e30ubrcore0a-z8hj-1968",
|
"serverName": "[DS]fortnite-liveeugcec1c2e30ubrcore0a-z8hj-1968",
|
||||||
"serverAddress": "127.0.0.1",
|
"serverAddress": config.GameServer.ip,
|
||||||
"serverPort": 9015,
|
"serverPort": Number(config.GameServer.port),
|
||||||
"maxPublicPlayers": 220,
|
"maxPublicPlayers": 220,
|
||||||
"openPublicPlayers": 175,
|
"openPublicPlayers": 175,
|
||||||
"maxPrivatePlayers": 0,
|
"maxPrivatePlayers": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user