feat: added server address in relay.config.json
This commit is contained in:
@@ -63,6 +63,7 @@ namespace Ragon.Relay
|
||||
Protocol = configuration.Protocol,
|
||||
ServerKey = configuration.ServerKey,
|
||||
ServerTickRate = configuration.ServerTickRate,
|
||||
ServerAddress = configuration.ServerAddress,
|
||||
};
|
||||
|
||||
var relay = new RagonServer(networkServer, plugin, serverConfiguration);
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace Ragon.Relay
|
||||
{
|
||||
public string ServerKey;
|
||||
public string ServerType;
|
||||
public string ServerAddress;
|
||||
public ushort ServerTickRate;
|
||||
public string Protocol;
|
||||
public ushort Port;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"serverKey": "defaultkey",
|
||||
"serverType": "enet",
|
||||
"serverAddress": "*",
|
||||
"serverTickRate": 30,
|
||||
"protocol": "1.0.0",
|
||||
"port": 5000,
|
||||
|
||||
Reference in New Issue
Block a user