
SmartRejoin
A Velocity plugin that gives you full control over where players connect when they join your network.
1.6K
9
- fixed race condition bug in rejoin on server start
- Added SQlite data type. To use, open
config.ymland setstorage.typeto 'sqlite' - Automatic migration from YAML to SQlite
- Added SQlite data type. To use, open
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: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- Fixed an issue with config breaking
- Added version tags for 1.7+
Initial release for
Velocity 3.4.0-SNAPSHOT
Совместимость
Авторы
Сведения
Лицензия:
Опубликован:11 месяцев назад
Обновлён:1 неделю назад
ID проекта:
