Node.js and RPGMaker MV
Deploy to Heroku here:
git clone or download and unzip to the directory of your choice.
npm install to download all dependencies for the server. Use
npm install -d for windows users
After configuring the server run
npm start to start the server
server/configurations/config.js file, there are several things to configure:
port defines which port the server will run on (Default
jwtSecret defines the secret the JWT is signed. Please change this for security reasons in a production environment
firstHash is the initial hashing secret for login system. This is the same as the client plugin first hash. Recommended that this be changed before putting in a production environment
mailFrom when a user registers they recieve an email from this address.
smtps://firstname.lastname@example.org:email@example.com (Additional steps are required if you want to use gmail.)
mongoDBconnect Link and credentials to MongoDB Database.
css folder to the root of your project directory
Add the files in
game_resources/js/plugns that you want for your plugins to your own
js/plugins folder of your game. (
Online_Main_Core.js is manditory for all other plugins)
Add the files from the
game_resources/js/libs folder to your own
index.html file in your game to add this in the header:
<!-- Nel Add --> <link rel="stylesheet" type="text/css" href="./css/bootstrap3.3.5.min.css" > <link rel="stylesheet" type="text/css" href="./css/fontawesome4.4.0.min.css" > <link rel="stylesheet" type="text/css" href="./css/MMO.css"> <!-- Nel Add -->
And this in the body, dont forget the change localhost for your IP or Domain :