Final update
This commit is contained in:
parent
d96a6379c2
commit
aaeacb663a
|
@ -74,6 +74,7 @@ disable_password=false
|
||||||
; if you recieve lots of /account/api/oauth/token requests, set this to true
|
; if you recieve lots of /account/api/oauth/token requests, set this to true
|
||||||
; this will disable the client credentials grant type
|
; this will disable the client credentials grant type
|
||||||
; however this will also disable a user to get the hotfixes before login
|
; however this will also disable a user to get the hotfixes before login
|
||||||
|
; enabling will disable the store tab
|
||||||
; so xmpp and other hotfix related things will be delayed by ~1 minute
|
; so xmpp and other hotfix related things will be delayed by ~1 minute
|
||||||
disable_client_credentials=false
|
disable_client_credentials=false
|
||||||
; this is used to generate a random shop
|
; this is used to generate a random shop
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
> Performance first, feature-rich universal Fortnite private server backend written in Go.
|
> Performance first, feature-rich universal Fortnite private server backend written in Go.
|
||||||
|
|
||||||
|
Snow will no longer be updated. I have reached a point where I would need a game server to make it worth adding new features, e.g. Leaderboards, Challenges etc. In the future I may continue but for the time being no updates will occur. If you would like to contribute I will still review each request!
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
- **Single File** It will embed all of the external files inside of one executable! This allows the backend to be ran anywhere with no setup _(after initial config)_!
|
- **Single File** It will embed all of the external files inside of one executable! This allows the backend to be ran anywhere with no setup _(after initial config)_!
|
||||||
|
|
|
@ -16,6 +16,10 @@ func GetDefaultEngine() []byte {
|
||||||
realPort := fmt.Sprintf("%d", portNumber)
|
realPort := fmt.Sprintf("%d", portNumber)
|
||||||
|
|
||||||
str := `
|
str := `
|
||||||
|
[OnlineSubsystemMcp.OnlinePaymentServiceMcp Fortnite]
|
||||||
|
Domain="launcher-website-prod.ak.epicgames.com"
|
||||||
|
BasePath="/logout?redirectUrl=https%3A%2F%2Fwww.unrealengine.com%2Fid%2Flogout%3FclientId%3Dxyza7891KKDWlczTxsyy7H3ExYgsNT4Y%26responseType%3Dcode%26redirectUrl%3Dhttps%253A%252F%252Ftesting-site.neonitedev.live%252Fid%252Flogin%253FredirectUrl%253Dhttps%253A%252F%252Ftesting-site.neonitedev.live%252Fpurchase%252Facquire&path="
|
||||||
|
|
||||||
[XMPP]
|
[XMPP]
|
||||||
bEnableWebsockets=true
|
bEnableWebsockets=true
|
||||||
|
|
||||||
|
@ -30,18 +34,27 @@ FortMatchmakingV2.EnableContentBeacon=0
|
||||||
|
|
||||||
[/Script/Qos.QosRegionManager]
|
[/Script/Qos.QosRegionManager]
|
||||||
NumTestsPerRegion=5
|
NumTestsPerRegion=5
|
||||||
PingTimeout=3.0`
|
PingTimeout=3.0
|
||||||
|
|
||||||
|
[LwsWebSocket]
|
||||||
|
bDisableCertValidation=true
|
||||||
|
bDisableDomainWhitelist=true
|
||||||
|
|
||||||
|
[WinHttpWebSocket]
|
||||||
|
bDisableDomainWhitelist=true`
|
||||||
|
|
||||||
if aid.Config.Fortnite.Season <= 2 {
|
if aid.Config.Fortnite.Season <= 2 {
|
||||||
str += `
|
str += `
|
||||||
|
|
||||||
[OnlineSubsystemMcp.Xmpp]
|
[OnlineSubsystemMcp.Xmpp]
|
||||||
|
bUsePlainTextAuth=true
|
||||||
bUseSSL=false
|
bUseSSL=false
|
||||||
Protocol=tcp
|
Protocol=tcp
|
||||||
ServerAddr="`+ aid.Config.API.Host + `"
|
ServerAddr="`+ aid.Config.API.Host + `"
|
||||||
ServerPort=`+ realPort + `
|
ServerPort=`+ realPort + `
|
||||||
|
|
||||||
[OnlineSubsystemMcp.Xmpp Prod]
|
[OnlineSubsystemMcp.Xmpp Prod]
|
||||||
|
bUsePlainTextAuth=true
|
||||||
bUseSSL=false
|
bUseSSL=false
|
||||||
Protocol=tcp
|
Protocol=tcp
|
||||||
ServerAddr="`+ aid.Config.API.Host + `"
|
ServerAddr="`+ aid.Config.API.Host + `"
|
||||||
|
@ -49,14 +62,16 @@ ServerPort=`+ realPort
|
||||||
} else {
|
} else {
|
||||||
str += `
|
str += `
|
||||||
[OnlineSubsystemMcp.Xmpp]
|
[OnlineSubsystemMcp.Xmpp]
|
||||||
|
bUsePlainTextAuth=true
|
||||||
bUseSSL=false
|
bUseSSL=false
|
||||||
Protocol=ws
|
Protocol=ws
|
||||||
ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?"
|
ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?SNOW_SOCKET_CONNECTION"
|
||||||
|
|
||||||
[OnlineSubsystemMcp.Xmpp Prod]
|
[OnlineSubsystemMcp.Xmpp Prod]
|
||||||
|
bUsePlainTextAuth=true
|
||||||
bUseSSL=false
|
bUseSSL=false
|
||||||
Protocol=ws
|
Protocol=ws
|
||||||
ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?"`
|
ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?SNOW_SOCKET_CONNECTION"`
|
||||||
}
|
}
|
||||||
|
|
||||||
return []byte(str)
|
return []byte(str)
|
||||||
|
@ -83,6 +98,7 @@ GameDev="http://localhost:5173/purchase"
|
||||||
Stage="http://127.0.0.1:5173/purchase"
|
Stage="http://127.0.0.1:5173/purchase"
|
||||||
Prod="http://127.0.0.1:5173/purchase"
|
Prod="http://127.0.0.1:5173/purchase"
|
||||||
UEPlatform="FNGame"
|
UEPlatform="FNGame"
|
||||||
|
|
||||||
`)}
|
`)}
|
||||||
|
|
||||||
func GetDefaultRuntime() []byte {return []byte(`
|
func GetDefaultRuntime() []byte {return []byte(`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user