如果你不想阅读所有这些内容,你可以直接进入游戏并输入 /function,命令将自动高亮显示。
常见问题解答:
问:如何保护一个区域?
答:使用下面的一条命令即可。它将声明一个半径为30格的范围,并且你可以对每个你想声明的30格半径范围多次使用该命令!同时,取消声明也非常简单。
问:保护是如何工作的?它保护什么?
答:一旦进入受保护的区域,具有破坏能力的生物将被杀死(包括苦力怕、劫掠兽、末影人、末影龙、凋灵、幻翼、监守者)以及它们掉落的物品。
TNT 和矿车 TNT 在受保护区域内将被禁用。
盔甲架、物品展示框和发光物品展示框、画作在受保护区域内会自动设置为无敌状态。当区域被取消声明后,它们会恢复为可破坏状态。
问:如果我安装这个数据包,它会改变我的世界吗?
答:它只会将 sendCommandFeedback 游戏规则设置为 false,以防止聊天中刷屏显示游戏模式更改的消息。除此之外没有其他更改。
问:如果我不再使用这个数据包,保护还会存在吗?
答:是的,但如果你稍后重新安装该数据包,这些保护会被保留下来,除非你运行了 /function area_protection:reset_all。
问:如果我在单人游戏中使用此模组,然后将世界上传到我的服务器,我保护的区域还会受到保护吗?
答:不会,除非你在服务器上安装这个数据包或模组!
此数据包仅使用标签,而不是队伍,因此如果你的世界中启用了队伍功能,该数据包仍然兼容。
使用方法:
只需运行第一个命令来保护一个区域!如果你不想阅读所有这些内容,你可以直接进入游戏并输入 /function,命令将自动高亮显示。
/function area_protection:protect_this ----> 在你周围设置一个半径为30格的球形保护区域。
/function area_protection:reset_this -----> 移除你当前位置周围最多40格范围内的所有已应用保护。
/function area_protection:reset_all ------> 移除你世界中所有的保护(无法撤销)。
/function area_protection:view_protection_borders -----> 允许你通过粒子效果短暂查看你所处区域的球形保护边界。
/function area_protection:get_admin_permission_level ----> 允许你绕过保护。当你处于受保护区域时,你会收到一条通知消息,并且执行此命令后你将进入创造模式。
/function area_protection:get_player_permission_level ------> 重置你的权限至默认值:你不能绕过保护。
希望给某个玩家在所有受保护区域建造物品的权限,但不想给他 OP 权限?只需运行 /execute as "玩家名称" run function area_protection:get_admin_permission_level。他将被设置为创造模式,并能够在所有受保护区域进行建造。
If you don't want to read all this, you can just go in game and do /function, the commands will automatically be highlighted
FAQ:
Q: How to protect an area?
A: With one command that you can find below. It will claim a 30 blocks radius area, and you can use the command as much as you want for each 30 blocks radius you want to claim! It can also easily be unclaimed.
Q: How does the protection work, what does it protect?
A: Once entering a protected area, mobs with griefable abilities will be killed (creeper, ravager, enderman, ender dragon, wither, phantom, warden) along with their loots.
TNT & minecart tnt are disabled in a protected area.
Armor stands, item frames & glowing item frames, painting, are automatically set to invincible in a protected area. They are switching back to destroyable once the area get unclaimed.
Q: Will the datapack change something in my world if I install it?
A: It will only change the gamerule sendCommandFeedback to false to prevent the spam of the gamemode change message in the chat. Nothing else is changed
Q: If I uninstall the datapack, will the protections be gone?
A: Yes, but they will be saved in case you reinstall the datapack later, unless you run /function area_protection:reset_all.
Q: If I use this as a mod in singleplayer and then upload the world on my server, will the areas I protected still be protected?
A: No, unless you install the datapack or the mod on the server!
The datapack only uses tags, not teams, so if your world has teams enabled, the datapack is compatible with it.
How to use:
Simply run the first command to protect an area! If you don't want to read all this, you can just go in game and do /function, the commands will automatically be highlighted
/function area_protection:protect_this ----> Set a 30 blocks spherical protection around you.
/function area_protection:reset_this -----> Remove the protection(s) applied at your position up to 40 blocks around you.
/function area_protection:reset_all ------> Remove all the protections of your world (No undo).
/function area_protection:view_protection_borders -----> Allows you to briefly see with particles the spherical protection of the area you are in.
/function area_protection:get_admin_permission_level ----> Allows you to bypass protection. A message will notify you when you are in a protected area, and you will be set in creative mode when running the command.
/function area_protection:get_player_permission_level ------> Reset your permission to default: You can't bypass protection
Wish to give a player permission to build in every protected area, but not wanting to op him? Just do /execute as "name of the player" run function area_protection:get_admin_permission_level. He will be set in creative mode and will be able to build in every protected area.
评论 0
登录后参与评分
还没有评论,来抢沙发吧