VoxyServer
VoxyServer 是一款 Fabric 服务端模组,它使用 Voxy 将区块体素化为不同细节层级(LOD),并流式传输给已连接的玩家。安装了 Voxy 和 VoxyServer 的玩家会自动从服务器接收 LOD 数据,无需客户端扫描世界或加载区块。未安装 Voxy 的玩家不受影响。
最新版本:Minecraft 26.2 | Fabric
工作原理
当服务器上的区块加载时,它们会被体素化为 Voxy 的 LOD 格式,并存储在服务器的每个世界数据库中。当安装了 Voxy 和 VoxyServer 的玩家连接时,服务器会以螺旋方式从玩家位置向外流式传输 LOD 区块段。随着玩家的移动,新的区块段会自动发送。
系统会检测诸如建造和爆炸等方块变化,受影响区域的 LOD 区块段会被重新体素化并自动推送给客户端。
现有的世界也可以通过管理员命令从区域文件进行回填(backfill),这样无需让玩家逐区块重新探索,即可对已探索的地形进行体素化处理。
安装
将 VoxyServer、Voxy 和 Sodium 的 jar 包放入服务器的 mods 文件夹中。不需要其他服务端依赖项。
客户端也需要安装 VoxyServer,以及 Voxy 和 Sodium。
配置
首次运行时会在 config/voxyserver.json 生成配置文件。
lodStreamRadius: 围绕每位玩家流式传输 LOD 的半径(以区块为单位)。maxSectionsPerTickPerPlayer: 每个玩家每个 tick 周期内发送的最大 LOD 区块段数量。sectionsPerPacket: 单个网络数据包中捆绑的最大 LOD 区块段数量。tickInterval: 每次流式传输周期之间的服务器 tick 间隔。workerThreads: Voxy 使用的辅助线程数量。generateOnChunkLoad: 在服务器加载区块时立即进行体素化。dirtyTrackingEnabled: 当方块发生变化时,重新体素化并推送 LOD。dirtyTrackingInterval: 脏区块刷新的 tick 间隔。debugTrackingEnabled: 定期向控制台输出内部服务器统计数据。debugTrackingInterval: 转储跟踪统计数据的 tick 间隔。
客户端配置
如果客户端安装了 ModMenu 和 Cloth Config,玩家可以从模组列表打开 VoxyServer 配置界面来调整个人的流式传输偏好设置:
| 选项 | 描述 |
|---|---|
| 启用 LOD 流式传输 | 切换服务器是否向你发送 LOD 数据 |
| LOD 流式传输半径 | 个人 LOD 半径(以方块为单位),0 = 使用服务器默认值 |
| 每 Tick 最大区块段数 | 每个 tick 发送区块段的个人速率限制,0 = 使用服务器默认值 |
这些值受限于服务器配置的最大值,并在保存时自动发送给服务器。
命令
服务器管理员可以将现有生成的区块导入 Voxy 存储。导入操作按顺序运行,直接读取现有的区域文件,这比等待正常加载区块要快得多。导入完成后,连接的 Voxy 客户端会自动刷新已导入维度中的 LOD 数据。
/voxyserver import existing all导入所有具有区域文件夹的已加载维度。/voxyserver import existing current导入执行命令的玩家当前所在的维度。/voxyserver import existing dimension <dimension>导入特定的已加载维度,例如minecraft:overworld。/voxyserver import existing status显示当前的导入状态。/voxyserver import existing cancel取消正在进行的导入任务。-
/voxyserver config list
列出所有当前的配置键名和值
/voxyserver config get <key>
显示特定配置设置的当前值/voxyserver config set <key> <value>
实时更新配置设置并将其保存到配置文件中/voxyserver stats
显示引擎性能、计数器和玩家数据的快照/voxyserver stats continuous
每秒向你的聊天栏连续发送统计数据更新/voxyserver stats stop
停止连续的统计数据更新
存储
LOD 数据按世界存储在 <world>/voxyserver/ 目录下。安全删除该目录可重新生成所有 LOD 数据。
许可证:
GNU GPLv3
VoxyServer
VoxyServer is a Fabric server side mod that voxelizes chunks into LODs using Voxy and streams them to connected clients. Players with Voxy and VoxyServer installed will receive LOD data from the server automatically, no client side world scanning or chunk loading needed. Players without Voxy are unaffected.
Latest: Minecraft 26.2 | Fabric
How It Works
When chunks load on the server, they get voxelized into Voxy's LOD format and stored in a per world database on the server. When a player with Voxy & VoxyServer installed connects, the server streams LOD sections to them in a spiral outward from their position. As the player moves, new sections are sent automatically.
Block changes like building and explosions are detected, and the affected LOD sections are revoxelized and pushed to clients automatically.
Existing worlds can also be backfilled from their region files with an admin command, so already explored terrain can be voxelized without needing players to revisit it chunk by chunk.
Installation
Drop the VoxyServer, Voxy, and Sodium jars into the server's mods folder. No other server side dependencies are needed.
Clients also need VoxyServer, along with Voxy and Sodium.
Configuration
A config file is generated at config/voxyserver.json on the first run.
lodStreamRadius: Radius in chunks to stream LODs around each player.maxSectionsPerTickPerPlayer: Max LOD sections sent per player per tick cycle.sectionsPerPacket: Max LOD sections bundled into a single network packet.tickInterval: Server ticks between each streaming cycle.workerThreads: Amount of worker threads for voxy to use.generateOnChunkLoad: Voxelize chunks as they load on the server.dirtyTrackingEnabled: Revoxelize and push LODs when blocks change.dirtyTrackingInterval: Ticks between dirty chunk flushes.debugTrackingEnabled: Output internal server stats to the console periodically.debugTrackingInterval: Ticks between dumping tracking stats.
Client Config
If the client has ModMenu and Cloth Config installed, players can open the VoxyServer config screen from the mods list to adjust their personal streaming preferences:
| option | description |
|---|---|
| Enable LOD Streaming | toggle whether the server sends LOD data to you |
| LOD Stream Radius | personal LOD radius in blocks, 0 = use server default |
| Max Sections Per Tick | personal rate limit for sections sent per tick, 0 = use server default |
these values are capped at the server's configured maximums and sent to the server automatically when saved.
Commands
Server admins can import existing generated chunks into Voxy storage. Imports run sequentially and read existing region files directly, which is much faster than waiting for chunks to be loaded normally. Imported dimensions are refreshed for connected Voxy clients automatically once the import completes.
/voxyserver import existing allImports all loaded dimensions that have a region folder./voxyserver import existing currentImports the current dimension of the executing player./voxyserver import existing dimension <dimension>Imports a specific loaded dimension, for exampleminecraft:overworld./voxyserver import existing statusShows the current import status./voxyserver import existing cancelCancels the active import job.-
/voxyserver config list
lists all current configuration keys and values
/voxyserver config get <key>
shows the current value of a specific configuration setting/voxyserver config set <key> <value>
updates a configuration setting live and saves it to the config file/voxyserver stats
shows a snapshot of the engine's performance, counters, and player data/voxyserver stats continuous
continuously sends stats updates to your chat every second/voxyserver stats stop
stops the continuous stats updates
Storage
LOD data is stored per world at <world>/voxyserver/. This can be safely deleted to regenerate all LOD data.
License:
GNU GPLv3
下载 Voxy Server
下载 Voxy Server
下载 Voxy Server
下载 Voxy Server
下载 Voxy Server
下载 Voxy Server
下载 Voxy Server
下载 Voxy Server
下载 Voxy Server
下载 Voxy Server
支持断点续传导入
优化了 LOD 交付(客户端确认、重试、队列等)
改进了客户端数据摄入与哈希同步的后台处理
确保在启用/禁用 Voxy 后 LOD 流式传输能够恢复(无需重新登录)
修复了待处理的脏更新阻塞正常流式传输的问题
修复了区域导入失败但仍显示成功的问题
在配置中添加了 generateOnChunkUnload 选项
修复了问题 #38
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧