PlayerServers-Wiki-Archive/overview/installation
2022-08-24 23:51:39 +00:00
..
adding-pre-defined-plugins.md GitBook: [#79] No subject 2022-08-24 23:45:34 +00:00
README.md GitBook: [#78] Updated links 2022-08-24 23:42:51 +00:00
templates.md GitBook: [#80] Updated template instructions 2022-08-24 23:51:39 +00:00

description
Here is a guide with details that you need to follow in order to complete the installation.

🚀 Plugin Installation Tutorial

Before installation

In order to install PlayerServers, you will need to have a VPS or Dedicated server with root access. If you do not have it, please do not buy the plugin or try to install it on a Shared (Game) Hosting.

Picking the right OS

We understand that if you have your server already up and running, it might come hard for you to change your OS. That's why we tested our plugin on many of the popular OS-es. Even tho some of them are marked with ⚠️, it doesn't mean the plugin will not work there, it just means that the instructions from this guide will not help you while setting up the plugin on those Operating Systems, but if you configure everything correctly (like installing Java, Screen & Fuser) the plugin should work without any problems. If you have any problems with an OS marked with , please contact me so we can solve it.

Operating Systems marked with are currently not supported at all, but the support for them come in the future versions. Below is the list of all the popular operating systems:

Operating System Version Supported Notes
Ubuntu

20.04

22.04

Documentation written assuming Ubuntu 22.04
as the base OS. Heavily tested on 20.04 as well.

Ubuntu

18.04

(Bionic)

The plugin was tested on this OS and confirmed to have no issues.
Ubuntu 16.04 ⚠️ Untested, but the plugin should work
Debian

9

10

11

Tested, the plugin worked but the instructions from this guide might be invalid for that OS.

Some additional repos might be required.

Debian

9
8

⚠️ Untested, additional repos may be required
CentOS 7 & 8 ⚠️ Not tested, though we had reports of centOS working without any issues.
Windows

Server 2016

Server 2019

Server 2022

10

11

Tested, not working. It may work though, by installing Ubuntu subsystem for Windows.

You can find more tutorials about that on Youtube.

MacOS

Mojave

Catalina

Big Sur

Monterey
Ventura

Should work without any problems as it comes with

screen & fuser pre-installed.

Tested on M1 processors as well. On M1 machines, ARM JVM like Azul Zulu is highly recommended.

Requirements

{% hint style="info" %} Before installing the dependencies below, it is recommended to run apt-get update command as the commands below might not work without it. {% endhint %}

In order to install PlayerServers on your machine, you obviously need to have Java. The minimum version of Java to be used with this plugin is Java 17. If you don't have it already installed, please follow the link below in order to learn how to install it.

{% embed url="https://docs.azul.com/core/zulu-openjdk/install/debian" %} Azul Zulu Java installation guide (for Debian) {% endembed %}

After successfully installing Screen, you will need to install fuser. Many Linux distros already come with it pre-installed, but if you don't have it, make sure to install it by executing the following command:

$ apt-get install fuser -y # Ubuntu/Debian command. May vary on other systems.

Installation of the plugin

In order to install the plugin, you just need to put it into your BungeeCord plugins folder. After that, please reboot your server and let the plugin generate it's config files and download some other required dependencies.

{% hint style="danger" %} After the first boot of the server, you will see some errors generated by the plugin. Don't worry, just shutdown your BungeeCord server and follow the instructions below in order to solve it. {% endhint %}

Now navigate to the plugins folder -> PlayerServers and open up the config.yml file. It is recommended to open it usign some sort of advanced text editor (like Notepad++ or VisualStudio Code). After that, you will have to enter your MySQL informations. If you don't have a MySQL server running already, please follow the link below.

{% content-ref url="../../legacy/creating-mysql-database.md" %} creating-mysql-database.md {% endcontent-ref %}

After the configuration of MySQL database, boot up your BungeeCord server. The plugin should successfully launch this time.

{% hint style="success" %}

That's it!

If you followed the guide correctly, you will have a working version of PlayerServers installed. If there are any additional errors, or you need help with something, please don't hesitate to send me PM od MC-Market, or on Discord - OpenSource#3310 {% endhint %}

Now setup your first template

After successfully installing the plugin, in order to create your first server, you'll need to setup default (and optionally additional templates). Click the link below to learn more.