forked from WorldStarHipHopX/playforia
-
-
Notifications
You must be signed in to change notification settings - Fork 32
Server Hosting
Philipp van Kempen edited this page Mar 8, 2021
·
6 revisions
⚠️ This is a draft!
COPYRIGHT,...
TODO
TODO
JDK blabla
TODO
Docker blabla
TODO
How to update the Upstream image?
TODO
TODO
Advantages:
- Fast Setup
- Can be started and stopped on demand (i.e. only if your friends want to play)
- No command line experience required
- Constant domain if your are using a DynDNS Service
Disadvantages:
- Your Computer has to be running all the time (unless you are using i.e a Raspberry Pi)
- VERY INSECURE
Instructions:
- Download the LogMeIn Hamachi client for your system: https://www.vpn.net
- Run the Installer
- On some OSes: Reboot to enable required system extensions
- How to use the Client?
-
For hosting a Server:
- Launch the Hamachi Client
- ?
-
For connecting to a Server:
- Launch the Hamachi Client
- ?
Advantages:
- Very secure
- Easy to use if you just want to play with some of your friends
- No command-line experience required
Disadvantages:
- You and your friends need to install the Software and create an Account (Time consuming)
- Hamachi Networks will not stay open all the time
- Your Computer has to be running all the Time (unless you are using i.e a Raspberry Pi)
Instructions:
- Download the Ngrok application from https://ngrok.com/download
- Unzip the executable to a some directory (On Linux:
tar xvf ngrok*.tar
or similar) - Either move the
ngrok
binary to a directory which is in your systemsPATH
or make sure that you run the following commands - Sign up for an account on the https://dashboard.ngrok.com/login website. (Required in order to open TCP tunnels)
- Login to find your
authtoken
in the Dashboard: https://dashboard.ngrok.com/get-started/setup - Run the following command with your
authtoken
inserted a single time:./ngrok authtoken __________________
- Start the Minigolf Server as usual:
java -jar ...
- Open the TCP Tunnel:
./gnrok tcp 4242
(Replace4242
here if your are using a non-default port) - Find out the Forwarding URL and Port and share them with your friends (i.e.
2.tcp.ngrok.io:18811
) - Have fun!
Advantages:
- Fast Setup
- Relatively secure
- Your friends do not have to deal with Ngrok at all
Disadvantages:
- You have to create an Ngrok account (Which is pretty easy) and download the tool
- Ngrok Tunnels are not persistent over a very long time
- Your Computer has to be running all the Time (unless you are using i.e a Raspberry Pi)
- Needs some experience with the command-line
Advantages
- Many providers available
- Server is available all the time
- You can give you server a static ip or domain
Disadvantages
- Monthly Costs for the Cloud provider (Only minimal if you have chosen the right machine type)
- Needs IT/Linux-Experience
- Maintenance required for security updates,..
TODO