Updated Bungee Set Up (markdown)

Rsl1122 2018-02-23 22:04:21 +02:00
parent db894a7c3e
commit 2bf388b189
1 changed files with 35 additions and 24 deletions

@ -17,11 +17,15 @@ Create a new database in your MySQL with `CREATE DATABASE _dbname_`
1. Place the .jar in the plugins folder and restart the server
2. Change the config settings:
- `IP` | Change this to the Address or IP used to connect to your bungee server directly (Without port)
- Database Settings | Change these to the settings of the Database you just created.
- `WebServer.Port` | Change to a suitable port and open the port in the firewall.
- `IP` | Change this to the Address or IP used to connect to your bungee server directly (Without port)
![1](http://puu.sh/zu9tA/15410504a1.png)
- Database Settings | Change these to the settings of the Database you just created.
![2](http://puu.sh/zu9x5/9ccfb5428b.png)
- `WebServer.Port` | Change to a suitable port and open the port in the firewall.
![3](http://puu.sh/zu9yT/40433d2af6.png)
3. Reload the plugin with /planbungee reload
> /planbungee reload is available even if plugin fails to enable.
## Install Plan on the Bukkit servers
@ -29,42 +33,49 @@ Create a new database in your MySQL with `CREATE DATABASE _dbname_`
**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 the WebServer.Port to a free port for the API WebServer (You can change this again easier after the installation)
2. Change the WebServer.Port to a free port. (You can change the port in Bungee config after the installation)
If the Bukkit server is not local, open the firewall for the port.
3. If IP in your server.properties is empty, you should change `AlternativeIP `to an address or IP that points to this server.
3. If IP in server.properties is empty, you should change `AlternativeIP `to an address or IP that points to the specific Bukkit server.
## Set-Up Bukkit-Bungee Connection
### Enable Bungee Set-up mode
- Use `/planbungee setup` to enable setup mode on Bungee
- Use `/planbungee setup` to enable setup mode on Bungee
![4](http://puu.sh/zu9CK/048e94b481.png)
### Bukkit & Bungee are located on the same machine
### Connect Bukkit to Bungee
> **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 user in Bungee 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%`
On each Bukkit server, use `/plan m setup <BungeeAddress>` command.
You can find BungeeAddress in the start-up log of the Plan on Bungee.
This will attempt to connect to the Bungee server. 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.
This will attempt to connect to the Bungee server, if successful the Bungee server will send it's ping, as well as config settings.
> BungeeAddress can be found in the start-up log of Plan on Bungee:
> ![5](http://puu.sh/zu9L3/4c91abc94f.png)
### Bukkit & Bungee are located on different machines
### Reload Plan Bungee
**Ensure that:**
- MySQL settings on Bungee are not using localhost
- MySQL accepts connections from outside the machine it is running on
- The user in Bungee 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%`
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.
On each Bukkit server, use `/plan m setup <BungeeAddress>` command.
You can find BungeeAddress in the start-up log of the Plan on Bungee.
This will attempt to connect to the Bungee server, if successful the Bungee server will send it's ping, as well as config settings.
In case of a set-up malfunction contact discord for support:
In case of a set-up malfunction you can join discord for support:
[Discord Support](https://discord.gg/yXKmjzT)
### For further configuration refer to:
- [[Bungee Configuration]]
- [[Bukkit Configuration]]
- [Commands & Permissions](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/Commands-%26-Permissions)
- [Commands & Permissions](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/Commands-%26-Permissions)
## Rare oddities
**Config restart loop**
In some rare cases an odd symbol in the bungee config can cause an endless Plan restart loop, where Plan keeps restarting after checking the config settings from the Database.
This can be stopped by setting `Bungee-Override.CopyBungeeConfig: false` in the Plan config.