PetStore 允许玩家和服务器管理员控制可驯服动物的所有权。玩家和服务器管理员可以直接将已驯服动物的所有权转移给其他玩家,标记动物以赠送(先到先得),或通过兼容 Vault 的插件出售动物。
UUID 注意事项
PetStore 大部分符合 UUID 规范。涉及宠物销售和 Vault 的功能尚未更新。
项目范围
PetStore 的唯一目的是提供多种更改驯服动物所有者的方式。PetStore 不提供动物保护功能,需依赖您选择的反破坏插件来防止动物被盗(例如马匹)或死亡。PetStore 也不允许您修改动物或将不可驯服的动物变成宠物。请勿请求此类功能,因为已有许多插件支持这些功能。
命令
所有操作均使用 /petstore 命令执行(别名 /pet)。大多数操作需要在执行命令后右键点击动物。
| 命令 | 效果 |
| /petstore transfer <PlayerName> | 直接将宠物的所有权转移给另一位指定的在线玩家。 |
| /petstore give | 允许所有者标记一只宠物以供赠送。第一位右键点击该动物的玩家将获得所有权。 |
| /petstore sell <Price> | 允许所有者上架宠物进行出售。玩家可以右键点击该动物进行购买。(需要 Vault) |
| /petstore release | 允许所有者将宠物放生到野外。 |
| /petstore tame | 允许玩家瞬间驯服一只动物。 |
| /petstore cancel | 允许所有者取消对动物的赠送或出售状态。 |
| /petstore reload | 从文件中重新加载 yaml 数据。 |
| /petstore save | 强制保存到 yaml 文件。(通常在插件禁用时自动发生) |
权限
| 权限 | 效果 | 默认值 |
| petstore.<command> | 允许访问该命令。包括 transfer、give、sell 和 release。 | true |
| petstore.<command> | 允许访问该命令。包括 tame、reload 和 save。 | op |
| petstore.admin | 拥有此权限的玩家可绕过所有命令的宠物所有权检查。 | op |
| petstore.notifyupdate | 当有 PetStore 更新可用时通知玩家。 | op |
|
以下属于技术权限,但它们始终被上述权限继承,因此无需手动授予。
| 权限 | 效果 | 默认值 |
| petstore.command | 授予玩家使用 PetStore 基础命令的能力。 | false |
| petstore.cancel | 授予玩家使用 PetStore cancel 命令的能力。 | false |
Flags 集成
当安装 Flags 时,PetStore 会自动注册以下标志,使您能够控制 PetStore 操作的使用区域。仅需 Flags.jar 即可实现此功能,Flags 包含的其他模块为可选。
| 标志 | 描述 | 默认值 |
| SellPet | 切换区域内玩家出售宠物的能力。 | true |
| GivePet | 切换区域内玩家赠送宠物的能力。 | true |
| ReleasePet | 切换区域内玩家放生宠物的能力。 | true |
| TransferPet | 切换区域内玩家转移宠物的能力。 | true |
更新检查
PetStore 可以自动检查更新,甚至为您下载并安装它们。若要检查或下载,必须将 Check 设置为 true。如果 download 为 false,当有更新可用时,控制台以及所有拥有 petstore.notifyupdate 权限的玩家将收到通知。如果 download 设置为 true,更新将被下载到临时位置,并在服务器下次重载时自动安装。在下载尚未安装期间,拥有权限的玩家会收到更新就绪的通知。
ServerModsAPIKey 目前为可选项,但如果您希望提供它,可以在此处找到。请勿将此密钥分享给任何人。PetStore 会将其直接上传至 BukkitDev,任何 PetStore 的作者都无法查看该密钥。
Update:
Check: true
Download: false
ServerModsAPIKey: null
Alshain01 的其他优秀插件
HardcoreClaims - Grief Prevention 的扩展插件,当玩家死亡时会移除其领地。
NoMoreZombies - 一款小型插件,用于阻止僵尸生成更多僵尸。
指标数据
PetStore 会向 MCStats.org 报告关于您服务器的非识别性信息。如需了解具体报告了哪些内容以及如果您希望禁用它该如何操作,请查看 常见问题解答。要查看完整的数据集,请点击下方的图表。
源代码
PetStore 是一个受限制的开源项目。通过 GitHub pull requests 提交的经过验证和测试的贡献将受到欢迎,任何贡献都将被视为原许可协议的一部分。
源码仓库
讨论论坛
在寻找评论功能吗?为了为我日益增长的插件列表提供更集中且有效的反馈与支持渠道,我们创建了一个新的 讨论论坛。您甚至不需要注册新账号即可使用!该论坛专门用于 Alshain01 开发的插件及其使用和开发相关的讨论。如有其他问题,请访问 Bukkit 论坛。
PetStore allows players and server operators to control the ownership of tameable animals. Players and server operators can transfer ownership of tamed animals to another player directly, mark an animal to give away (first come, first serve) or sell and animal through a Vault compatible plugin.
UUID Notice
PetStore is mostly UUID compliant. Features pertaining to Pet Sales and Vault have not yet been updated.
Project Scope
PetStore's only purpose is to allow various ways of changing the owner of a tamed animal. PetStore does not offer protection for animals and relies on your choice of anti-grief plugins to prevent animal theft (in the case of horses) or death. PetStore also does not allow you to alter animals or make pets out of non-tameable animals. Please do not request such features, there are plenty of plugins that do this already available.
Commands
All actions are performed using the /petstore command (Alias /pet). Most actions require right clicking an animal after performing the command.
| Command | Effect |
| /petstore transfer <PlayerName> | Directly transfers ownership of a pet to another specified online player. |
| /petstore give | Allows an owner to mark a pet to be given away. The first player to right click the animal gains ownership. |
| /petstore sell <Price> | Allows an owner to put a pet up for sale. A player may right click the animal to purchase. (Requires Vault) |
| /petstore release | Allows an owner to release a pet into the wild. |
| /petstore tame | Allows a player to instantly tame an animal. |
| /petstore cancel | Allows an owner to cancel a give or sell state on an animal. |
| /petstore reload | Reloads the yaml data from files. |
| /petstore save | Forces a save to the yaml files. (Normally occurs on plugin disable). |
Permissions
| Permission | Effect | Default |
| petstore.<command> | Allows access to the command. Includes transfer, give, sell, and release. | true |
| petstore.<command> | Allows access to the command. Includes tame, reload, and save. | op |
| petstore.admin | Players with this permission bypass the pet ownership checks for all commands. | op |
| petstore.notifyupdate | Notifies players when an update to PetStore is available. | op |
|
The following are technical permissions, however they are always inherited by the above permissions and it is never necessary to grant them manually.
| Permission | Effect | Default |
| petstore.command | Grants players the ability to use the PetStore base command. | false |
| petstore.cancel | Grants players the ability to use the PetStore cancel command. | false |
Flags Integration
When Flags is installed, PetStore will automatically register the following flags allowing you to control where PetStore actions may be used. Only Flags.jar is necessary for this functionality, other modules included with Flags are optional.
| Flag | Description | Default |
| SellPet | Toggles players ability to sell pets in the area. | true |
| GivePet | Toggles players ability to give away pets in the area. | true |
| ReleasePet | Toggles players ability to release pets in the area. | true |
| TransferPet | Toggles players ability to transfer pets in the area. | true |
Update Checking
PetStore can automatically check for updates and even download and install them for you. To check or download Check must be set to true. If download is false, the console and all players with the petstore.notifyupdate permission will be notified when an update is available. If download is set to true, the update will be downloaded to a temporary location and installed automatically the next time the server reloads. While the download has not been installed, permitted players will receive notification that the update is ready.
The ServerModsAPIKey is currently optional, however if you wish to provide it you can locate it here. Please to not share this key with anyone. PetStore will upload it directly to BukkitDev and no author of PetStore will be allowed to see it.
Update:
Check: true
Download: false
ServerModsAPIKey: null
Other great plugins by Alshain01
- RocketTeleport - A fun way of transporting players from one place to another.
- HardcoreClaims - Grief Prevention extension that removes a claim when a player dies.
- NoMoreZombies - A small plugin developed to disable zombies spawning more zombies.
Metrics
PetStore reports non-identifying information about your server to MCStats.org. For more information on what is reported and how to disabled it if you would like to, please view the FAQ. To view the full set of data, click the graph below.
Source
PetStore is an open source project with restrictions. Valid and tested contributions will be welcome through GitHub pull requests, any contributions made will be considered part of the original license agreement.
Source Repository
Discussion Forum
Looking for the comments? In order to provide more centralized and effective means of feedback and support for my growing list of plugins, a new Discussion Forum has been created. You don't even need a new account to use it! This forum is exclusively for plugins by Alshain01 and discussion of their use and development. For other concerns, please consult the Bukkit Forums.
评论 0
登录后参与评分
还没有评论,来抢沙发吧