FeatherMC/src/Main.cpp

18 lines
389 B
C++
Raw Permalink Normal View History

2020-07-29 02:43:59 +01:00
#include "Common.h"
#include "config/ServerProperties.h"
2020-07-25 03:01:16 +01:00
#include "DedicatedServer.h"
using namespace Feather;
using Feather::Config::ServerProperties;
2020-07-29 05:32:35 +01:00
int main()
{
ServerProperties properties("server.properties");
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
return 1;
}