CustomWorldHeight
CustomWorldHeight 是一款适用于 Paper 的插件,允许你修改 Minecraft 世界的垂直高度。它提供了一种简单高效的方式来扩展或限制世界的垂直维度,适用于创意建筑、玩法调整或服务器优化。
Github 页面:
重要提示
本插件类似于原版数据包(datapack),因此会存在与数据包类似的一些问题。
一旦设置了某个世界的高度,缩小该世界的高度将非常危险,所有数据都会丢失。
扩展高度相对无害,但如果降低最小 Y 坐标(min-Y),新生成的区块将与已生成的区块不同。
增加高度只会导致区块的高度贴图被重新计算,所有数据都会被妥善保留。
功能特性
- 自定义你的 Minecraft 世界高度。
- 与 Paper 无缝集成。
- 为服务器管理员提供易于配置的设置。
安装
请按照以下步骤安装插件:
- 从 Releases 页面下载 CustomWorldHeight 的最新发布版本。
- 将下载的
.jar文件放入服务器的plugins文件夹中,然后启动服务器。 - 插件生成配置模板后会自动禁用,请完成配置编辑。
- 重启 Minecraft 服务器,配置好的世界高度将会生效。
API 用法
repositories {
mavenCentral()
}
dependencies {
compileOnly("io.github.lumine1909:CustomWorldHeight-API:0.0.1")
}
public void modifyHeight() {
/*
以下操作仅在世界尚未加载时有效!
这不是永久性的修改!如果你想永久设置,
请在你的插件中存储高度数据,并在每次启动时 SET IT ON EACH STARTUP!
*/
// 设置主世界的高度
WorldHeightService.get().registerWorld(
Identifier.of("demo", "height1"), "world",
new Height(1088, -64, 512, Height.CloudHeight.DEFAULT),
BaseDimensionType.OVERWORLD
);
// 设置所有以 "test_" 开头的世界的高度
WorldHeightService.get().registerRegex(
Identifier.of("demo", "height2"), "test_\\w+",
new Height(1088, -64, 512, Height.CloudHeight.DEFAULT),
BaseDimensionType.CUSTOM
);
}
配置
# 你可以设置为任意值 ([a-z0-9/._-]),它将用于生成 Identifier (ResourceLocation)
example-namespace:
# 为特定世界设置高度,你需要将其设置为你想要修改高度的世界名称
world: 'example-world-value'
# 最小 Y 坐标位置
min-y: -64
# 高度 (最大 Y 坐标 = min-y + height - 1)
height: 1024
# 紫颂果传送等的高度,不能大于 height。详见 Minecraft wiki#DimensionType
logical-height: 512
# 云层高度 (空 -> 无云, default -> 使用默认高度)
# 此功能仅适用于 1.21.6+
cloud-height: 'default'
# 对于 'overworld', 'the_nether', 'the_end', 'overworld_cave',将在世界初始化前使用内置数据生成
dimension-type: 'overworld'
# 你可以设置为任意值 ([a-z0-9/._-]),它将用于生成 Identifier (ResourceLocation)
example-regex:
# 本插件也支持正则表达式匹配
regex: '^test_\w+'
# 最小 Y 坐标位置
min-y: -64
# 高度 (最大 Y 坐标 = min-y + height - 1)
height: 1024
# 紫颂果传送等的高度,不能大于 height。详见 Minecraft wiki#DimensionType
logical-height: 512
# 云层高度 (空 -> 无云, default -> 使用默认高度)
# 此功能仅适用于 1.21.6+
cloud-height: 256
# 这将使插件在世界加载时处理注册数据
dimension-type: 'custom'
许可证
本项目遵循 GPL 3.0 License 开源许可。 API 部分遵循 LGPL 3.0 License 开源许可。
支持
如果你遇到任何问题或有疑问,欢迎提交 issue。
CustomWorldHeight
CustomWorldHeight is a plugin for Paper that allows you to modify the height of the Minecraft world. It provides an easy and efficient way to extend or limit the vertical dimensions of your world for creative builds, gameplay tweaks, or server optimization.
Github page:
Important
This plugin is similar to the vanilla datapack, so there will be some similar issues as the datapack one.
Once you set the height of a certain world, it will be VERY DANGEROUS to shirk the world height, all the data will lose.
Expand the height is relatively unharmful, but if you decrease the min-Y, new chunks will be different from already generated chunks.
Increasing the height will only cause the chunk's height map to be recalculated, and all the data will be properly preserved.
Features
- Customize the height of your Minecraft world.
- Seamless integration with Paper.
- Easy-to-configure settings for server administrators.
Installation
Follow these steps to install the plugin:
- Download the latest release of CustomWorldHeight from the Releases page.
- Place the downloaded
.jarfile into your server'spluginsfolder, start the server. - After plugin generated the config template it will automatically disable, please finish the config.
- Restart your Minecraft server, and the configured world's height will be modified.
API Usage
repositories {
mavenCentral()
}
dependencies {
compileOnly("io.github.lumine1909:CustomWorldHeight-API:0.0.1")
}
public void modifyHeight() {
/*
All of these works only if the world is not loaded yet!
This is not a permanent modification! If you want to set permanently,
store the height data with your plugin and SET IT ON EACH STARTUP!
*/
// Set the height of overworld
WorldHeightService.get().registerWorld(
Identifier.of("demo", "height1"), "world",
new Height(1088, -64, 512, Height.CloudHeight.DEFAULT),
BaseDimensionType.OVERWORLD
);
// Set the height of all worlds start with "test_"
WorldHeightService.get().registerRegex(
Identifier.of("demo", "height2"), "test_\\w+",
new Height(1088, -64, 512, Height.CloudHeight.DEFAULT),
BaseDimensionType.CUSTOM
);
}
Configuration
# You can set to anything you want ([a-z0-9/._-]), will be used to generate Identifier (ResourceLocation)
example-namespace:
# Set the height for certain world, you need set it to the world name you want to modify the height
world: 'example-world-value'
# Min Y position
min-y: -64
# Height (max Y position = min-y + height - 1)
height: 1024
# Height for Chorus Fruit teleport and etc., cannot be greater than height. See Minecraft wiki#DimensionType for details
logical-height: 512
# Height for the cloud (empty -> do not have cloud, default -> use default height)
# This feature only works on 1.21.6+
cloud-height: 'default'
# For 'overworld', 'the_nether', 'the_end', 'overworld_cave', this will use built in data to generate before world is initializing
dimension-type: 'overworld'
# You can set to anything you want ([a-z0-9/._-]), will be used to generate Identifier (ResourceLocation)
example-regex:
# This plugin also support Regex matching
regex: '^test_\w+'
# Min Y position
min-y: -64
# Height (max Y position = min-y + height - 1)
height: 1024
# Height for Chorus Fruit teleport and etc., cannot be greater than height. See Minecraft wiki#DimensionType for details
logical-height: 512
# Height for the cloud (empty -> do not have cloud, default -> use default height)
# This feature only works on 1.21.6+
cloud-height: 256
# This will let the plugin process registration data when world load
dimension-type: 'custom'
License
This project is licensed under the GPL 3.0 License. The API part is licensed under the LGPL 3.0 License.
Support
If you encounter any issues or have questions, feel free to open an issue.
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomWorldHeight
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
未指定更新日志。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧