How to setup with v7.0 (English) - nova-27/ServerManager GitHub Wiki

How to set up

This wiki explains how to set it up.

  1. Install Plugin
  2. Edit config
  3. Server test

Install Plugin

  1. Download the latest version of the plugin (here).
  2. Unzip the downloaded plugins.zip.
  3. Put the extracted SMFBCore.jar in the plugins of BungeeCord.
  4. Put SMFBBukkitBridge.jar in the plugins of all Spigot servers.
  5. When you start BungeeCord, a new folder is created in plugins and config.yml and messages.yml are created in it.
  6. Don't worry if you get an error, stop BungeeCord.
  7. Spigot starts in the same way, sees the folder being created, and then stops.

Edit config

  1. Open Bungeecord/plugins/SMFBCore/config.yml.
# 省電力自動サーバー停止機能
# Power saving automatic server stop function
CloseTime: 5

# ソケット通信に関する設定
SocketPort: 30000

# 各サーバーの設定 (Server Settings)
# [形式(Format)]
# ServerList:
# - {ID}
# Server:
#   {ID}:
#     Name: ...
# {ID}は Bungeecordのconfig.ymlと同じでなければいけません
# ({ID} must be the same as the setting in Bungeecord config.yml)
Server_List:
- lobby
- main
Server:
  lobby:
    Name: "ロビー"
    Dir: "../lobby"
    File: spigot.jar
    Args: "-Xmx2048M -Xms1024M"
  main:
    Name: "メイン"
    Dir: "../main"
    File: spigot.jar
    Args: "-Xmx1024M -Xms512M"

CloseTime

Set the number of minutes after which there will be no players on the server, such as Spigot, before closing that server.
BungeeCord itself does not close automatically. Only for plugin-managed servers.

SocketPort

Specify the port number used for information communication between BungeeCord and Spigot.
Normally, the default is OK.
If the 30000 port is already in use, change it.
Do not open the port to the public (port forwarding setting)!!

Server_List

Set the server ID in the Server: section.
Multiple settings are possible.
Servers that are in Server: but not in Server_List: are not recognized.
We recommend that you register all servers that are connected to BungeeCord (operation is not guaranteed if some servers are not registered).
Lobby must be set.
The server at the top of listeners.priorities in BungeeCord[root]/config.yml is recognized as a lobby.

Server

Make detailed settings for servers registered in Server_List:.
Server_List: Multiple registrations are possible as well.

How to write

Server:
  Server1:
    Name: [ServerName]
    Dir: [Server root directory]
    File: [Server jar file name]
    Args: [Arguments [Don't include -jar argument]]

(Server1)
Replace to the server ID.
The server ID must be the same as the ID registered in servers: of bungeecord, and the same as Server_List: of this plugin config.

(Name:)
Set the server name for display.
It can be specified freely.

(Dir:)
Set the root directory of the Spigot server (the folder where spigot.yml, server.properties and so on are located).
You can specify either a relative path or an absolute path.

(File:)
Specify the file name of the Spigot server itself (such as spigot.jar).
Specify only the file name without specifying the path.

(Args:)
Specify the arguments when starting the body.
Set -Xmx 1G -Xms 1G etc.

  1. Open spigot/plugins/SMFBBukkitBridge/config.yml.
# Socket settings
Socket:
  IP: localhost
  Port: 30000

Socket.IP

Set the IP of the PC running the BungeeCord proxy.
So far, we do not expect communication between different PCs, so set it to localhost.
Normally, the default is OK.

Socket.Port

Enter the port set in Socket Port on the Bungeecord side.
If you change the value of Socket Port, change this setting as well.

Server test

Start BungeeCord and check if there are no errors on the console.
Setup is complete.