Totem of Null
一款 Paper 插件,将附魔了经验修补(Mending)的不死图腾(Totem of Undying)**重新改造为一种可重复使用的实用道具,用于通过临时的、受限的下界传送门来转移玩家。
概述
右键点击一个附魔了经验修补的不死图腾会取消它的常规行为,并打开一个基于聊天的提示,要求输入目标玩家的用户名。一旦提供了有效的在线目标,该插件就会在该玩家附近 5 到 15 个方块的安全位置构建一个临时的下界传送门,并将激活道具的玩家传送到其中。
在此过程中创建的传送门对于创建它的玩家而言,只要他们处于该特定传送门实例内,就不会触发下界维度的转换。一旦他们离开,限制即被解除。如果该玩家或其他人在之后再次进入同一个传送门,它将作为标准的下界传送门运作。
该物品本身没有耐久度消耗,使用时也不会被消耗掉。
功能特性
- 无需自定义合成配方:功能与带有经验修补附魔的不死图腾绑定
- 基于聊天的目标选择,支持在确认目标前的任何阶段取消操作
- 自动位置验证:在放置传送门前检查是否有坚实的地面、足够的空气空间、无液体以及无其他实体
- 当未找到有效自然位置时的后备处理机制,强制清理空间时明确保留基岩、屏障、命令方块和其他受保护类型的方块
- 针对每个实例的传送门限制逻辑,隔离于该次激活期间特定的玩家和特定的传送门
- 在玩家断开连接或离开传送门时自动清理限制数据
- 可通过 config.yml 配置搜索半径、尝试次数、限制超时时间和传送门持续时间
- 完全自定义面向玩家的消息提示
- 设计旨在支持来自不同玩家的多个同时激活操作,且不会发生状态冲突
获取方式
此物品旨在由服务器管理员授予,通常通过指令执行:
/give @s totem_of_undying[enchantments={mending:1}]
兼容性
- Minecraft 版本:1.21.x
- 服务端软件:Paper(及基于 Paper 的分支)
- 无外部插件依赖
权限设置
该插件目前未实现用于限制使用此物品的权限节点。服务器管理员应通过物品分发来管理访问权限。如有需要,可提供基于权限控制的变体版本。
技术支持
如需报告错误或提出功能请求,请使用评论区或项目的 Issue Tracker。该插件正在积极维护中。
Totem of Null
A Paper plugin that repurposes the Totem of Undying (when enchanted with Mending) into a reusable utility item for relocating players via temporary, restricted Nether portals.
Overview
Right-clicking a Totem of Undying enchanted with Mending cancels its normal behavior and opens a chat-based prompt requesting a target player's username. Once a valid, online target is provided, the plugin locates a safe location 5 to 15 blocks from that player, constructs a temporary Nether portal there, and teleports the activating player into it.
The portal created in this process is exempt from triggering a Nether dimension transition for the player who created it, for as long as they remain inside that specific portal instance. Once they leave, the restriction is lifted. If the player or anyone else re-enters the same portal afterward, it functions as a standard Nether portal.
The item itself has no durability cost and is not consumed on use.
Features
- No custom crafting recipe required: functionality is tied to a Totem of Undying with the Mending enchantment
- Chat-based target selection, with support for cancellation at any point before a target is confirmed
- Automated location validation: checks for solid ground, sufficient air space, absence of liquids, and absence of other entities before placing a portal
- Fallback handling for cases where no valid natural location is found, with forced space clearing that explicitly preserves bedrock, barriers, command blocks, and other protected block types
- Per-instance portal restriction logic, isolated to the specific player and specific portal created during that activation
- Automatic cleanup of restriction data on player disconnect or portal exit
- Configurable search radius, attempt limits, restriction timeout, and portal lifetime via config.yml
- Fully customizable player-facing messages
- Designed to support multiple simultaneous activations from different players without state conflicts
Obtaining the Item
This item is intended to be granted by server administrators, typically via command:
/give @s totem_of_undying[enchantments={mending:1}]
Compatibility
- Minecraft version: 1.21.x
- Server software: Paper (and Paper-based forks)
- No external plugin dependencies
Permissions
This plugin does not currently implement a permission node restricting use of the item. Server administrators should manage access through item distribution. A permission-gated variant can be made available on request.
Support
For bug reports or feature requests, please use the comments section or the project's issue tracker. This plugin is actively maintained.
评论 0
登录后参与评分
还没有评论,来抢沙发吧