SmartRouter

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.0.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/smartrouter
资源信息

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

平台: velocity

标签: management technology utility

资源介绍

SmartRouter

SmartRouter is a Velocity plugin that smartly routes players based on their last connected server. It is designed for networks with multiple sub-servers like hub, spawn, and smp.

✨ Features

  • Redirect players trying to connect to a fallback server (e.g., spawn) to their previous server.
  • Track players' last connected server and remember it across reconnects.
  • Fully configurable with config.yml.
  • Requires LuckPerms to store and retrieve player metadata.

? Requirements

  • Velocity Proxy
  • LuckPerms (must be installed and active on the proxy)

If LuckPerms is not found, the plugin will automatically disable itself.


⚙️ Configuration

The configuration file is created at plugins/smartrouter/config.yml.

file-version: 1

intercept-servers:
- spawn

remember-servers:
- spawn
- smp

intercept-servers

A list of server names to intercept when a player connects.
If a player attempts to join any of these servers, SmartRouter checks their last known server and redirects them if needed.

Example:
If a player tries to join spawn, but their last known server was smp, they’ll be redirected back to smp instead of joining spawn.


remember-servers

A list of server names to remember as a player's last server.
When a player joins any of these servers, SmartRouter saves the server name to metadata (via LuckPerms).

Tip:
Add any servers here that players might return to after a reconnect.


? Example Use Case

Let’s say your network has:

  • A hub server players always connect to first.
  • A spawn area where players are teleported initially.
  • An SMP world players explore and return to.

With SmartRouter, players are routed to spawn the first time. If they log out in smp, the next time they connect, SmartRouter will skip spawn and send them back to smp.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
[?] Seasonal Decorations

价格:0 墨喵币
下载量:0

查看详情
GooeyLibs

价格:0 墨喵币
下载量:0

查看详情
Advanced Golems: Retextured

价格:0 墨喵币
下载量:0

查看详情
BlackboxMC

价格:0 墨喵币
下载量:0

查看详情