一个服务端模组,允许“离线”账户通过绕过 Mojang 会话验证加入“在线”服务器(针对 connecto 配置中白名单的用户名)。此外,该模组默认禁用,以阻止非预期的连接。
此模组由 AI 协助制作。
将模组安装到服务器并启动、停止一次服务器,这将生成配置文件。
然后根据你的离线用户名编辑 connecto 配置文件并启用它。
之后重新启动你的服务器。你可以使用所有在线账户以及白名单中的离线账户进行连接。
你也可以在游戏中使用 /connecto 命令来管理此模组(需要 OP 权限),例如 /connecto status、/connecto reload 和 /connecto whitelist add/remove。
该模组还支持为离线玩家获取皮肤。启用 fetchOfflineSkins 可自动为离线玩家获取官方 Mojang 皮肤。如果某个玩家没有 Mojang 皮肤,或者你想为所有人设置备用皮肤,请将 defaultOfflineSkinUser 设置为任意 Minecraft 用户名(例如 defaultOfflineSkinUser=Notch)。默认皮肤会在服务器启动时预先获取,因此不会在玩家加入时造成任何延迟。
此模组可用于绕过免费主机服务的“活跃玩家”限制,而无需使用另一个 Minecraft 账户即可防止服务器停机。你也可以将其与 mineflayer 配合使用,即使不打开离线 Minecraft 实例也能连接。mineflayer 机器人可在 GitHub 上找到,文件名为 bot.js。
你现在可以使用此模组为你的免费服务器配备 7x24 小时运行的保活机器人。该机器人并非真实玩家,对任何人来说都不可见。
在配置中启用 "uptimeBot"。你可以将 uptimeBotMode 设置为 "ALWAYS"(机器人全天候保持在线)或 "SMART"(仅当没有真实玩家在线时连接,有人加入时则离开)。你可以自定义保活机器人的名称。此外,如果你的主机服务对保活机器人有严格限制,配置文件中还有大量设置可供调整以确保其正常工作。
Play.Hosting 的配置文件
enabled=true
whitelist=
whitelistPrefix=
fetchOfflineSkins=true
defaultOfflineSkinUser=
uptimeBot=true
uptimeBotMode=ALWAYS
uptimeBotName=uptime
reconnectDelaySeconds=5
botConnectIp=example.play.hosting
botConnectPort=25565
relayProxy=true
relayProxyUrl=connectorelay.onrender.com
securityAlerts=true
如果你想自行托管 ConnectoRelay 代理服务器,请查阅:
你可能可以将此配置用于所有支持 Limbo 的主机服务。
A server side mod which allows "offline" accounts to join "online" servers by bypassing Mojang session verification for whitelisted usernames in the connecto config. Also the mod disabled by default in order to block unwanted connections.
AI used to make this mod.
install the mod on the server and start and stop the server. this will generate the config file.
then edit connecto config accourdingly to your offline username and enable.
after that start your server again. you can connect with all online accounts and whitelisted offline accounts.
you can also manage the mod in-game using /connecto commands (requires op) like /connecto status, /connecto reload, and /connecto whitelist add/remove.
the mod also supports skin fetching for offline players. enable fetchOfflineSkins to automatically get official mojang skins for offline players. if a player doesn't have a mojang skin or if you want a fallback skin for everyone, set defaultOfflineSkinUser to any minecraft username (e.g. defaultOfflineSkinUser=Notch). the default skin is pre-fetched on server start so it doesn't cause any lag when players join.
this mod can be used to bypass free server hostings "active player" limit to not stop the server without needing minecraft another account. also you can use this with mineflayer to connect even without opening offline minecraft instance. the mineflayer bot is available on github as bot.js.
you now can use this mod to make your free servers 7/24 with an uptime bot. The bot is not a real player and not even visible to anyone.
enable "uptimeBot" in config. you can set uptimeBotMode to "ALWAYS" (bot stays 24/7) or "SMART" (bot connects only when 0 real players are online and leaves when someone joins). you can customize uptime bot name. also if your hesting service has strict restrictions about the uptime bots there are plenty of settings in config to make it work.
Config for Play.Hosting
enabled=true
whitelist=
whitelistPrefix=
fetchOfflineSkins=true
defaultOfflineSkinUser=
uptimeBot=true
uptimeBotMode=ALWAYS
uptimeBotName=uptime
reconnectDelaySeconds=5
botConnectIp=example.play.hosting
botConnectPort=25565
relayProxy=true
relayProxyUrl=connectorelay.onrender.com
securityAlerts=true
if you want you can host your own ConnectoRelay Proxy server. please check:
you probably can use this config for every server hosting with limbo
评论 0
登录后参与评分
还没有评论,来抢沙发吧