Configuring MapleServer2
-
Navigate to the
MapleServer2solution folder, make a copy of.env.exampleand rename the copy to.env. -
Then edit the values in your newly created
.envfile to match your environment. That is, changeDB_PASSWORDto the password you used when installing MySQL. There is no need to modify the IP or Port unless you know what you are doing. The default values are:# Database Info
DB_IP=localhost
DB_PORT=3306
DB_NAME=Maple2DB
DB_USER=root
DB_PASSWORD=root
# Server Info
IP=127.0.0.1
GAME_PORT=21001
LOGIN_PORT=20001
NAME=Paperwood
# WebServer Info
WEB_PORT=3000