EnderLink
两个方块。一条链接。无限距离。
EnderLink 是一款 Fabric 传送模组,允许玩家注册传送基座,将它们链接在一起,并通过在方块上潜行来在它们之间进行传送。
它旨在为玩家提供简单的操作体验,为服务器管理员提供可配置性,并在专用服务器上完全可用。
✨ 功能
- 可配置的传送基座方块
- 双向链接传送
- 传送前的预热倒计时
- 玩家移动时取消传送
- 支持在传送方块上放置地毯
- 针对被阻挡或不安全目的地的安全检查
- 世界边界保护
- 可配置的粒子效果和到达音效
- 跨维度传送(支持可配置的白名单)
- 每位玩家的基座和链接数量限制
- 基于 UUID 的所有权
- 可选的 LuckPerms 支持
- 可选的 Mod Menu + Cloth Config 集成
- 电梯兼容性防护
‼️ 工作原理
EnderLink 将普通配置好的方块变为传送基座。
典型流程:
- 放置一个已配置的传送方块。
- 站在上面并运行
/enderlink add。
- 在别处放置第二个已配置的传送方块。
- 站在上面并运行
/enderlink add。
- 使用
/enderlink link TP1 TP2 链接这两个基座。
- 在任意一个链接的基座上潜行即可传送到另一个。
基座会永久存储在服务器上,可以通过命令列出,当方块被破坏或变得无效时会自动移除。
? 命令
/enderlink add - 注册你当前站立的传送方块。
/enderlink link <first> <second> - 将两个传送基座链接在一起。链接始终是双向的。
/enderlink unlink <first> <second> - 移除两个基座之间的链接。
/enderlink remove <name> - 完全移除一个传送基座。
/enderlink rename <name> <newName> - 重命名一个传送基座。
/enderlink list - 显示所有存储的基座和链接。
/enderlink info - 显示你当前站立的基座的信息。
/enderlink info <name> - 显示特定传送基座的信息。
/enderlink reload - 从磁盘重新加载配置。
? 配置亮点
服务器管理员可以配置:
- 允许的传送方块
- 预热时间
- 允许的维度
- 粒子类型和粒子数量
- 到达音效、音量和音调
- 每位玩家的基座和链接限制
- 命令访问规则
- 可选的 LuckPerms 集成
EnderLink 将共享配置和专用服务器数据存储于以下路径:
config/enderlink/
文件:
单人游戏世界的基座和链接存储在 <world>/enderlink/teleports.json 中。
配置选项
teleportBlocks - 可作为传送基座的方块 ID 列表。默认值:minecraft:gold_block, minecraft:lapis_block
chargeTicks - 传送前的预热时间。20 ticks = 1 second
safetyEnabled - 如果为 true,EnderLink 会阻止不安全的目的地。
particlesEnabled - 启用传送粒子效果。
particleType - 预热和到达期间使用的粒子 ID。
warmupParticleCount - 充电过程中生成的粒子数量。
arrivalBurstParticleCount - 到达瞬间立即生成的粒子数量。
arrivalTrailParticleCount - 在短暂的到达粒子轨迹期间,每秒生成的粒子数量。
arrivalParticleDurationTicks - 传送后额外的到达粒子轨迹持续的时间(以刻为单位)。
soundEnabled - 启用到达音效。
soundEvent - 到达时播放的声音事件 ID。
soundVolume - 到达音效的音量。
soundPitch - 到达音效的音调。
allowedDimensions - 允许参与传送的维度 ID 列表。可以使用简写如 overworld 或完整 ID 如 minecraft:overworld。
luckPerms - 如果安装了 LuckPerms 模组,则启用其集成。
maxPadsPerPlayer - 每位玩家默认的传送基座最大数量。
maxLinksPerPlayer - 每位玩家默认的链接最大数量。
addAccess
linkAccess
unlinkAccess
removeAccess
renameAccess
listAccess
infoAccess - 禁用 LuckPerms 时的命令访问模式。有效值:EVERYONE, OPS_ONLY
✅ Carpet 支持
你可以在传送方块上方放置一块地毯来隐藏它。
该基座仍然对以下操作有效:
? 安全规则
EnderLink 会阻止不安全的传送。
被阻止的目的地的示例:
- 目的地没有足够的空间容纳玩家
- 目的地在水下
- 目的地位于熔岩或其他流体内部
- 目的地在世界边界之外
- 目的地方块缺失或不再有效
- 目的地维度不被配置允许
? 权限
EnderLink 支持两种权限模式:
- 基于配置的访问控制
- 基于 LuckPerms 的访问控制
有关所有权限选项,请访问 GitHub 页面:
? 备注
EnderLink 可在专用服务器上完全使用。
Mod Menu 和 Cloth Config 仅在你想要客户端上的可选图形化配置界面时才需要。
?️ 测试服务器
欢迎加入我的 Minecraft 服务器来测试我的模组:play.swordfishbe.eu
EnderLink
Two blocks. One link. Infinite distance.
EnderLink is a Fabric teleportation mod that lets players register teleport pads, link them together, and travel between them by sneaking on the block.
It is designed to be simple for players, configurable for server owners, and fully functional on dedicated servers.
✨ Features
- Configurable teleport pad blocks
- Two-way linked teleports
- Warmup countdown before teleporting
- Teleport cancels if the player moves
- Carpet support on teleport blocks
- Safety checks for blocked or unsafe destinations
- World border protection
- Configurable particles and arrival sound
- Cross-dimension teleports with a configurable allow-list
- Per-player pad and link limits
- UUID-based ownership
- Optional LuckPerms support
- Optional Mod Menu + Cloth Config integration
- Elevator compatibility guard
‼️ How It Works
EnderLink turns normal configured blocks into teleport pads.
Typical flow:
- Place a configured teleport block.
- Stand on it and run
/enderlink add.
- Place a second configured teleport block somewhere else.
- Stand on it and run
/enderlink add.
- Link both pads with
/enderlink link TP1 TP2.
- Sneak on either linked pad to teleport to the other one.
Pads are stored permanently on the server, can be listed by command, and are automatically removed when the block is broken or becomes invalid.
? Commands
/enderlink add - Register the teleport block you are currently standing on.
/enderlink link <first> <second> - Link two teleport pads together. Links are always two-way.
/enderlink unlink <first> <second> - Remove the link between two pads.
/enderlink remove <name> - Remove a teleport pad completely.
/enderlink rename <name> <newName> - Rename a teleport pad.
/enderlink list - Show all stored pads and links.
/enderlink info - Show info about the pad you are currently standing on.
/enderlink info <name> - Show info about a specific teleport pad.
/enderlink reload - Reload the config from disk.
? Config Highlights
Server owners can configure:
- allowed teleport blocks
- warmup time
- allowed dimensions
- particle type and particle counts
- arrival sound, volume, and pitch
- per-player pad and link limits
- command access rules
- optional LuckPerms integration
EnderLink stores shared configuration and dedicated-server data under:
config/enderlink/
Files:
Singleplayer worlds store their pads and links in <world>/enderlink/teleports.json.
Config Options
teleportBlocks - List of block ids that can act as teleport pads. Default: minecraft:gold_block, minecraft:lapis_block
chargeTicks - Warmup time before teleporting. 20 ticks = 1 second
safetyEnabled - If true, EnderLink blocks unsafe destinations.
particlesEnabled - Enables teleport particles.
particleType - Particle id used during warmup and arrival.
warmupParticleCount - How many particles spawn while charging.
arrivalBurstParticleCount - How many particles spawn immediately on arrival.
arrivalTrailParticleCount - How many particles spawn each tick during the short arrival particle trail.
arrivalParticleDurationTicks - How long the extra arrival particle trail lasts after teleporting.
soundEnabled - Enables arrival sound.
soundEvent - Sound event id played on arrival.
soundVolume - Volume for the arrival sound.
soundPitch - Pitch for the arrival sound.
allowedDimensions - List of dimension ids allowed to participate in teleports. You can use shorthand like overworld or full ids like minecraft:overworld.
luckPerms - Enables LuckPerms integration if the LuckPerms mod is installed.
maxPadsPerPlayer - Default maximum amount of teleport pads per player.
maxLinksPerPlayer - Default maximum amount of links per player.
addAccess
linkAccess
unlinkAccess
removeAccess
renameAccess
listAccess
infoAccess - Command access mode when LuckPerms is disabled. Valid values: EVERYONE, OPS_ONLY
✅ Carpet Support
You can place a carpet on top of a teleport block to hide it.
The pad still works for:
- adding the pad
- teleporting to it
- teleporting from it
? Safety Rules
EnderLink blocks unsafe teleports.
Examples of blocked destinations:
- destination has no space for the player
- destination is underwater
- destination is inside lava or another fluid
- destination is outside the world border
- destination block is missing or no longer valid
- destination dimension is not allowed by config
? Permissions
EnderLink supports two permission modes:
- Config-based access control
- LuckPerms-based access control
For all permission options, visit the github page:
? Notes
EnderLink is fully usable on dedicated servers.
Mod Menu and Cloth Config are only needed if you want the optional in-game config screen on the client.
?️ Test Server
Feel free to join my Minecraft server to test my mods: play.swordfishbe.eu
评论 0
登录后参与评分
还没有评论,来抢沙发吧