防止冒险模式玩家与某些方块/实体交互。可以在配置文件中为每种类型的方块/实体启用或禁用保护,也可以在游戏中针对特定方块/实体进行设置。
本模组可以完全仅在服务器端使用,但任何想要使用例外工具(见下方“可配置性”)的人也需要在客户端安装。
我为了自己在服务器上的需求而制作了此模组,公开它只是为了让我的玩家更容易获取。该模组仅在 Fabric 1.21.1 上经过测试。
特性
保护
阻止冒险模式玩家执行以下操作:
可配置性
上述所有不同的保护类别都可以使用命令 /adventureprotect protect <block/entity category> <true|false> 或在配置文件中启用/禁用。
本模组还添加了 '例外者' (运行 /adventureprotect exceptionator)——对上方大多数对象执行 shift+右键点击即可为特定的方块/实体添加保护例外。想让你的玩家能够打开特定的箱子/桶/潜影盒?没问题,只需例外化即可!需要他们能够旋转物品展示框中的物品以打开秘密通道?别担心,只需例外化即可!
许可证
CC BY-NC-SA 4.0
Prevents players in adventure mode from interacting with certain blocks/entities. Protection can be enabled/disabled for each type of block/entity in the config, or for specific blocks/entities in-game.
The mod can be used 100% server-side only, but anyone who wants to use the exception tool (see 'Configurability' below) will need it on the client too.
I made this mod for my own needs on my own server, and I'm only making it public to make it easier for my players to get. It's tested only on Fabric 1.21.1.
Features
Protection
Prevents players in Adventure Mode from:
- Opening chests, barrels or shulker boxes
- Stealing flowers from plant pots, or putting new ones in
- Opening/closing trapdoors
- Breaking item frames/glow item frames
- Rotating items in item frames
- Interacting with note blocks or jukeboxes
- Putting items into decorated pots
- Breaking minecraft paintings
- Interacting with brewing stands
- Placing, replacing or removing items on/from armour stands
- Breaking easels from Joy of Painting (XercaPaint)
- Breaking/rotating paintings from JoP that have been placed in the world
- Breaking/rotating/resizing placed photographs from Camerapture
- Interacting with the music box and metronome from Music Maker Mod (XercaMusic), as well as pianos and drum kits placed as blocks
Configurability
All of the different protection categories above can be enabled/disabled using the command /adventureprotect protect <block/entity category> <true|false> as well as in the config file.
The mod also adds 'The Exceptionator' (run /adventureprotect exceptionator) - shift right-click on most of the things above to add protection exceptions to specific blocks/entities. Want your players to be able to open specific chests/barrels/shulker boxes? No problem, just Exceptionate it! Need them to be able to rotate an item in an item frame to open a secret door? No worries, just Exceptionate it!
License
CC BY-NC-SA 4.0
评论 0
登录后参与评分
还没有评论,来抢沙发吧