Git Product home page Git Product logo

mv_online's Introduction

MV Online Core Documentation

Requirements

Node.js and RPGMaker MV

Installation

Deploy to Heroku here:

Deploy

Use git clone or download and unzip to the directory of your choice.

Run 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 Configuration

Inside the server/configurations/config.js file, there are several things to configure:

port defines which port the server will run on (Default 8000)

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://[email protected]:[email protected] (Additional steps are required if you want to use gmail.)

mongoDBconnect Link and credentials to MongoDB Database. mongodb://username:[email protected]:39504/collection

Client Configuration (RPGMaker MV)

Add the 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 js/libs folder

Modify your 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 :

<!-- Nel Add -->
<script type="text/javascript" src="./js/libs/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="./js/libs/jquerymobile1.4.5.min.js"></script>
<link rel="stylesheet" type="text/css" href="./css/jquerymobile1.4.5.min.css">
<script type="text/javascript" src="./js/libs/crypto.sha1.js"></script>
<script type="text/javascript" src="./js/libs/socket.io-2.2.0.js"></script>
<!-- Nel Add -->

mv_online's People

Contributors

nelderson avatar shadowoffice avatar mchambers1992 avatar yoshi72 avatar

Watchers

James Cloos avatar João Escudero avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.