Server Install - kreezxil/World-of-Dragons GitHub Wiki

Scripts

Both Linux and Powershell scripts are included in the server pack to help you install the server. Before getting started you will need to move some files.

Windows with Powershell

Move the *.ps1 scripts from the shell_scripts/ folder up one folder.

Linux

Move the *.sh scripts from the shell_scripts/ folder up one folder

Windows

A window user will need to make sure the powershell execution policy is set. This only needs to be done once as Powershell Admin.

set-executionpolicy remotesigned

Then you can do

.\install.ps1

And everything will be done for you. You can start the server with

.\start_server.ps1

Leave this window up, you can kill the script with CTRL+C or TaskManager, shutting it down via the server console will not work. This script is designed to reboot the server for soft crashes.

Linux

This is even easier for Linux users. Simply execute

./install.sh

Make sure screen is installed. On Ubuntu that would be

sudo apt install screen -y

then do

./start_Linux_Master

A new screen will start shortly with the console inside of it. You can leave this session by doing CTRL+A,D. Now you can leave the server and the server will run. No need to keep your SSH terminal active. When you rejoin the SSH server you can easily rejoin the server. Enter the server folder and execute

./wmenu.sh

Hit the number for the entry you want to enter, 0 in most cases, enter by default. Do what you want. To get out use CTRL+A,D. To kill the session entirely, enter the console and then stop the server, once you've feel that is stopped like it says restarting in 5 4 3 2, or just feels severely hung, hit CTRL+C a bunch of times. And then do

screen -wipe

to kill the dead screen sockets.

Advanced Users

You can get the current forge server installation link from the file called CURRENT_INSTALLER, download that to their server folder and run it with java. All the necessary files will appear and you can run the server however you like.