Updated Bungee Set Up (markdown)

Risto Lahtela 2019-10-05 10:38:45 +03:00
parent fcdd9a3b7a
commit 38fdbe40aa
1 changed files with 4 additions and 40 deletions

@ -8,7 +8,6 @@ This is the Set-Up tutorial for Bungee Networks. If you're installing the plugin
1. Create a MySQL Database for Plan
2. Install Plan on the Bungee server
3. Install Plan on the Bukkit servers
4. Set-Up Bukkit-Bungee connection
## 1. Create a MySQL Database for Plan
Create a new database in your MySQL with `CREATE DATABASE _dbname_`
@ -51,53 +50,18 @@ Change to a suitable port and open the port in the firewall.
> /planbungee reload is available even if plugin fails to enable so that you can change the config settings easily.
## 3. Install Plan on the Bukkit servers
## 3. Install Plan on the Bukkit/Sponge servers
**NOTE: Do not copy-paste ServerInfoFile.yml**: This file stores ServerUUID which differentiates servers from each other. Same ServerUUID will lead to Bungee sending same config settings to two servers!
1. Place the .jar to the plugins folder and restart the bukkit server.
2. **Change `Webserver.Port` setting to a free port.**
If the Bukkit server is not local, open the firewall for the port.
3. If IP in server.properties is empty, you should change `AlternativeIP `to an address or IP that points to the specific Bukkit server.
More about these steps on [[Bukkit Set Up]]
## 4. Set-Up Bukkit-Bungee Connection
### 4.1 Enable Bungee Set-up mode
Use `/planbungee setup` to enable setup mode on Bungee
![4](http://puu.sh/zu9CK/048e94b481.png)
### 4.2 Connect Bukkit to Bungee
On each Bukkit server, use `/plan m setup <BungeeAddress>` command.
This will attempt to connect to the Bungee server.
> BungeeAddress can be found in the start-up log of Plan on Bungee:
> ![5](http://puu.sh/zu9L3/4c91abc94f.png)
If successful, Bungee will send it's Database settings & Plan will restart. Plan may restart again after checking the config settings found in the database.
If something goes wrong, you can debug the connection with `/planbungee con` and `/plan m con` - Two *OK*s means everything is set up and ready.
> **If Bukkit & Bungee are located on different machines**
> Ensure that:
> - MySQL settings on Bungee are not using localhost
> - MySQL accepts connections from outside the machine it is running on
> - The MySQL user in Bungee Plan config does not prevent login from outside the machine
> - Bukkit has an address that is NOT localhost or empty (http://:8804)
> - This can be done by setting AlternativeIP Link as: `<nonLocalhostIP>:%port%`
### 4.3 Reload Plan Bungee
Use `/planbungee reload` to restart Plan on Bungee to ensure that Set-up is no longer allowed.
You can also use `/planbungee setup` to disable the set-up mode.
2. Set the Database settings to the same MySQL Bungee is using
3. `plan reload` on the server
In case of a set-up difficulties you can join discord for support:
[Discord Support](https://discord.gg/yXKmjzT)
## 5. (Optional) Protect the Website with a Login Prompt
## 4. (Optional) Protect the Website with a Login Prompt
In order to enable user authentication, HTTPS set up is required.
This requires a Certificate to be installed in a Java Keystore: