FeatherMC/src/Main.cpp

17 lines
346 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 04:44:00 +01:00
auto server = DedicatedServer(&properties);
2020-07-25 03:01:16 +01:00
return 1;
}