Survival Debugged
Survival Debugged 是一款轻量级的 Bukkit、Paper 和 Spigot 插件,它将 Minecraft 调试棒(debug stick)的强大功能带给生存模式下的玩家。该插件专为建造者和服务器管理员设计,允许用户无需原生创造模式权限或操作员(OP)权限即可无缝编辑方块的物理属性——例如旋转、形状、半块状态以及开启/关闭状态。
本插件由 imNikos 制作。
关注我的社交媒体!
工作原理
装备自定义调试棒后,玩家可以与包含方块状态的任何方块进行交互(如楼梯、门、栅栏和告示牌)。
左键点击: 扫描方块并循环遍历其可用属性(例如朝向、半块状态、是否被水浸没)。
右键点击: 切换或循环遍历当前选定属性的有效值。

核心特性
安全的状态计算: 插件会动态计算有效的方块状态。当你右键点击更改数值时,插件会在后台安全地测试新数据。它原生支持切换布尔值(真/假)、整数范围(0-30 用于年龄和旋转角度),以及循环遍历一个内置的超过 60 种复杂字符串状态的巨大字典(例如楼梯形状、台阶类型、墙壁附着物以及音符盒乐器)。
物理与邻居更新阻止: 使用此调试棒修改方块时会故意忽略方块物理规则。这使得建造者能够实现“不可能”的方块状态而不会立即崩坏或更新——这意味着你可以编辑门的顶部半块而不会使其脱落,或者强制栅栏柱与相邻方块断开连接。
按玩家区分的材质记忆: 调试棒具备智能记忆系统。它会按材质追踪每个玩家上次编辑的属性。如果你左键点击橡木楼梯选择了“朝向”属性,那么下次你点击橡木楼梯时,它会自动默认为“朝向”,从而避免你需要重新循环所有选项。
简洁的动作栏 UI: 为防止聊天刷屏,所有交互均优雅地通过动作栏(Action Bar)显示。玩家在选中属性时会收到黄色通知,成功更改数值时会收到绿色通知,尝试修改无状态的方块时会收到红色通知。
安全的物品追踪: 自定义调试棒是使用 Bukkit 的持久化数据容器(PersistentDataContainer, PDC)生成的。这确保了调试棒的唯一性和安全性——玩家无法仅仅在铁砧中重命名普通木棍来获得这些能力。
简单的命令: 服务器管理员可以使用 /sdebug 或 /debugstick 命令发放该物品(需要 customdebugstick.give 权限)。
Survival Debugged
Survival Debugged is a lightweight Bukkit, Paper, and Spigot plugin that brings the power of Minecraft's debug stick to players in survival. Designed for builders and server administrators, this plugin allows users to seamlessly edit the physical properties of blocks—such as rotation, shape, half-states, and open/closed statuses—without needing native Creative mode access or operator permissions.
Plugin made by imNikos.
Follow my socials!
How It Works
Equipped with the custom debug stick, players can interact with any block that contains block states (like stairs, doors, fences, and signs).
Left-Click: Scans the block and cycles through its available properties (e.g., facing, half, waterlogged).
Right-Click: Toggles or cycles through the valid values for the currently selected property.

Core Features
Safe State Calculations: The plugin dynamically calculates valid block states. When you right-click to change a value, the plugin safely tests the new data behind the scenes. It natively supports toggling booleans (true/false), integer ranges (0-30 for ages and rotations), and cycling through a massive built-in dictionary of over 60 complex string states (such as stair shapes, slab types, wall attachments, and note block instruments).
Physics & Neighbor Update Prevention: Modifying blocks with this stick intentionally ignores block physics. This allows builders to achieve "impossible" block states without them instantly breaking or updating—meaning you can edit the top half of a door without it popping off, or force a fence post to disconnect from a neighboring block.
Per-Player Material Memory: The stick features a smart memory system. It tracks the last property a player edited on a per-material basis. If you left-click to select the facing property on an Oak Stair, the next Oak Stair you click will automatically default to facing, saving you from having to cycle through the options all over again.
Clean Action-Bar UI: To prevent chat spam, all interactions are elegantly displayed via the Action Bar. Players receive color-coded notifications when selecting properties (Yellow), successfully changing values (Green), or attempting to modify a block with no states (Red).
Secure Item Tracking: The custom stick is generated using Bukkit's PersistentDataContainer (PDC). This ensures that the debug stick is completely unique and secure—players cannot simply rename a normal stick in an anvil to gain access to these powers.
Simple Commands: Server administrators can grant the item using the /sdebug or /debugstick commands (requires the customdebugstick.give permission).
评论 0
登录后参与评分
还没有评论,来抢沙发吧