EntranceControl
EntranceControl 是一个插件,允许玩家创建一组入口(包括门、陷阱门和栅栏门),并对其进行锁定、同步和保护。
功能
- 轻松选择入口。
- 为每个选择的入口提供模块化的锁定、同步和保护设置。
- 高度可配置。
- 支持 Folia。
- 集成 WorldGuard。
命令与权限
| 命令 |
描述 |
权限 |
/entrancecontrol |
插件的基础命令。 |
entrancecontrol.base |
/entrancecontrol lock [SelectionID] |
开始选择一个入口组。 |
entrancecontrol.lock |
/entrancecontrol manager |
打开入口组管理菜单。 |
entrancecontrol.manager |
/entrancecontrol open <SelectionID> |
打开指定入口组中的所有入口。 |
entrancecontrol.open |
/entrancecontrol close <SelectionID> |
关闭指定入口组中的所有入口。 |
entrancecontrol.close |
/entrancecontrol identify |
开始识别一个入口组。 |
entrancecontrol.identify |
/entrancecontrol delete <Player> <SelectionID> |
从指定玩家处删除指定的入口组。 |
entrancecontrol.delete |
/entrancecontrol reload |
重新加载插件的配置。 |
entrancecontrol.reload |
/entrancecontrol help |
显示插件的命令列表。 |
entrancecontrol.help |
|
允许玩家在不属于成员的情况下打开锁定的入口组。 |
entrancecontrol.bypass.lock |
|
允许玩家在不属于成员的情况下破坏入口组。 |
entrancecontrol.bypass.protection |
配置
| 配置项 |
描述 |
示例 |
| world-blacklist |
EntranceControl 将处理动作的世界列表。 |
world-blacklist: - world_the_end |
| region-blacklist |
EntranceControl 将处理动作的 WorldGuard 区域列表。 |
region-blacklist: - region1 - region2 |
| maximum-entrance-selection-amount |
玩家可拥有的入口组数量的权限和默认设置。 |
maximum-entrance-selection-amount: permission: entrancecontrol.maximum_entrance_selections. default: 10 |
| maximum-selected-entrances |
玩家在单个入口组中可选择的最大入口数量的权限和默认设置。 |
maximum-selected-entrances: permission: entrancecontrol.maximum_selected_entrances. default: 4 |
| maximum-selection-distance |
单个入口组中所有入口之间允许的最大距离的权限和默认设置。 |
maximum-selection-distance: permission: entrancecontrol.maximum_selection_distance. default: 20 |
| break-protection |
插件是否应保护入口组免受破坏。 |
break-protection: true |
插件的消息、声音和粒子效果也可配置。有关如何配置这些内容的说明,请参阅 PenPenLib 指南。
依赖项
软依赖项
安装
- 下载最新的 PenPenLib 和 EntranceControl JAR 文件。
- 将 JAR 文件放入 Spigot/Paper 服务器的
plugins 文件夹中。
- 重启服务器。
兼容性
EntranceControl 兼容 Minecraft 1.19.4 及更高版本。目前不计划兼容更早的版本,因为 Folia 支持的最早版本是 1.19.4。
贡献
欢迎为 EntranceControl 做出贡献!如果您遇到任何问题或有改进建议,请在 GitHub 仓库上提交 Issue。若要贡献代码:
- Fork 该仓库。
- 为您的功能/修复创建一个新分支。
- 提交您的更改。
- 提交 Pull Request 并将我指定为审查者。
许可证
EntranceControl 根据 MIT 许可证 授权。
EntranceControl
EntranceControl is a plugin that allows players to create a selection of entrances (doors, trapdoors and fence gates) to
lock, sync and protect them.
Features
- Easy selection of entrances.
- Modular settings for lock, sync and protect each selection.
- Highly configurable.
- Folia support.
- WorldGuard integration.
Commands and Permissions
| Command |
Description |
Permission |
/entrancecontrol |
Base command of the plugin. |
entrancecontrol.base |
/entrancecontrol lock [SelectionID] |
Starts an entrance selection. |
entrancecontrol.lock |
/entrancecontrol manager |
Opens the entrance selection manager menu. |
entrancecontrol.manager |
/entrancecontrol open <SelectionID> |
Opens all the entrances of the specified entrance selection. |
entrancecontrol.open |
/entrancecontrol close <SelectionID> |
Closes all the entrances of the specified entrance selection. |
entrancecontrol.close |
/entrancecontrol identify |
Starts an entrance selection identification session. |
entrancecontrol.identify |
/entrancecontrol delete <Player> <SelectionID> |
Deletes the specified entrance selection from the indicated player. |
entrancecontrol.delete |
/entrancecontrol reload |
Reloads the configurations of the plugin. |
entrancecontrol.reload |
/entrancecontrol help |
Displays a list of the commands of the plugin. |
entrancecontrol.help |
|
Allows players to open locked entrance selections without being members of them. |
entrancecontrol.bypass.lock |
|
Allows players to break entrance selections without being members of them. |
entrancecontrol.bypass.protection |
Configurations
| Configuration |
Description |
Example |
| world-blacklist |
List of worlds EntranceControl will handle actions in. |
world-blacklist: - world_the_end |
| region-blacklist |
List of WorldGuard regions EntranceControl will handle actions in. |
region-blacklist: - region1 - region2 |
| maximum-entrance-selection-amount |
Permission and default settings for the amount of entrance selections players can have. |
maximum-entrance-selection-amount: permission: entrancecontrol.maximum_entrance_selections. default: 10 |
| maximum-selected-entrances |
Permission and default settings for the amount of entrances players can select in an entrance selection. |
maximum-selected-entrances: permission: entrancecontrol.maximum_selected_entrances. default: 4 |
| maximum-selection-distance |
Permission and default settings for the maximum allowed distance between all entrances in an entrance selection. |
maximum-selection-distance: permission: entrancecontrol.maximum_selection_distance. default: 20 |
| break-protection |
Whether the plugin should protect entrance selections from griefing. |
break-protection: true |
Messages, sounds and particles from the plugin are also configurable. For instructions for how to configure this,
check the PenPenLib guide.
Dependencies
Soft Dependencies
- WorldGuard: Used to check for blacklisted search regions.
Installation
- Download the latest version of PenPenLib and EntranceControl JAR files.
- Drop the JAR files into the
plugins folder of your Spigot/Paper server.
- Restart the server.
Compatibility
EntranceControl is compatible with Minecraft versions 1.19.4 and later. Compatibility with older versions is not
currently
planned, as Folia's oldest supported version is 1.19.4.
Contributing
Contributions to EntranceControl are welcome! If you encounter any issues or have suggestions for improvements, please
open
an issue on the GitHub repository. To contribute code:
- Fork the repository.
- Create a new branch for your feature/fix.
- Commit your changes.
- Open a pull request and assign me as the reviewer.
License
EntranceControl is licensed under the MIT License.
评论 0
登录后参与评分
还没有评论,来抢沙发吧