Pacifism

允许玩家开启或关闭他们的PVP。(同时,在指定的时间后启用PVP。)

资源图片
![Dependencies](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/Dependencies.png?raw=true) * [**BukkitOfUtils**](https://modrinth.com/plugin/bukkitofutils) - Centralized utilities and plugin internals. ![Discord](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/JoinTheDiscord.png?raw=true) 请加入 Streamline Hub Discord 以获取更新,并让我能够完全协助您解决 bugs、问题或提出建议。 Discord: [**点击这里**](https://dsc.gg/streamline) ![Summary](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/Summary.png?raw=true) 允许玩家在开启或关闭他们的 PVP。 (也启用 PVP 在指定的时间延迟后)。 ![Why This?](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/WhyThis.png?raw=true) Pacifism 提供简洁的同时,仍然给予你的服务器所需的功能。 ![How to Install](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/HowToInstall.png?raw=true) 1. 下载并安装 BukkitOfUtils。 此处找到: [BukkitOfUtils](https://modrinth.com/plugin/bukkitofutils) 2. 下载适用于您的服务器版本的此插件。 3. 放置在您的 `plugins` 文件夹中。 4. 停止服务器。 5. 启动服务器。 6. 按照您的喜好使用它。 ![More Info](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/MoreInfo.png?raw=true) ## 如何切换您的 PVP 1. 安装插件。 (如上所示。) 2. `/tpvp` ## 功能 * 禁用 PVP 互动: * 直接 (近战)。 * 投射物。 * 在指定半径内的爆炸。 * 方块爆炸。 * 床。 * 火药方块。 * 传送方块。 * 其他。 * 由 Bukkit `Material` 可配置。 * 实体爆炸。 * 火药矿车。 * 点燃的火药方块。 * 末影水晶。 * 其他。 * 由 Bukkit `EntityType` 可配置。 * 可配置的缓冲期。 * `x` 滴 (20 滴 = 1 秒) 直到 PVP 自动禁用或启用(可配置)。 * 通过 FireStrings(通过 BukkitOfUtils)或作为控制台运行的命令配置倒计时消息。 * 可配置缓冲期结束消息。 * 使用命令设置玩家的缓冲期。 ## 占位符 API 支持 查看我的 wiki 上的占位符:[**点击这里**](https://wiki.plas.host/pacifism#placeholders) ![Commands and Permissions](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/CommandsAndPermissions.png?raw=true) ## 命令 ### 定义 * `` - "required" (字面意义) 是命令运行所必需的。 * `(optional)` - "optional" (字面意义) 是可选的命令运行。 * `"thing"` - thing 非字面意义;意味着你指定 something 表述 "thing" 的东西。例如一个世界名称,或玩家名称。 ### 插件命令 * `/tpvp` * `/tpvp ("player") (-f)` * 为某个玩家或你自己切换 PVP。 * 使用 `-f` 强制切换;意味着它将绕过冷却时间。 * `/spvp` * `/spvp ("player") (-f)` * 将 PVP 设置为某个玩家或你自己的开启/关闭。 * 使用 `-f` 强制设置;意味着它将绕过冷却时间。 * `/worldwhitelist` * `/worldwhitelist ` * 将白名单设置为 **whitelist**(白名单中的世界是 Pacifism 起作用的唯一世界)或 **blacklist**(白名单中的世界从 Pacifism 起作用中排除)。 * `/worldwhitelist ["world"]` * 将世界添加到白名单/黑名单。 * `/worldwhitelist ` * 列出当前在白名单/黑名单中的所有世界。 * `/setgracetime` * `/setgracetime <"ticks"> ["player"]` * 为某个玩家或你自己设置缓冲期为 ticks。 ## 权限 - `pacifism.command.togglepvp` - 允许运行命令 `/tpvp`。 - `pacifism.command.setpvp` - 允许运行命令 `/spvp`。 - `pacifism.command.worldwhitelist` - 允许运行命令 `/worldwhitelist`。 - `pacifism.command.setgracetime` - 允许运行命令 `/setgracetime`。 - `pacifism.others.toggle` - 允许切换其他玩家的 PVP。 - `pacifism.others.set` - 允许设置其他玩家的 PVP 为开启或关闭。 - `pacifism.others.gracetime` - 允许设置其他玩家的缓冲期。 - `pacifism.force` - 允许强制切换或设置 PVP (绕过冷却时间)。