Change game server port

If you change the SSH port of your server, the game server manager can no longer access your server. Because it does not know the new port. Our gameserver manager uses your root access with an SSH key to manage the server and execute scripts (e.g. start/stop).

So you have to adjust the port. This is not that difficult. Just go to the game server overview of your vServer.

Gameserver Manager Overview

Then click on the settings icon in the tile of each game server where you want to change the SSH port.

Change port

Then change the SSH port to the SSH port you set. Save.

Changed SSH game server port

Now your SSH port is changed and you can continue managing your server!

Install Java on vServer/Linux

In this article we will show you how to install different Java versions (1.8, 16, 17, …) on your virtual server quickly and easily.

Datei:Java-Logo.svg
Java Logo

We provide a script that installs different open source Java versions on your server. You just need to log in as root on the server and start running the automatic installation.

In this article we will show you how to install different Java versions (1.8, 16, 17, …) on your virtual server quickly and easily.

We provide a script that installs different open source Java versions on your server. You just need to log in as root on the server and start running the automatic installation.

We install different versions for you in the /usr/lib folder.

Supported versions

We install different versions for you in the /usr/lib folder.

Supported versions

Currently the following versions are supported:

jdk-13.0.1_linux-x64 -> java version "13.0.1" 2019-10-15
-> /usr/lib/jdk-13.0.1/bin/java
jre-8u241-linux-x64 -> java version "1.8.0_241"
-> /usr/lib/jre1.8.0_241/bin/java
openjdk-16.0.1_linux-x64 -> openjdk version "16.0.1" 2021-04-20
-> /usr/lib/jdk-16.0.1/bin/java
openjdk-17.0.1_linux-x64 -> openjdk version "17.0.1" 2021-10-19
-> /usr/lib/jdk-17.0.1/bin/java

Installation

To install these versions on your server, please run the following command:

bash <(wget -qO - https://pph.sh/docs/java.sh)

Alternatively, you can use the app installer to install Java.

Cloud Manager: Install Java packages

Change default version

To set the default version (java in the console), run the following command after installation:

select-default-java

Here you select which version to use as the default Java. We create a link from /bin/java to the selected version.

View available versions

To view all versions installed by the script, run the following command after running the Java installer:

show-java-versions
Example of installation

How do I create a backup daily?

You can set up the Game Server Manager to create a full backup of your game server every day at a specific time. Just follow these steps:

  • Go to the game server of your choice.
  • Wait until the Game Server Manager is fully loaded.
  • Go to the “Backups” tab.
  • Click the “Settings” button in the Contents tab.
  • Select “Create automatic backup daily” and save the settings.
Backup settings

Maximum backup quantity

The max. backup count specifies how many backups should remain stored. Before each new backup, older backups are deleted to save space. Enter 0 to not remove backups automatically. Please note that you do not have infinite memory on your server.

Stop server at backup

If you enable this option, the server will be stopped before a backup operation. After the backup is created, the server will be restarted if it was on before.

We recommend that you turn this option on. If files change during the backup process, the backup could be faulty in case of doubt.

Create automatic backup daily

If this checkbox is enabled, a backup is created daily at the specified time. We recommend creating a backup at a time when there are most likely few players connected to the server. This ensures that the backup runs faster and, if the stop option is enabled, also for less noticeable downtime.

How do I import a game server backup?

If you have downloaded an existing backup and now want to import or restore it, you have to do a few steps.

Quick guide

Remove any content in the /serverfiles folder on the server. Upload only the /serverfiles folder from the backup. Leave all other files untouched.

Step by step

  • Unpack the downloaded backup on your PC.
  • Create a new game server of the same type in the game server manager. It does not matter if the server has a different IP address.
  • Start the game server once successfully before you go.
  • Stop the game server again.
  • Connect to the new game server via FTP.
  • Remove the contents of the /serverfiles folder on the FTP server. Leave the other files as they are.
  • Once the /serverfiles folder on the server is emptied, upload the contents of the /serverfiles folder to the /serverfiles server folder from the unpacked archive.
  • Wait until the process is complete.
  • The server can now be restarted. All game saves and configs will be restored at the time of the backup.

If you have any questions, please contact support. We will help you then.

CS:GO: How do I change the server name?

In this article we will show you how to brand a CS:GO server with a custom name. We give you the full customization option, everything is without branding.

The server name can be customized in a config file. Go to the folder /serverfiles/csgo/cfg/. In this folder there is a file named csgoserver.cfg – open it with an editor of your choice.

Change the line with the entry “Hostname” to your desired name.

Now you just have to restart your server – done!

If you have any questions, please contact our support.

How can I create a problem-report?

This feature is currently only available for Minecraft servers, but will be made available for other game servers over time.

Faster to the target: Provide information for support!

If you have found an error with your game server and can’t fix it yourself, our support is always available to help you. To make life easier for the supporter, you can create a snapshot of your server.

To do this, go to the game server manager of the game server in question and select the “Advanced features” tab. If this tab is not available, please contact support directly.

There you can click on “Provide debugging logs“. Then please wait a moment. The process may take a short while.

After creating the debugging package, you will see a link in a window that opens. Copy this link to your clipboard and send it to the supporter later when you open the support ticket.

Please describe your problem as precisely as possible, otherwise the support team will have to ask you more questions. You will help us to shorten your waiting time extremely if you don’t leave out any detail.

Provide debugging logs

VCP cannot connect to the game server

It can happen that VCP cannot connect to the game server. This has several possible sources.

SSH port was changed

If you have changed the port of your SSH server after installing a game server, VionityCP can no longer connect to your vServer. Please contact support so that we can enter the change for you in the Game Server Manager. This usually takes only a few minutes.

Fail2Ban hat VCP gesperrt

It is possible that Fail2Ban has blocked the IP addresses of the Game Server Manager. This can happen if you have installed Fail2Ban manually. If you did not do this, you can skip this section. Check this by stopping Fail2Ban. This can be done with “systemctl stop fail2ban“. Now refresh the game server manager (F5 or CTRL + R). If now a connection can be established, you know the problem. We will solve this in a moment, but first restart Fail2Ban: “systemctl start fail2ban“.

Execute the following code to add the IP addresses of VionityCP to the list of ignored IP addresses for Fail2Ban:

sed -i '/#ignoreip/c\ignoreip = 127.0.0.1/8 ::1 213.32.61.245 5.196.40.137' /etc/fail2ban/jail.conf

Now restart Fail2Ban with the command “systemctl restart fail2ban” – now you can continue to use the Game Server Manager without any problems.

The server is overloaded

It can happen that your server overloads and therefore does not respond fast enough to the requests of the Game Server Manager. First check the load of your server. You can view this in the cloud manager. If your server is overloaded, it will be displayed there. An overload can occur if the vServer is too weak for your game server, there is an overload of the RAM or many files are processed by the game server. Contact the support if you need help to reduce the load.

The server is shut down

Please go to the Cloud Manager and check the status of your vServer. If it is stopped or shut down, VCP cannot access it. Start the vServer so that you can get access to the game servers again. Please note that you have to wait 1-2 minutes after the start until a connection can be established.

The problem is not solved

Contact our support. We have insight into further error messages. We are happy to help you quickly!

Where do I find FTP data for my game server?

Click on the desired game server in the Game Server Manager.

Wait until the Game Server Manager has loaded completely. You will find a tab with the name “Files“. You will now find a button with the name “FTP Data” on the right side of the content.

File Manager

A window will open showing you all the access data for the FTP server.

Please note: If you have previously installed an FTP server on your Linux server, the functionality of this method is not guaranteed.

Minecraft server will not start

If your Minecraft server does not start, please check the server logs, for example at /logs/console/minecraft-console.log.

If you find an error there, try to understand and fix it. If you can’t figure out the error, you can also create a problem-report and send it to the support.

Alternatively, you can also try to change the Java version.

Error: UnsupportedClassVersionError

Error: LinkageError occurred while loading main class net.minecraft.server.Main java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0

The correct Java version was not selected. Change the Java version to /usr/lib/jdk-16.0.1/bin/java.

Error: InvocationTargetException

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) […]

Wahrscheinlich verwendest Du eine etwas ältere Version von Minecraft. In diesem Fall benötigst Du auch eine etwas ältere Java-Version. Ändere die Java-Version auf /usr/lib/jre1.8.0_241/bin/java