17 lines
346 B
C++
17 lines
346 B
C++
#include <stdio.h>
|
|
#include "config/ServerProperties.h"
|
|
#include "DedicatedServer.h"
|
|
|
|
using namespace Feather;
|
|
|
|
int main()
|
|
{
|
|
ServerProperties properties("server.properties");
|
|
properties.Save();
|
|
printf("Starting server on port %d\n", properties.serverPort.GetValue());
|
|
|
|
auto server = DedicatedServer(&properties);
|
|
|
|
return 1;
|
|
}
|