MCPets
MCPets 允许玩家驯养幼年动物作为宠物,为其命名,并让它们跟随玩家移动。
安装
采用拖拽式安装,只需将 jar 文件放入服务器的 plugins 文件夹中,然后重启/重载服务器(建议重启)。接着查看配置文件,根据需要修改一些数值。请勿随意更改 Pets.yml 文件,因为它包含了关于宠物的所有关键信息。如果修改了它,你所有的宠物可能会全部被释放 D:
用法
玩家可以右键点击幼年动物进行选择,然后使用相关命令。已被驯养的幼年动物会跟随主人移动,除非处于坐下模式。
命令
/pet tame: 驯养选中的幼年动物,使其成为你的宠物
/pet setname <name>: 为选中的宠物指定名称。(仅当该宠物属于你时可用)
/pet release: 释放选中的幼年动物(仅当该宠物属于你时可用)
/pet sit: 切换选中幼年动物的“坐下”模式。处于坐下模式的宠物不会移动。(仅当该宠物属于你时可用)
配置
我计划将此项目设置为具有非常基础的配置,仅提供少量选项。目前我只想到了一个适用的选项,如下所示:
#将其设置为 false 以允许玩家击杀其他玩家拥有的宠物。如果为 true,则这些宠物将免疫其他伤害。
#尽管如此,它们仍可能因主人击杀而死亡。
pets-invincible: false
#玩家可拥有的最大宠物数量
max-pets: 5
权限
MCPets.tame: 拥有此权限的玩家可以驯养动物。
MCPets.setname: 拥有此权限的玩家可以为动物命名。
MCPets.sit: 拥有此权限的玩家可以为自己的动物切换坐下模式。
MCPets.release: 拥有此权限的玩家可以将宠物放生至野外。
计划功能
图例:
红色 表示未完成。
绿色 表示已完成。
- 通过 Vault 支持经济功能(对驯养、放生、命名动物收费)
- 让宠物名称像玩家名称一样显示在宠物上方?(目前尚不确定是否可行。)
MCPets
MCPets allows users to tame baby animals as their pets, name them, and have them follow the user around.
Installation
Drag'n'drop installation, just put the jar in your plugins folder and restart/reload (restart is recommended) your server. Then take a look at the configuration, change some values if you'd like. Don't mess with the Pets.yml as it contains all sorts of crucial information for the pets. If you change it, all your pets could get released D:
Usage
Users can select baby animals with a right-click, then use the commands. Baby animals that have been tamed follow the owner around unless in sitting mode.
Commands
/pet tame: tames the selected baby animal, making it your pet
/pet setname <name> : Names your selected pet the specified name. (can only be used if it is your pet)
/pet release: Releases the selected baby animal (can only be used if it is your pet)
/pet sit: Toggles "sitting" mode for the selected baby animal. Pets in sitting mode do not move. (can only be used if it is your pet)
Configuration
I'm planning this project to have very basic configuration, just a few options. I've only thought of one applicable as of now, though, Here it is:
#Set this to false to allow players to kill pets owned by other players. If it is true, they will be impervious to other damage.
#They can still die from their owner killing them, though.
pets-invincible: false
#The max amount of pets for players to have
max-pets: 5
Permissions
MCPets.tame: Users with that permission can tame animals.
MCPets.setname: Users with that permission can set animals's name.
MCPets.sit: Users with that permission can toggle sit mode for their animals.
MCPets.release: Users with that permission can release their pets into the wild.
Planned Features
Key:
Red means not completed.
Green means completed.
- Vault support for economy features (charging players for taming, releasing, naming animals)
- Having pet names appear above pets in the same way a player's would?(not sure if this is possible at the moment.)
评论 0
登录后参与评分
还没有评论,来抢沙发吧