COWMODSКаталог модов

SmartRejoin

A Velocity plugin that gives you full control over where players connect when they join your network.

Автор: RealKomander13,3 тыс.10обновлён 7 июн. 2026 г.
УправлениеУтилиты

Описание

SmartRejoin for Velocity

Java Version Velocity Version

SmartRejoin is a modern alternative to older reconnect plugins, built with a highly customizable rule-based engine.


Features

  • 🧠 Automatically sends players back to the server they disconnected from.
  • ⚙️ Define custom rules based on a player's last server. For example, send players from a bedwars_ game to the most populated bedwars_lobby.
  • ⚖️ Distributes players across lobbies by connecting them to the server with the most or least players, or to a random one.
  • 🛡️ Configure a safe fallback server (or a pool of servers) for new players or when a target server is offline.
  • ⚡ Reload the configuration on-the-fly with a simple command.

Installation

  1. Download the plugin
  2. Place the plugin into your Velocity proxy's /plugins directory.
  3. Restart your Velocity proxy. A config.yml file will be generated in /plugins/SmartRejoin/.

Commands & Permissions

CommandAliasPermissionDescription
/smartrejoinreload/srrsmartrejoin.command.reloadReloads the config.yml file.

Configuration (config.yml)

The configuration is split into three main parts: Fallback, Default Rule, and Custom Rules.

Quick Start

For the simplest setup, just install the plugin. By default (rule: SAME), it will automatically reconnect players to the server they left. New players will be handled by your velocity.toml configuration. To use the plugin's fallback for new players, set fallback.enabled: true.

Example Use Cases

  • BedWars Lobby: If a player leaves bedwars_12, send them to the bedwars_lobby with the most players.
  • Persistent Survival: If a player leaves survival, always send them back to survival.
  • Random Lobby: If a player was in any lobby_ server, send them to another random lobby_ server.
  • AFK Escape: If a player was in an afk server, send them to the lobby with the fewest players.

Full Configuration Example (different from default one!)

# --------------------------------------------------- #
#               SmartRejoin Configuration             #
# --------------------------------------------------- #

# --- General Settings ---
settings:
  # If true, the plugin will print informational messages to the console.
  # Critical errors are always logged.
  logging_enabled: true

# --- Fallback Configuration ---
# Used for new players or when a target server from a rule is offline.
fallback:
  # If 'enabled', this plugin's fallback logic will be used.
  enabled: true
  # 'RANDOM': Connects to a random server whose name CONTAINS the 'name' value.
  # 'SERVER': Connects to a specific server with an exact 'name'.
  type: RANDOM
  name: "lobby"

# --- Default Rule ---
# Applied if a player's last server doesn't match any custom rules below.
default:
  # 'SAME': Connects to the exact same server. (Most common)
  # 'FALLBACK': Immediately uses the fallback rule.
  # 'SMART': Finds a related lobby. See comments below for details.
  rule: SAME
  # Arguments for the 'SMART' rule.
  # Example: ['MOST', '%last_seen%_lobby']
  arguments: []

# --- Custom Rules ---
# Define specific redirection rules here. They are checked in order.
rules:
  stay_on_survival:
    last_seen:
      # Condition: Player's last server name must be an exact match.
      type: EQUALS
      name: "survival"
    where_to_join:
      # Action: Connect to a server with this exact name.
      type: EQUALS
      name: "survival"

  bedwars_lobby_fallback:
    last_seen:
      # Condition: Player's last server name must contain "bedwars".
      type: CONTAINS
      name: "bedwars"
    where_to_join:
      # Action: Find all online servers containing "bedwars_lobby" and
      # connect to the one with the MOST players.
      type: MOST
      name: "bedwars_lobby"

Последние версии

Все версии →
release

SmartRejoin 1.3.1

1.3.1
7 июн. 2026 г.1,7 тыс.Minecraft: 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2velocity
Скачать
Что нового
- fixed race condition bug in rejoin on server start
release

SmartRejoin 1.3

1.3
17 мая 2026 г.301Minecraft: 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2velocity
Скачать
Что нового
- Added SQlite data type. To use, open `config.yml` and set `storage.type` to 'sqlite' - Automatic migration from YAML to SQlite
release

SmartRejoin 1.2

1.2
17 февр. 2026 г.994Minecraft: 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11velocity
Скачать
Что нового
Added new "rejoin queue" system - if enabled, automatically reconnects players kicked due to shutdown after the backend restarts. This feature is turned off by default. **Manual migration from earlier versions:** Add this to your `config.yml`: ```yaml rejoin_queue: # Enable or disable the rejoin queue feature. # If disabled or absent, the plugin behaves identically to v1.1. enabled: false # How often (in ticks) to ping each monitored backend server to check availability. # 20 ticks = 1 second. Default: 100 (5 seconds). monitor_interval: 100 # Delay (in ticks) before sending the first player after a server comes back up. # Set to 0 to disable. Default: 60 (3 seconds). rejoin_initial_delay: 60 # Delay (in ticks) between sending each subsequent player from the queue. # Set to 0 to disable. Default: 10 (0.5 seconds). rejoin_cooldown: 10 # Whitelist configuration for which servers to monitor. whitelist: # Match type for server filtering: # - 'EQUALS': Only monitor servers whose names exactly match entries in the list. # - 'CONTAINS': Monitor servers whose names contain any entry in the list. # - 'ALL': Monitor all backend servers (the list is ignored). type: ALL # List of server names to monitor (used only when type is EQUALS or CONTAINS). list: - "server1" - "server2" - "server3" # Maximum time (in ticks) to wait for a server to come back up before discarding the queue. # Players will stay on their fallback server - no kick, no message. # Set to 0 to disable. Default: 72000 (~30 minutes). wait_timeout: 72000 # Actionbar message configuration for queued players. actionbar: enabled: true # MiniMessage format. Placeholders: {server}, {position}, {total} format: "<yellow>Waiting to reconnect to <bold>{server}</bold>... <gray>({position}/{total})</gray>" # Leave-queue command configuration. leave_command: enabled: false command: "leavequeue" # MiniMessage format. Placeholder: {server} message_left: "<green>You have left the queue for <bold>{server}</bold>.</green>" # MiniMessage format. No placeholders applicable. message_not_in_queue: "<red>You are not currently in any queue.</red>" # Debug mode for troubleshooting rejoin queue issues. # When enabled, detailed logs will be printed for queue operations. debug: false ```
release

SmartRejoin 1.1

1.1
5 февр. 2026 г.55Minecraft: 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11velocity
Скачать
Что нового
- Fixed an issue with config breaking - Added version tags for 1.7+
release

SmartRejoin 1.0.0

1.0.0
14 июл. 2025 г.276Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7velocity
Скачать
Что нового
Initial release for `Velocity 3.4.0-SNAPSHOT`