Impulse
Impulse 是一个用于 Minecraft 服务器代理 Velocity 的插件。它允许根据玩家的加入和离开动态启动和停止服务器。为什么要运行一个每天只使用几小时的服务器呢?
主要特性
Impulse 拥有众多功能,让管理你的服务器变得轻松!一些亮点包括:
- 动态创建和销毁服务器 - 仅在玩家连接时运行服务器
- 第一方和第三方 Broker - 无论服务器如何部署(通过 Docker、JAR 文件或其他方式),都有相应的核心来驱动你的服务器。我们正积极致力于扩展我们的选择范围,但你可以在此处找到完整列表 here
- 自动热重载配置 - 无需重新加载命令即可自动更新 Impulse 运行服务器的方式!
- 非托管服务器支持 - 与你在 Velocity 中配置的任何静态服务器良好兼容
- 自定义事件 - 广播允许你扩展 Impulse 功能的自定义事件
- 第三方 Broker 支持 - 实现你自己的 Broker 或使用他人的来管理你的服务器
- FOSS(自由开源软件) - Impulse 承诺始终免费且开源
如需了解有关如何使用 Impulse 的更详细信息,请参阅我们的 文档。 API 文档请参见我们的 KDocs。
安装
简而言之,从我们的任意下载源下载最新版本,并将其放入 Velocity 插件文件夹中。更多详细说明请参阅我们的 安装 指南。
下载源:
快速入门
[!TIP] 寻找更深入的使用指南?请参阅我们的 入门 文档。
以下配置将帮助您快速启动一个简单的大厅服务器。
步骤 1:配置 Velocity
只需像平常一样将服务器添加到您的 velocity 配置文件中即可。
player-info-forwarding = "modern"
[servers]
lobby = "127.0.0.1:25566"
try = ["lobby"]
步骤 2:配置 Impulse
配置 Impulse 以使其知道如何管理您的服务器
instanceName: Bones
servers:
- name: lobby
inactiveTimeout: 300
type: docker
docker:
image: itzg/minecraft-server
portBindings:
- "25566:25565"
env:
ONLINE_MODE: "FALSE"
TYPE: "FABRIC"
EULA: "TRUE"
MODRINTH_PROJECTS: "fabricproxy-lite"
DIFFICULTY: "PEACEFUL"
ALLOW_NETHER: "FALSE"
MODE: "adventure"
volumes:
- "/srv/lobby:/data"
步骤 3:配置 MC 服务器
添加一些配置以允许现代转发
# create the file /srv/lobby/config/FabricProxy-Lite.toml
hackOnlineMode = true
hackEarlySend = false
hackMessageChain = true
disconnectMessage = "This server requires you to connect through the proxy."
secret = "<YOUR SECRET FROM forwarding.secret FILE>"
步骤 4:连接
只需启动您的 Velocity 代理,并从 Minecraft 客户端连接到它。如果遇到任何问题,请查阅我们的 文档 或提交 Issue!
获取帮助
如果您在使用 Impulse 时遇到问题、遇到 Bug,或者只是想推荐一个功能,请随时 提交 Issue! 我会尽力回复。
贡献
欢迎所有贡献!更多具体说明请参阅我们的 贡献 页面。
关于创建您自己的 Broker 以集成到其他服务器平台的具体细节,请参阅 我们的指南。
Impulse
Impulse is a plugin for the Minecraft server proxy Velocity. It adds the ability to dynamically start and stop servers on demand as players join and leave. Why run a server that is only used for a few hours a day?
Key Features
Impulse has many features to make managing your servers easy! Some highlights include:
- Dynamic server creation and destruction - only run servers when your players are connected
- First and third party brokers - Cores to drive your servers no matter how they are deployed, via Docker, JAR files, or something else. We are actively working on expanding our selection but you can find the full list here
- Automatic hot reload of configuration - update how impulse runs a server automatically, without a reload command!
- Unmanaged server support - plays nice with any static servers you have configured in Velocity
- Custom events - broadcasts custom events that allow you to extend Impulse's functionality
- Third party Broker support - Implement your own Broker or use someone else's to manage your servers
- FOSS - Impulse is commited to being free and open source always
Documentation
For more detailed information on how to use Impulse, see our documentation. For API documentation, see our KDocs.
Installation
In short, download our latest release from one of our sources and place it in your Velocity plugins folder. For more detailed instructions see our installation guide.
Sources:
Quick Start
[!TIP] Looking for a more in-depth guide? See our Getting Started documentation.
The following configuration should get you started with a simple lobby server.
Step 1: Configure Velocity
Simply add the server to your velocity config as normal.
player-info-forwarding = "modern"
[servers]
lobby = "127.0.0.1:25566"
try = ["lobby"]
Step 2: Configure Impulse
Configure impulse so it know how to manage your server
instanceName: Bones
servers:
- name: lobby
inactiveTimeout: 300
type: docker
docker:
image: itzg/minecraft-server
portBindings:
- "25566:25565"
env:
ONLINE_MODE: "FALSE"
TYPE: "FABRIC"
EULA: "TRUE"
MODRINTH_PROJECTS: "fabricproxy-lite"
DIFFICULTY: "PEACEFUL"
ALLOW_NETHER: "FALSE"
MODE: "adventure"
volumes:
- "/srv/lobby:/data"
Step 3: Configure the MC Server
Add some config to allow for modern forwarding
# create the file /srv/lobby/config/FabricProxy-Lite.toml
hackOnlineMode = true
hackEarlySend = false
hackMessageChain = true
disconnectMessage = "This server requires you to connect through the proxy."
secret = "<YOUR SECRET FROM forwarding.secret FILE>"
Step 4: Connect
Simply start your velocity proxy and connect to it from your Minecraft client. If you run into issues check our documentation or open an issue!
Getting Help
If your having problems with Impulse, experiencing a bug, or just want to recommend a feature, feel free to open an issue! I will do my best to respond.
Contributing
All contributions are welcome! For more specific instructions see our contributing page.
For specifics on adding creating your own broker to integrate with another server platform see our guide.
下载 Impulse Server Manager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Impulse Server Manager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Impulse Server Manager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Impulse Server Manager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Impulse Server Manager
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
亮点
针对服务器匹配 bug 的小幅修复版本。
Bug 修复
- 修复了超时逻辑,使其不再断开连接。这允许 Velocity 在某个服务器启动失败时,继续在
try块中尝试其他服务器。
更新内容
- fix: 由 @dependabot 将 docker 从 3.4.1 升级至 3.4.2,见
- fix: 由 @dependabot 将 kotlin 从 2.1.20-RC 升级至 2.1.20-RC2,见
- 添加 crafty 引用并更新 README,由 @dabb1e 提交,见
- 允许在初始连接时进行 try 块搜索,由 @dabb1e 提交,见
完整更改日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
在 Minecraft 中加入“最后一击”、“第二次机会”和“最后喘息”机制!从高处坠落时,你将拥有 0.5 HP 而不是直接死亡;当生命值较低时,增强你的能力。
插件
允许基岩版(Geyser)玩家使用自定义铁砧和锻造台配方。
插件
更快速的直线轨道矿车、链式连接列车、熔炉机车,以及原版红石信号!
插件
适用于服务器全面模组管控与自动化公平游戏的终极一站式安全套件。
评论 0
登录后参与评分
还没有评论,来抢沙发吧