2020-07-29 02:43:59 +01:00
|
|
|
|
|
|
|
#include "Common.h"
|
2020-07-23 09:49:35 +01:00
|
|
|
#include "config/ServerProperties.h"
|
2020-07-25 03:01:16 +01:00
|
|
|
#include "DedicatedServer.h"
|
2020-07-23 09:49:35 +01:00
|
|
|
|
|
|
|
using namespace Feather;
|
|
|
|
|
2020-07-29 05:32:35 +01:00
|
|
|
|
2020-07-23 09:49:35 +01:00
|
|
|
int main()
|
|
|
|
{
|
|
|
|
ServerProperties properties("server.properties");
|
2020-07-24 03:46:37 +01:00
|
|
|
properties.Save();
|
2020-08-07 06:23:12 +01:00
|
|
|
Log::Info("Starting server on port {}", properties.serverPort.GetValue());
|
2020-07-29 05:32:35 +01:00
|
|
|
auto server = DedicatedServer(&properties);
|
2020-07-25 03:01:16 +01:00
|
|
|
|
2020-07-23 09:49:35 +01:00
|
|
|
return 1;
|
|
|
|
}
|