Howto:Set up a multiplayer server: Difference between revisions

Jump to navigation Jump to search
Add telnet example
No edit summary
(Add telnet example)
 
Line 189: Line 189:


After having finished the fgms configuration, you can try running fgms and start up fgfs to use the new server.
After having finished the fgms configuration, you can try running fgms and start up fgfs to use the new server.
== Check the status of the server through Telnet ==
The telnet port is a simple way to query the server and get some data including list of pilots. E.g.
$ telnet mpserver14.flightgear.org 5001
Results in something like:
<pre>
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
# This is dockedfgms # fgms in a box
# FlightGear Multiplayer Server v0.13.4
# using protocol version v1.1 (LazyRelay enabled)
# 2 pilot(s) online
HB-VANX@LOCAL: 4304016.687143 629048.412642 4649750.031792 47.101246 8.315123 1415.678443 -3.118597 0.827892 1.212815 Aircraft/f-14b/Models/f-14b.xml
HB-VANO@LOCAL: 4305667.595355 627753.717342 4648406.524079 47.083489 8.295110 1418.320698 -0.610899 -2.304818 0.360544 Aircraft/f16/Models/F-16.xml
Connection closed by foreign host.
</pre>
=== Public Server ===
=== Public Server ===
If you'd like to make it a public server, you can simply use your external (public) IP address to set up the multiplayer in fgfs.
If you'd like to make it a public server, you can simply use your external (public) IP address to set up the multiplayer in fgfs.
648

edits

Navigation menu