mirror of
https://github.com/arcadiadevs/playerservers-wiki.git
synced 2025-01-29 16:11:19 +01:00
GitBook: [#82] Added multinode instructions
This commit is contained in:
parent
d60a8383d8
commit
59a67e7749
@ -6,6 +6,7 @@
|
||||
* [🚀 Plugin Installation Tutorial](overview/installation/README.md)
|
||||
* [🎁 Templates](overview/installation/templates.md)
|
||||
* [📦 Adding pre-defined plugins](overview/installation/adding-pre-defined-plugins.md)
|
||||
* [⌨ Multi-Node Support](overview/installation/multi-node-support.md)
|
||||
* [🛳 Docker configuration](overview/installation/docker-installation.md)
|
||||
* [🌐 Pterodactyl configuration](overview/installation/pterodactyl-configuration.md)
|
||||
* [📜 Current Config files](overview/config.md)
|
||||
|
@ -20,7 +20,7 @@ For a quick install of Docker CE, you can execute the command below:
|
||||
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
|
||||
```
|
||||
|
||||
### Setup
|
||||
### Configuration
|
||||
|
||||
After successfully installing docker, you can enable docker support inside your config.yml.
|
||||
|
||||
|
44
overview/installation/multi-node-support.md
Normal file
44
overview/installation/multi-node-support.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
description: >-
|
||||
Learn how to install and configure PlayerServers daemon and be the first to
|
||||
try out our experimental support for hosting your servers on multiple
|
||||
machines.
|
||||
---
|
||||
|
||||
# ⌨ Multi-Node Support
|
||||
|
||||
## Requirements
|
||||
|
||||
* Purchased PlayerServers. This addon is free of charge
|
||||
* Have two (or more) machines
|
||||
* Decent network connection
|
||||
* At least 200MB of RAM dedicated to Daemon
|
||||
|
||||
## Instructions
|
||||
|
||||
The installation process for PlayerServers Daemon is pretty straight forward. The first thing you need to do is simply enable multi-node support under experimental options at the end of your configuration file. After that, just reboot your BungeeCord and let the plugin generate required files.
|
||||
|
||||
After that's done, create a folder Daemon. Download the following jar file and drop it into your Daemon folder:
|
||||
|
||||
{% file src="../../.gitbook/assets/Daemon-v1.1 (1).zip" %}
|
||||
Daemon v1.1 - Release
|
||||
{% endfile %}
|
||||
|
||||
After that's done, run it for the first time by using `java -Xmx200M -jar Daemon.jar` in order to let it generate the required files. Now exit it by typing in `exit`. After that's done, configure both multinode.yml inside your `BungeeCord/plugins/PlayerServers/multinode.yml` and your Daemon config.toml which will be generated in your Daemon root directory. It is important to include the same token inside both configs!
|
||||
|
||||
{% hint style="info" %}
|
||||
As the last step, it is required to copy all your templates to each daemon. For example, if you have PS/templates/default and PS/templates/1.8, you need to have the exact same files across each daemon with exact same templates. **Each template MUST have Spigot.jar file inside it!**
|
||||
{% endhint %}
|
||||
|
||||
Now, you can just make a start.sh script with the following code
|
||||
|
||||
```
|
||||
screen -dmS Daemon java -Xmx200M -jar Daemon.jar
|
||||
```
|
||||
|
||||
and just run it with `sh start.sh` in order to make your Daemon run 24/7 on a separate screen.
|
||||
|
||||
{% hint style="warning" %}
|
||||
Great! You're done! Now, please note that PlayerServersDaemon is still under early-access development and may have bugs. Please report all of those to our Issue tracker [here](https://gitlab.com/OpenSource02/playerservers/-/issues). Additionally, please take a backup of your MySQL Database and your server data before proceeding. It is important to note that we did take every possible step to reduce the amount of possible issues that can happen, but we do highly encounter you to take those steps, just to be on the safe side.
|
||||
{% endhint %}
|
||||
|
Loading…
Reference in New Issue
Block a user