In the terminal, type:
npm start
Or:
node src/index.js
You should see: "Server listening on port 5588" and "MongoDB connected." how to make aqw private server
Congratulations. The server logic is running.
Once the base server runs, you can modify the game. In the terminal, type: npm start
Adding a custom item:
Creating a custom map:
Changing EXP/Gold rates:
Open src/game/math/Calculations.js. Look for the getExpReward function.
Multiply the return value by 10 for 10x rates.
Save Changes: Apply the new settings. Your server is now accessible from outside your local network. Or: node src/index