Skip to content

t3r/mpmap.js

Repository files navigation

This is FlightGear μ (mju) aka mpmap.js

A Multiplayer Map for FlightGear based on node.js

Requirements

  • nodejs >= 6.0
  • permission to perform DNS lookup
  • permission to do outbound connects (telnet to mpserverXX on port 5001)

Installation

get software

git clone https://git.code.sf.net/p/flightgear/mpmap.js flightgear-mpmap.js

enter into the directory

cd flightgear-mpmap.js

install dependencies

npm install

run

npm start

This will start the server on localhost, port 8080 and you should see the multiplayer map at http://localhost:8080/

don't like 8080? Use another port like this

app_port=4711 npm start

Running within docker

If you have docker and docker-compose installed, simply type

docker-compose up --build

and you are ready. Note: this exposes the app at port http://localhost:8086/ There are also ready to use docker images at https://hub.docker.com/r/flightgear/mpmap.js/. Run

docker run -p 8080:8080 flightgear/mpmap.js

to have your own private multiplayer map at localhost:8080

Live Demo?

This software runs at http://mpmap03.flightgear.org/

Need help?

Contact the author(s) at the flightgear-devel mailing list

Contributing

Contributions are welcome through the gitlab project or the github project or the sourceforge project. If you want to support the running instance or any other FlightGear project requiring payed infrastructure, please consider donating. Any amount helps.

Legal stuff

mpmap.js is licensed under the GPL 2.0 or later. See LICENSE

Thanks to

  • the fantastic authors of Leaflet.js and it's plugins
  • the authors of jQuery.
  • pigeon for the original fgmap software that inspired this version
  • the incredible FlightGear community, especially the creators and maintainers of fgms