MCPets
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.)
Hi, how do I select the animal? I press the right mouse button but it is not selected!
@EnvisionRed
So is this gonna update? I don't exactly want to put a 1.2.5 plugin on my 1.6.2 server... >.>
I do really like the idea of having mini/baby pets follow my players and the idea they could have more than 1 sounds neat too....
update? i cant tame horses with the current version! it makes me mad. i want to ride my pony :(
@EnvisionRed
When i try it to install it via Multicraft it says this:
Failed to install plugin: Malformed plugin info mcpets::
I was hoping animals such as sheeps, pigs and cows can be tamed simply by feeding it. Similar to how taming cats and wolves function. I just don't like the whole idea of having to use a command for everything in the game.
Also it would be nice if tamed animals would become a mini version of it's original size.
wow nice man, would be nice if you can add commands to like /pet spawn pig and add perms to this because I want this for my creative world where people cant spawn mobs with eggs.
If you can make the name appear above the head, then you are genius. Great plugin still!
Doing a complete rewrite of the code, should be out soon.
@Strondkop8
I'm not sure, because at the moment people can name their pets the same thing as someone else's, or even their other pets. What I can do is when you teleport, all of your pets that are not sitting will teleport with you.
The issue with teleporting was that you would teleport out and it would unload your pets from the world before they had a chance to go with you.
@EnvisionRed
Maybe a tip for next version :
/pet sethome <petname>
And if your lost your pad thats named : Nick you can do the comand /pet home Nick
And the pet teleport to his home What is your meaning about this? (I dont know if this is posseble)
@Strondkop8
I'll see what I can do and I can probably get a build with signs out pretty soon.
@EnvisionRed
I have your plugin on my server . But there is a bug :
If you tame a mod an you do /spawn the mob not telport to you , but theres spaming a text in your chat, please fix this. Its ingoring.
@Strondkop8
I suppose that could be possible (e.g. a cow goes "MOO" or cat "Meow") but we don't want people telling their animals to curse at anyone who comes near...
Very nice plugin! Im gonne use it on my server. But is it posseble if you near the pet that he is talking whit a costum text.
Greetings
Strondkop8
I just tested the exact code I uploaded this to bukkit with, and recorded. It worked as I had thought. If you know java you can look at the github (which was last updated at the initial upload of MCPets) and see that it does indeed have the code for this: http://www.youtube.com/watch?v=odu1Hdu53BA
Also I tested the pet release feature and the cow didn't continue to stay put.
@damnnicholas
That's odd with the pet is null thing, I tested and I actually do have listeners for death events that send you messages when it dies and deletes its section in the Pets.yml file. Also it seems the release function didn't quite work on your server as it did not stop "sitting" when you released it.
Keep in mind that it's still a beta and I'm glad people are reviewing it and catching bugs that I can patch to ready this plugin for full release.
Hey, i thought your plugin was pretty cool so i made a little video showcase on it :) Hope you like it! :P
Link to video: http://www.youtube.com/watch?v=7PmvtazLDws&feature=youtu.be
I made this as per a plugin request in the bukkit forums. I can add support for any mob but I honestly think that having baby animals as pets is slightly more realistic and cute, hehe
Is there a possibility of making any mob a pet regardless wether they are a baby or not?
@kagecookeh
I was thinking of creating a "ghost" player entity where the pet is and setting its display name to what the pets is.