ChunkingHopper
ChunkingHopper 是一款 Spigot/Paper 插件,主要提供能够在其范围内拾取物品的区块收集器。
该插件支持 Minecraft 1.21,并在 Paper 1.21.10 上经过测试。
功能
收集器机制
- 可升级: 收集器可以升级以增加其收集范围。插件使用 PlayerPoints 作为货币。
- 过滤: 每个收集器都有可配置的物品过滤器,可以设置为白名单或黑名单模式。
- 范围可视化: 启用收集器范围可视化以识别它将收集物品的区域。
- 存储链接: 收集器必须通过存储链接工具链接到存储容器才能发挥作用。
- 命名: 可以为收集器指定自定义名称以便更好地组织管理。
- 红石敏感性: 可以启用收集器的红石敏感性,在这种情况下,它们仅在未接收到信号时才会拾取物品。
管理和菜单
- 易于管理: 可以使用
/chh manage 命令在分页菜单中查看所有拥有的收集器。
- 实时统计: 实时查看存储链接状态、位置、容器满载程度以及收集器的拾取速率。
- 远程访问: 从管理菜单中,您可以打开收集器的主菜单进行管理,或在拥有传送权限的情况下传送到它那里。
- 满载指示器: 当存储空间满时,管理菜单中的收集器图标会发生视觉变化。
- 控制访问: 您可以通过信任命令授予或撤销玩家对您收集器的访问权限。
性能
- 优化扫描: 使用内存索引和基于区块的物品扫描,最大限度地减少对性能的影响。
命令与权限
命令
| 命令 |
描述 |
/chh |
通用命令别名。 |
/chh give <item> <player> <amount> |
向特定玩家给予收集器物品。 |
/chh manage [player] |
打开收集器管理菜单。 |
/chh reload |
重新加载配置文件。 |
/chh repair |
尝试修复玩家当前区块中损坏的收集器。 |
/chh trust <player|reset> <allow|deny> |
管理玩家对您收集器的访问权限。 |
权限
| 权限 |
描述 |
chunkinghopper.manage |
访问管理命令。 |
chunkinghopper.manage_others |
管理其他玩家的收集器。 |
chunkinghopper.give |
访问给予命令。 |
chunkinghopper.reload |
访问重载命令。 |
chunkinghopper.teleport |
允许通过管理菜单传送到收集器。 |
chunkinghopper.max_collectors.<amount> |
限制玩家可以放置的收集器数量(使用 unlimited 表示无限制)。 |
chunkinghopper.repair |
访问区块修复命令。 |
chunkinghopper.manage_trust |
访问信任命令。 |
设置与配置
首次启动时,插件会生成 config.yml 和 messages.yml。
- 数据库: 您必须在配置文件中提供有效的数据库凭据,插件才能正常工作。
- 性能: 扫描刻度和可视化间隔刻度设置会显著影响性能;请谨慎调整这些值。
- 本地化: 所有消息和菜单均支持 MiniMessage 语法,可以在
messages.yml 中进行修改。
集成
RoseStacker
无需额外设置即可支持 RoseStacker。插件将自动检测 RoseStacker 并准确处理堆叠物品和生物掉落物。
WorldGuard
如果服务器上安装了 WorldGuard,插件将添加一个新的标志 chunkinghopper-access,您可以使用它来限制在某个区域内访问和链接收集器。此插件不会检查 WorldGuard 特定的放置或破坏方块权限;这留给现有的 WorldGuard 权限处理。
Superior Skyblock 2
如果您使用的是 Superior Skyblock 2,则需要进行少量设置。默认情况下,玩家需要向其他岛屿成员或拥有 ChunkingHopper 岛屿特权的玩家开放访问权限。并且跨岛屿禁止将收集器链接到存储容器。请参阅插件 Github 仓库以获取设置详情。
欢迎在 Github 上请求功能或集成,此插件最初是为 ElysiumMC 服务器创建的,因此尚未考虑其他集成。
API
ChunkingHopper 为开发者提供了一个小型 API。请参阅插件 Github 仓库。
ChunkingHopper
ChunkingHopper is a Spigot/Paper plugin that primarily provides chunk collectors that pick up items within
its range.
This plugin supports Minecraft 1.21 and is tested on Paper 1.21.10.
Features
Collector Mechanics
- Upgradable: Collectors can be upgraded to increase its collection range. The plugin uses PlayerPoints
for currency.
- Filtering: Each collector has a configurable item filter which can be set to whitelist or blacklist items.
- Range Visualisation: Enable collector range visualisation to identify the area it'll collect items from.
- Storage Linking: Collectors to function must be linked to a storage container, using the storage linking tool.
- Naming: Collectors can be given custom names for better organisation.
- Redstone Sensitivity: Collectors can have redstone sensitivity enabled, in which case they will only pick up items
when they do not have a signal.
Management and Menus
- Easy Management: The
/chh manage command can be used to view all the collectors you own in a paginated menu.
- Live Stats: View storage link status, location, container fullness and collector pickup rates in real-time.
- Remote Access: From the Management menu, you can open a collector's main menu to manage or teleport to it with the teleport permission.
- Fullness Indicator: The collector icon visually changes in the manage menu when storage is full.
- Control Access: You can grant or revoke players access to your collectors via the trust command.
Performance
- Optimized Scanning: Uses an in-memory index and chunk-based item scanning to minimize impact on performance..
Commands & Permissions
Commands
| Command |
Description |
/chh |
General command alias. |
/chh give <item> <player> <amount> |
Gives collector items to a specific player. |
/chh manage [player] |
Opens the collector management menu. |
/chh reload |
Reloads the configuration files. |
/chh repair |
Attempts to repair broken collectors in the player's current chunk. |
/chh trust <player|reset> <allow|deny> |
Manages player access to your collectors. |
Permissions
| Permission |
Description |
chunkinghopper.manage |
Access the management command. |
chunkinghopper.manage_others |
Manage collectors belonging to other players. |
chunkinghopper.give |
Access the give command. |
chunkinghopper.reload |
Access the reload command. |
chunkinghopper.teleport |
Allows teleporting to collectors via the management menu. |
chunkinghopper.max_collectors.<amount> |
Limits the number of collectors a player can place (use unlimited for no limit). |
chunkinghopper.repair |
Access the chunk repair command. |
chunkinghopper.manage_trust |
Access the trust command. |
Setup & Configuration
Upon the first launch, the plugin generates config.yml and messages.yml.
- Database: You must provide valid database credentials in the config for the plugin to function.
- Performance: The scanner tick and visualisation interval tick settings significantly impact performance; adjust these values with caution.
- Localization: All messages and menus support MiniMessage syntax and can be modified in
messages.yml.
Integrations
RoseStacker
No additional setup is required for RoseStacker support. The plugin will detect RoseStacker automatically and accurately process stacked items and mob drops.
WorldGuard
If WorldGuard is installed on your server, the plugin will add a new flag chunkinghopper-access which you can use to restrict accessing and linking collectors in a region. This plugin does not check WorldGuard-specific permissions for placing or breaking blocks; that is left to the existing WorldGuard permissions.
Superior Skyblock 2
Minor setup is required if you are using Superior Skyblock 2, by default, players will need to give access to other island members or players with the ChunkingHopper island privilege. And linking a collector to a storage container is prevented across islands. See plugin Github repository for setup details.
Feel free to request features or integrations on Github, this plugin was initially created for the ElysiumMC server, as such other integrations have not been considered.
API
ChunkingHopper has a small API for developers. See plugin Github repository.
评论 0
登录后参与评分
还没有评论,来抢沙发吧