Skip to content
Node application used to sync DSP database information to Mog Gardens website.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
controllers
functions
models
services
.gitignore
LICENSE
app.js
package-lock.json
package.json
readme.md

readme.md

mgSync

A dark star project server management tool & Mog Gardens private server intergration tool. Manage your server at ease, including auto start, auto crash check, log parsing, process monitoring(CPU,Memory,time running).

Secondly safely extend your database into Mog.Garden search tool. Let users figure more out about your server. Including characters,linkshells,auctions,etc. (You manage the control and how much info is pushed) Lets bring a full feature from end to the players. Dark star is still in development, but it doesn't mean the managment and community driven aspect has to be lacking. A system that will let us all share and colab together, and also extend your very own servers for all your members.

Getting Started

Getting started is pretty simple. If you have never used Node.js. You simply just need to install it for your OS. https://nodejs.org/en/download/.

The application has everything you need packaged into it (No extra webserver installs or database installs). Any Authentication extension will use mysql already installed for DSP.

Keep in mind I am developing application with Windows, but it should work with linux as well. For now though Windows will be less buggy.

Prerequisites

Just node https://nodejs.org/en/download/

Then you must install all the required files with node package manager (Comes with node).

  • Cd into project directory
  • Run below command
npm i

or

npm install

Getting application running

  • First time run setup.
  • Answer all question prompts.
  • If this part is skipped. The system will create conf files that you will need to fill out before the app works properly.
npm run setup
  • After setup is complete simply run application script now. If any configuration issues happen. It should print to screen and also log files. Most configuration issues should not crash application, but depending on them can.
  • App should let you know if it can't reach a critical area of the systems.
npm start

Running the application the first time will result in many errors if setup script was not ran. (This is because script is building config files that are left out of project due to security)

(If setup script was ran skip below) Once files are created. You must change required configuration files. To find these go into the config folder. You will find three json files.

  • dsp.json (File for all dark server project configurations)
  • mgSync.json (File for all Mog.Garden configurations)
  • express.json (Config file that lets you configure front end web server)

Also keep in mind you can turn off socket portion, and or the server management part within these configurations.

  • Connecting it to Mog.Garden is simple and secure.
  • You just go to https://Mog.Garden.
  • Sign up if you have not done so.
  • Once this is done you you see a user account dropdown.
  • Go here and go to setup DSP server.
  • The setup will give you a token key.
  • You use this token key in the configuration file, and or setup for application.
  • Mog.Garden also has a portion that will make sure server connects to correct socket.
  • Once this is done. Mog.Garden will let you save server.
  • You will now see server in drop down and be able to manage, and extend into it right from Mog.Garden.
  • Your characters will show up under the character database. (This is just a test for now, and will be extended further and be more useful)

Current Features

  • Dark Star Project Managment.
  • Start all executables.
  • Keep them running. (Even on crash)
  • Custom web portal.
  • Track and search logs on web portal.
  • Track executable statistics. (CPU and Ram usage)
  • Edit all config files easily from portal.
  • View Mysql information from web portal.
  • Edit Mysql information from web portal.
  • Script to change zone ip to external.
  • Script to change zone ip to internal gateway.
  • Script to change zone ip to loop back.
  • Delete sessions that are stuck
  • Count users logged into DSP server.
  • Works for Linux and Windows.
  • Mog Garden Sync.
  • Sync Character list to site.
  • Socket communication for security.
  • Audit system to make sure no wrong edits or reads can happen.
  • Permissions system.
  • Cookie connection so token always has to match authenticated cookie before socket communication.
  • No Mysql Database share - App is connected locally and uses server socket connections.
  • Connected multiple servers to one account.
  • Manage server from Mog.Garden.

Planned Features

  • Dark Star Project Managment.
  • Full Database managment.
  • Authentication via website.
  • Extended API (To make full fledge frontend)
  • User management via website portal.
  • Permissions on portal (So gms can help manage)
  • Small community page.
  • Better statistics.
  • Extended front end for full DSP management.
  • Recaptcha and checks to make sure create users are not abused.
  • Custom launcher for help with authentication.
  • Reset DSP account password
  • Mog Garden Sync.
  • Full database management (Via Mog.Garden)
  • Advance linkshell managment (Linkshell inventory and banks) - Across servers even.
  • Let users view your characters and other information of server. (Like ffxiAH)
  • Users can determine which servers is right for them, and or find out more information with just looking on website.
  • Extended user managment. Users can actually manage character from website.
  • Extended community sections. Each server will have their own private spot in the community to manage everything.
  • Advance planner and PUG system on site. (VERY advance to make sure everyone can plan events together.. Even across servers)
  • Advance Server Owner agreements. (Let members trade items accros servers as long as server owners accept features)
  • Advance multi-server linkshells.
  • Advance community driven trades and auctions.
  • Server transfers.
  • Server Character Syncs.
  • Global server seasons and special events that can be reverted after events,etc.
  • Huge Final Fantasy Database just like FFXIAH, but for Dark start server owners.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Chad Koslovsky

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

You can’t perform that action at this time.