Skip to content

Running the server

Ângelo Tadeucci edited this page Aug 24, 2024 · 5 revisions

Servers should be started in the following order:

  1. Maple2.Server.World
  2. Maple2.Server.Login
  3. Maple2.Server.Web
  4. Maple2.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.

Quick startup of servers for development

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:

image

Quick startup of servers for general use

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.

Clone this wiki locally