ScriptedSMPHelper 录制模式
Paper 1.21 插件功能,用于受控的录制会话。
命令
/recording start 开启录制模式。
/recording stop 关闭录制模式。
/recording toggle 切换当前模式。
/recording status 显示当前模式和绕过计数。
/recording bypass <player> [on|off|toggle] 管理玩家的持久化绕过状态。
/recording bypasslist 显示已配置的绕过玩家名称列表。
/recording freeze <player> [allowLooking:true|false] 冻结一名玩家。当 allowLooking 为 true 时,他们仍可旋转视角。
/recording unfreeze <player> 解冻一名玩家。
/recording border center <x> <y> <z> 设置录制区域的中心坐标。
/recording border set <radius> 设置录制区域的半径。
/recording border active <true|false> 同时切换边界激活状态。
/border active <true|false> 切换边界的激活状态。
/recording reload 重新加载 config.yml 和 data.yml。
/recordingreload 同样重新加载 config.yml 和 data.yml。
玩家需要 ScriptedSMPHelper.recording.admin 权限才能使用这些命令。管理员默认拥有此权限。
默认行为
当录制模式开启时:
- 聊天消息被屏蔽。
- 只有列入
recording.block-breaking.allowed-materials 的方块可以被破坏。
- 只有列入
recording.block-placing.allowed-materials 的方块可以被放置。
- 末影箱、所有潜影盒、水桶和熔岩桶的放置默认允许。
- 护甲锁定功能可选择性地阻止装备或卸下护甲。
- 死亡惩罚可以播放可配置的声音,然后将死亡玩家踢出服务器或封禁。
- PvP 默认开启。
当录制模式关闭时:
管理员自动绕过录制限制。你也可以通过赋予玩家 ScriptedSMPHelper.recording.bypass 权限,或使用 /recording bypass <player> 命令来添加玩家。死亡惩罚会忽略这些绕过权限。
即使正常非录制期间的 PvP 已禁用,拥有绕过权限的攻击者仍可在录制区域外进行 PvP。
拥有绕过权限的玩家可以在录制区域外漫游;没有绕过权限的玩家会被限制在半径范围内。
如果死亡惩罚设置为 BAN,玩家仅在当前录制会话期间被封禁。
执行 /recording stop 会自动解除由本插件在该会话期间封禁的玩家。
文件
config.yml 控制所有开关、允许的材料、绕过行为、消息、护甲锁定以及 PvP 行为。
data.yml 会自动创建,并存储当前的录制状态和绕过玩家列表。
请在配置文件中使用的 Bukkit/Paper 材质名称,例如 COBWEB、OAK_WOOD、WATER_BUCKET 和 LAVA_BUCKET。
ScriptedSMPHelper Recording Mode
Paper 1.21 plugin features for controlled recording sessions.
Commands
/recording start turns recording mode on.
/recording stop turns recording mode off.
/recording toggle switches the current mode.
/recording status shows the current mode and bypass count.
/recording bypass <player> [on|off|toggle] manages a persistent player bypass.
/recording bypasslist shows configured bypass names.
/recording freeze <player> [allowLooking:true|false] freezes a player. When allowLooking is true, they can still rotate their camera.
/recording unfreeze <player> unfreezes a player.
/recording border center <x> <y> <z> sets the recording border center.
/recording border set <radius> sets the recording border radius.
/recording border active <true|false> also toggles the border.
/border active <true|false> toggles the border active state.
/recording reload reloads config.yml and data.yml.
/recordingreload also reloads config.yml and data.yml.
Players need ScriptedSMPHelper.recording.admin for the command. Operators have this by default.
Default Behavior
When recording mode is on:
- Chat messages are blocked.
- Blocks can only be broken if they are listed in
recording.block-breaking.allowed-materials.
- Blocks can only be placed if they are listed in
recording.block-placing.allowed-materials.
- Ender chests, all shulker boxes, water, and lava bucket placement are allowed by default.
- Armor lock can optionally prevent equipping or removing armor.
- Death punishment can play a configurable sound, then kick or ban the dead player.
- PvP is enabled by default.
When recording mode is off:
- Recording restrictions are disabled.
- PvP is disabled by default.
Operators bypass recording restrictions automatically. You can also give a player the
ScriptedSMPHelper.recording.bypass permission, or add them with /recording bypass <player>.
Death punishment ignores those bypasses.
Bypassed attackers can PvP outside recordings even while normal outside-recording PvP is disabled.
Bypassed players can wander outside the recording border; non-bypass players are held inside the radius.
If death punishment is set to BAN, the player is banned only for the active recording session.
/recording stop automatically unbans players that were banned by this plugin during that session.
Files
config.yml controls all toggles, allowed materials, bypass behavior, messages, armor lock, and PvP behavior.
data.yml is created automatically and stores the current recording state and bypass list.
Use Bukkit/Paper material names in config, such as COBWEB, OAK_WOOD, WATER_BUCKET, and LAVA_BUCKET.
评论 0
登录后参与评分
还没有评论,来抢沙发吧