-
Notifications
You must be signed in to change notification settings - Fork 1
Server
Vrekt edited this page May 25, 2022
·
1 revision
public static void main(String[] args) {
final LunarProtocol protocol = new LunarProtocol(true);
final GameServer gameServer = new GameServer(protocol, "1.0");
final NettyServer server = new NettyServer("localhost", 6969, protocol, gameServer);
server.bind();
gameServer.getWorldManager().addWorld("TutorialWorld", new WorldAdapter(new ServerWorldConfiguration(), "TutorialWorld"));
gameServer.start();
System.err.println("Server running.");
}
Getting Started
Server
Networking
Entities
Worlds
Instances