FeatherMC/src/Main.cpp

17 lines
367 B
C++
Raw Normal View History

#include <stdio.h>
#include "config/ServerProperties.h"
2020-07-25 03:01:16 +01:00
#include "DedicatedServer.h"
using namespace Feather;
int main()
{
ServerProperties properties("server.properties");
properties.Save();
printf("Starting server on port %d\n", properties.serverPort.GetValue());
2020-07-25 03:01:16 +01:00
auto server = DedicatedServer(properties.serverPort.GetValue());
return 1;
}