18 lines
349 B
C++
18 lines
349 B
C++
|
|
#include "Common.h"
|
|
#include "config/ServerProperties.h"
|
|
#include "DedicatedServer.h"
|
|
|
|
using namespace Feather;
|
|
|
|
|
|
int main()
|
|
{
|
|
ServerProperties properties("server.properties");
|
|
properties.Save();
|
|
Log::Info("Starting server on port {}", properties.serverPort.GetValue());
|
|
auto server = DedicatedServer(&properties);
|
|
|
|
return 1;
|
|
}
|