SimpleEgg - 免费开源的生物捕捉工具
该项目已不再积极维护。
简介
SimpleEgg 是 MobCatcher 的另一种变体。其利用鸡蛋捕捉生物的核心原理相同,但 SimpleEgg 拥有自身独特的优势。
- 基于 MIT 许可证开源
- 不依赖 NMS(可在多个服务器版本间通用)
- 尽可能生成与被捕捉生物完全一致的复制品
- 保存的生物数据可查看于刷怪蛋的物品描述中
使用 SimpleEgg
基础操作
要捕捉生物,向其投掷一个鸡蛋即可。SimpleEgg 会根据配置从你身上扣除货币或物品。默认情况下,这需要消耗五个钻石,但可以修改为任意物品和数量,或者切换到 Vault 模式并使用货币支付。如果你拥有所需的材料或金钱,它们将被扣除,生物会消失,并在原处掉落一枚刷怪蛋。
刷怪蛋是什么
掉落的刷怪蛋是一个标准的刷怪蛋,附带了包含该生物所有属性的描述文本。当你使用此刷怪蛋时,SimpleEgg 会读取描述并修改生成的生物,使其成为你最初捕捉到的生物的近乎完美的克隆体。Bukkit/Spigot 在处理生物数据方面存在的一些问题将在页面下方进一步说明。
所有者识别
SimpleEgg 能够识别可驯服生物。玩家必须拥有以下两个权限节点之一:“SimpleEgg.owner-override” 或 “SimpleEgg.steal”,才能捕捉其他玩家拥有的已被驯服的生物。关于这些权限节点的更详细说明,请参阅 命令与权限 页面。
自动驯服
如果生物未被驯服,拥有 “SimpleEgg.auto-tame” 权限节点的玩家不仅可以捕捉该生物,还能在捕捉的同时自动将其驯服。
鸡蛋退款
如果捕捉尝试因 SimpleEgg 能检测到的某些原因而失败,则有一个用于鸡蛋退款的配置设置。启用此设置(true)后,如果玩家的捕捉尝试失败,他们将获得鸡蛋退款。请注意,无论何种情况,创造模式下均禁止退款,以防止鸡蛋重复生成。
命令与权限
有关 SimpleEgg 的命令和权限,请参阅 命令与权限 页面。
配置
如果您对配置设置有任何疑问,请参阅 SimpleEgg 配置指南。配置文件会自动更新,这非常棒,但作为副作用,不支持注释,因此本页将解释您需要了解的所有内容。
可能的插件兼容性问题
- SimpleEgg 将其存储的生物数据保存在它生成的刷怪蛋中。如果您有其他允许编辑物品描述的插件,请注意 SimpleEgg 刷怪蛋中的生物数据可能会被篡改。
- SimpleEgg 会尊重原版 Minecraft 所认可的所有者。任何人工的、由插件生成的所有权都无法被检测,因此也无法得到尊重。
已知问题
- Spigot 对村民职业的支持并不完整;部分 Spigot 职业类型会覆盖两个原版职业。虽然可能通过 NBT 解决,但这会破坏兼容性。
- 附魔相关的村民交易会导致附魔损坏。正在调查此问题。
更新推送
SimpleEgg 使用 Gravity 的更新器来检查并通知新版本。该功能与 Curse 通信,仅检查是否有更新的构建版本,不会自动下载更新。如果有可用的新构建版本,SimpleEgg 会在服务器启动时在控制台中提示,拥有 "SimpleEgg.update-notify" 权限的玩家在加入时会收到消息。可以通过配置项 "update-checks" 禁用此功能。
SimpleEgg - The Free, Open Source Mob Catching Utility
This project is no longer actively maintained.
Introduction
SimpleEgg is a different flavor of MobCatcher. The core principle of capturing mobs with eggs is the same, but SimpleEgg has its own badges of honor.
- Open Source Under MIT License
- No NMS Dependence (Works across multiple server versions)
- Produces to the fullest extent possible exact carbon copies of the captured mobs
- Saved mob data is viewable in the spawn egg's item lore
Using SimpleEgg
The Basics
To capture a mob, throw an egg at it. SimpleEgg will either remove currency or items from you, depending on how it is configured. By default, this is five diamonds, however this can be modified to any item and amount, or switched over to Vault mode and currency used instead. If you have the required materials or money, they will be removed, the mob will vanish, and a spawn egg will drop where the mob was.
What the Spawn Egg is
The spawn egg that drops is a standard spawn egg with lore assigned to it that contains all of that mob's properties. When you use this spawn egg, SimpleEgg will read the lore and modify the spawned mob so that it is a near exact clone of the one you originally captured. Some issues that Bukkit/Spigot has with mob data are explained further down the page.
Owner Recognition
SimpleEgg is conscious of tameable mobs. A player is required to have one of two permission nodes, "SimpleEgg.owner-override", or "SimpleEgg.steal" to be able to capture a tamed mob owned by another player. A more in depth explanation of these permission nodes is on the Commands and Permissions page.
Automatic Taming
If a mob is not tamed, players who have the "SimpleEgg.auto-tame" permission node can not only capture the mob, but automatically tame it by doing so.
Egg Refunds
If a capture attempt fails for some reason that SimpleEgg can detect, there is a config setting for egg refunds. When enabled (true), a player will be refunded their egg if their capture attempt fails. Note that refunds are blocked no matter what in creative, to prevent egg duping.
Commands and Permissions
See the SimpleEgg commands and permissions on the Commands and Permissions page.
Configuration
See the SimpleEgg configuration guide if you have any questions about the configuration settings. The configuration file automatically updates itself, which is super cool, but as a consequence comments are not supported, and this page will instead explain all you need to know.
Possible Plugin Compatibility Issues
- SimpleEgg stores mob data in the spawn eggs it produces. If you have another plugin that allows item lore editing, be aware that the mob data of SimpleEgg spawn eggs can be tampered with.
- SimpleEgg will respect mob owners that vanilla Minecraft respects. Any artificial, plugin generated ownership cannot be detected, and hence cannot be respected.
Known Issues
- Villager professions are not fully supported by Spigot; some Spigot profession types blanket over two vanilla professions. May be solvable with NBT but that breaks compatibility.
- Villager trades with enchants will have enchants ruined. Looking into this.
Update Delivery
SimpleEgg uses Gravity's updater to check and notify for new versions. This communicates with Curse, simply checking for a newer build and does not download updates automatically. If a new build is available, SimpleEgg will say so in your server's console at startup and players with the "SimpleEgg.update-notify" permission will receive a message upon joining. This can be disabled with the config setting "update-checks".
评论 0
登录后参与评分
还没有评论,来抢沙发吧