
在 M.O.S.S. Discord 获取此插件的支持!
全新文档网站: espidev.gitbook.io/protectionstones
警告: ProtectionStones 仅支持 1.21.10+!请查看下方以获取旧版 Minecraft 的版本信息。
是否曾需要一个简单且强大的方法来防止破坏并保护特定区域?
此插件允许玩家通过放置一个方块来保护土地。它会在放置方块的周围创建一个设定半径(可配置)的 WorldGuard 区域。该插件还允许玩家将人员添加到区域或从中移除,以及设置标志(在配置文件中定义)。
要求:
WorldGuard 7+
WorldEdit 7+
Vault(可选)
PlaceholderAPI(可选)
Spigot 1.21.10+
1.20.6 - 1.21.9(不再维护):
请使用 v2.10.5。
1.17 - 1.20.5(不再维护):
请使用 v2.10.4。
1.13 - 1.16(不再维护):
请使用 v2.8.5。
1.8 - 1.12(不再维护):
我曾将 ProtectionStones 的一个版本向后移植到 1.13,但我为此版本不提供支持或更新:
安装
确保您首先具备上述要求。
只需将插件添加到 plugins 文件夹中,它将生成默认配置文件。
默认情况下,不会向玩家授予任何权限,因此您需要显式地添加它们。
添加新方块:
要添加新的保护方块,请进入 plugins/ProtectionStones/blocks,复制并粘贴默认的 block1.toml 文件并重命名(例如 block2.toml)。然后,您必须更改新方块配置文件中的 "type" 和 "alias" 字段,因为不能存在重复项。
配置标志:
标志允许自定义区域行为。ProtectionStones 使用 WorldGuard 标志,这意味着实际上是由 WorldGuard 进行保护,而不是 ProtectionStones。您可以在此处查看 WorldGuard 标志列表。
也可以使用其他为 WorldGuard 添加标志的插件(如 WorldGuard Extra Flags)并在 ProtectionStones 中使用它们。
其他建议:
WorldGuard 默认会阻止漏斗在不同区域之间移动,并阻止漏斗矿车工作。我建议将 WorldGuard 配置文件中的 "ignore-hopper-item-move-events" 设置为 true 以解决此问题。
如果您想防止水和熔岩流入区域,可以将 WorldGuard 配置文件中的 "high-frequency-flags" 和 "protect-against-liquid-flow" 设置为 true。
在此处查看 WorldGuard 配置文件。
默认配置文件:
在此处查看默认配置文件。
翻译:
在此处查看用户贡献的翻译。
如果您希望为页面贡献您的翻译,请在 Discord 上联系我,或提交 GitHub Issue!谢谢!
用法
使用 /ps get 命令获取保护方块。只需将其放置即可创建以该方块为中心的保护区域。破坏该方块将移除该区域。
权限:
在此处查看权限列表。
在此处查看推荐用于命令的权限。
命令:
在此处查看命令列表。
占位符:
ProtectionStones 支持 PlaceholderAPI!在此处查看它们。
常见问题解答 (FAQ)
在此处查看 FAQ。
使用情况统计:
此插件基于原始的 ProtectionStones。
从旧版 ProtectionStones (<2.x.x) 迁移
从旧版本的过渡应该是无缝的,只需将插件拖入 plugins 文件夹即可享受!插件会自动更新您的配置文件和区域。
您可以在这里找到原始插件:
图形由 Seshpenguin 制作,感谢!

Get support for this plugin on the M.O.S.S. Discord!
New documentation site: espidev.gitbook.io/protectionstones
Warning: ProtectionStones only supports 1.21.10+! Please check below for versions for older versions of Minecraft.
Ever needed an easy, yet powerful way to prevent grief, and protect a certain area?
This plugin allows players to protect land using a block that they place down. It creates a WorldGuard region at a set radius (configurable) around where the block is placed. The plugin also allows players to add and remove people to the region, as well as set flags (defined in the config).
Requirements:
WorldGuard 7+
WorldEdit 7+
Vault (Optional)
PlaceholderAPI (Optional)
Spigot 1.21.10+
1.20.6 - 1.21.9 (NOT MAINTAINED):
Use v2.10.5.
1.17 - 1.20.5 (NOT MAINTAINED):
Use v2.10.4.
1.13 - 1.16 (NOT MAINTAINED):
Use v2.8.5.
1.8 - 1.12 (NOT MAINTAINED):
I did port one version of ProtectionStones backwards, but I do not provide support or updates for this version:
Installation
Make sure you first have the requirements listed above.
Simply add the plugin to the plugins folder, and it will generate the default configuration.
By default, no permissions are given to players, so you have to add them explicitly.
Adding new blocks:
To add new protection blocks, go into plugins/ProtectionStones/blocks, and copy and paste the default block1.toml file and rename it (ex. block2.toml). Then, you have to change the "type" and "alias" fields in the new block config, since there cannot be duplicates.
Configuring flags:
Flags allow for customization of region behaviour. ProtectionStones uses WorldGuard flags, meaning that WorldGuard is actually doing the protecting, not ProtectionStones. You can view the list of WorldGuard flags here.
It is also possible to use other plugins that add flags to WorldGuard, such as WorldGuard Extra Flags and use them in ProtectionStones.
Other Recommendations:
WorldGuard by default prevents hoppers from going between regions, and prevents hopper minecarts from working. I recommend setting "ignore-hopper-item-move-events" in WorldGuard's config to true to fix this.
If you want to protect against water and lava flow into regions, you can set "high-frequency-flags" and "protect-against-liquid-flow" to true in WorldGuard's config.
View the WorldGuard config here.
Default Config Files:
View the default configuration here.
Translations:
View user contributed translations here.
Contact me on the Discord, or file a GitHub issue if you would like to contribute your translation to the page! Thank you!
Usage
Get a protection block with the /ps get command. Simply placing it down will create a protection region centered around the block. Breaking the block will remove the region.
Permissions:
View the permission list here.
View the recommended permissions to give for commands here.
Commands:
View the list of commands here.
Placeholders:
ProtectionStones has support for PlaceholderAPI! View them here.
FAQ
View the FAQ here.
Usage Statistics:
This plugin is based off of the original ProtectionStones.
Migrating from older versions of ProtectionStones (<2.x.x)
The transition from older versions should be seamless, so just drag the plugin in to the plugins folder and enjoy! The plugin will automatically update your configs and regions.
You can find the original plugin here:
Graphics were made by Seshpenguin, thank you!
评论 0
登录后参与评分
还没有评论,来抢沙发吧