-
Notifications
You must be signed in to change notification settings - Fork 58
Running the server
Servers should be started in the following order:
Maple2.Server.WorldMaple2.Server.LoginMaple2.Server.WebMaple2.Server.Game
Maple2.Server.Game requires the Maple2.Server.World to be running!
During development, you will generally just restart the Game server, and occasionally the World server. Doing so should be a safe operation, and all users will be kicked to the login screen.
For development you can use the file dev.bat located at the root of the project. It uses Windows Terminal to open one terminal pane for World, Login and Web servers. Since most of the works happens on the Game server, you will usually open this server on the IDE to use the hot-reload feature.
Example:

Following the same idea above, you can use the file start.bat located at the root of the project, it also uses Windows Terminal to start all servers.