A Normal Minecraft server using ngrok and docker to run on railway.app. with Best Ping and Best speed.
This mc server supports all mc server versions. Now how u will change the version of server? To change the server version follow the steps. :-
- Go to start.sh file.
- Go to line 26.
- Replace the download link of server version after
wget -O server.jar
. - Just save the file and go on.
-
Fork this github
-
Now open the start.sh file in github,
-
GO to the line 80 where ngrok authtoken is written paste your ngrok token by replacing my ngrok token.
To get your token singup at ngrok and verify your account. THen go to here > Ngrok Token. copy the token and paste replacing mine one. Note :- do not remove these letter in this edit :- ngrok authtoken.
-
Now open Railway.app.
-
connect your railway with github or login using github.
-
after that in dashboard click on new project then click on deploy from github repo and select your repo.
-
after that your minecraft server will be deployed.
Now your server is deployed or is deploying. once your server is deployed follow the below steps.
To get you IP and Port go to ngrok here at this link > Ngrok IP
you will see there a session going on click on that
You will see there a tcp://0.tcp.in.ngrok.io:22565
Port will be diffrent for all users.
Last that in the remove tcp:// only to connect with server.
The answer no because once you restart the server ip will changed but if you dont restart the server then yout server will run 24/7 also you will will not be changed.
This time we dont have build the uploading or access of files in the server, May be this come in coming updates. This is a normal for playing.
If you like the project then please give a star to motivate us and it will much helpful to us.
Join Our Discord Server Also.