Server Registration Plugin

The registration plugin updates registered proxy child servers according to the clouds registered servers. If your SimpleCloud installation uses a proxy, you need this plugin to make that proxy work correctly.

Download

Supported Server Softwares

The following table shows all currently supported proxy implementations:

SoftwareThis PluginServer API
VelocityYesYes
BungeecordYesYes
GatePlannedYes
Other*VariesNo

Quick Setup

  1. Download the plugin for your proxy software
  2. Place it in your proxy template's plugins folder
  3. Start your proxy server
  4. Configure the plugin using config.yml

Configuration

The configuration file is located at config.yml in the plugin's data folder:

# Server naming pattern
server-name-pattern: "%GROUP%-%NUMERICAL_ID%"
# Available placeholder:
#   %GROUP% - Group name
#   %ID% - Unique server ID
#   %NUMERICAL_ID% - Numerical server ID

# Ignored server groups
ignore-server-groups:
  - "bedwars"
  - "skywars"

# Additional non-cloud servers
additional-servers:
  - name: "build"
    address: "127.0.0.1"
    port: 225555

Custom Implementation

The plugin provides the ServerRegisterer interface for custom implementations:

interface ServerRegisterer {
    // Get all registered servers
    fun getRegistered(): List<Server>
    
    // Register new or reattached server
    fun register(server: Server)
    
    // Unregister unmounted server
    fun unregister(server: Server)
}

What's Next?

Was this page helpful?