If you had installed NGINX earlier as a reverse proxy, you can also use it to host the client, follow the steps above ^^^. A quick crash course on setting up NGINX is provided here, FOLLOW STEPS 1 AND 2 ONLY, then navigate to /var/www/html and upload the contents of stable-download/web there.NGINX is a powerful web server, but alternatives like Web Server for Chrome may be easier to set up. There are multiple ways of setting up a web server.To install, upload the contents of stable-download/web to a web server. Use * as a wildcard, for example: *.deev.is allows all domains ending with "deev.is" to use the relay. Add offline to allow offline download clients to use your relay as well, and null to allow connections that do not specify an Origin: header. The origin-whitelist config variable is a semicolon ( ) seperated list of domains used to restrict what sites are to be allowed to use your relay. Run java -jar sp-relay.jar -debug to view debug info like all the IPs of incoming connections, as it is not shown by default because logging all that info will reduce performance when the relay is being pinged many times a second depending on it's popularity.Įdit the rela圜onfig.ini file generated on first launch to change the port and configure ratelimiting and such, and relays.txt to change the list of STUN and TURN relays reported to clients connecting to the relay, which are required to correctly establish a P2P LAN world connection in browsers Simply download stable-download/sp-relay.jar and run java -jar sp-relay.jar You simply must send them the URL indicated in the pause menu once the world is opened and they can use the "Add Relay" option to add the URL to their list. Make sure they add the relay server your game opens the LAN world on to their "Network Settings" menu accessable from the Multiplayer screen. Simply share the code with your friends and they can visit the Multiplayer screen from the main menu and click 'Direct Connect' and enter the code and they will be able to join your world. When you open the world to LAN it will give you a 'join code'. Set the world hidden if you are at school or something and don't want everyone else in your class to join as well and start griefing. When you do not hide your LAN world, it will appear on the Multiplayer screen from the main menu to anybody else also on your Wi-Fi network. You can configure the gamemode and cheats and if you would like to hide your LAN world. To open your world to LAN, go to the pause menu and click 'Open to LAN'. LAN worlds will work between any two devices connected to the internet, you are not limited to only players connected to your Wi-Fi network Eaglercraft fully supports LAN worlds, you can share your world with any player and they can connect directly to it as if you are running a server in your browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |