Inactive [FUN] PetCreeper v0.32 (Outdated) - Allows players to tame creepers and other mobs as pets [953]

Discussion in 'Inactive/Unsupported Plugins' started by mathewv, Jun 20, 2011.

  1. Offline


    PetCreeper - Allows players to tame creepers and other mobs​
    Version: v0.32 (OUTDATED)​

    This plugin allows players to give mobs an item. The mob will then become tame and follow the player around, and will not attack anything. Players can toggle his follow behavior by right-clicking him, but if they right click him while holding a saddle, they can ride him. If a player is ever unfortunate to accidentally (or purposefully) attack him, he will become angry and attack. When a player leaves the server, the pet will leave, and when he rejoins so will his pet. When the command "/pet" is entered, he will teleport to to his master.

    To view/change the taming item for the various mobs, edit PetCreeper/config.yml and read the instructions there. The file "pets.txt" contains the list of players who own pets, and is only updated when the server is stopped.

    • All mobs (almost) now tamable with items specified in config.yml
    • Pets can be teleported with the command "/pet"
    • Tamed pets will not attack unless attacked by their masters (this is configurable)
    • Pets are saved even after the server is halted
    Version 0.32
    • Fixed message spam for real this time
    Version 0.31
    • Added /petfree command, which will release your pet.
    • Fixed the message spam when attacking mobs with AttackTame set to true.
    Version 0.3
    • Permissions support enabled! "petcreeper.tame.<creature>" to enable taming and "petcreeper.ride.<creature>" to enable riding. To enable the "pet" command, add "". Creature names should be capitalized, and zombie pigmen are "PigZombie".
    • Configuration option allows players to punch creatures to tame them while holding their bait.
    • Pigs can now be saddled permanently
    Version 0.2
    • Expanded to include taming of all mobs instead of just creepers. The only two untamable (excluding wolves) are Skeletons and Ghasts, because their ranged attacks can't be toggled (yet).
    • Health now saved in pets.txt; Sheep also have their shaven and color status saved.
    • Pet creepers no longer hiss and circle when approaching.
    • Added more configuration options.
    Version 0.1
    • Initial release
    Up and Coming Features in v0.4:
    • iConomy support?
    • Tamable slimes? (This bug seems impossible to fix)
    • Pets that defend their masters! (Wolf-like)
    • Multiple pets!
    • Adjustable taming difficulty!
    • Multi-world support
    Other planned features (using Spout):
    • Controllable pets while riding
    • Named pets
    • Various graphical effects, including pets appearing different
    Known Bugs:
    • Sheep almost always disappear when a player joins the server, for unknown reasons. Surprisingly has nothing to do with the color/shave data.
    • Sometimes, if a player teleports his pet from very far away, it will disappear. To fix, simply log out and back in.
    • Slimes are still unintentionally untamable (thanks to @Shooty for finding the bug)
    Here's a nice demo video by @Warby579demonstrating v0.32 of the plugin:
  2. Offline


    Add so op can delete someones pet in game.

    When another mob attack me, my pet (spider) will not fight back against the mob who attacked me :/. useless...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  3. Offline


    Could you make it where the tamed pets attack like wolves?
  4. Offline


    Is it compatible with 1.7?
  5. Offline


    I am seeing this error pop up occasionally after a player logs in. CB 953, MC 1.7.2, PetCreeper 0.2
    2011-07-05 19:05:06 [SEVERE] Exception in thread "Thread-17"
    2011-07-05 19:05:06 [SEVERE] java.lang.IllegalArgumentException: Cannot measure distance between worlds or to null
    2011-07-05 19:05:06 [SEVERE] at org.bukkit.Location.distance(
    2011-07-05 19:05:06 [SEVERE] at
  6. Offline


  7. Offline


    New release, have fun guys!
  8. Can you add like a /pet free because i don't know where my pet is and he won't teleport to me (its a sheep)
  9. Offline


    Hello. I'd like to try this plugin but I'm runnig a linux server and wget doesn't seem to work. The link for download appears to lead to a website, not the zip, and that site uses a button to download. Without the actual url of the file how can I use wget to get the file using linux?

    Can you provide a direct link please?
  10. Think this is a bug. If I change all the bait items to 1 single item, all the other default items still control pet behaviour.

    Also, if you set it so you can´t kill tamed pets, how do you ever get rid of the pet, perhaps a command, or should just drown it in lava?


    Ok it's actually more bugged than this. People without taming permissions are now getting permissions errors when they hit a mob with any item.

    So like, hit a creeper with a sword -> "no permission to tame creeper"
  11. Offline


    I love this plugin but I recommend trying to fix just one thing. The pets don't follow you very well, they always wonder away from you and head towards door even though I have the wonder thing set to 30. Try and make it act like a wolf when following
  12. Offline


    So sad, that Slimes are untamable :(
  13. Offline


    Can you please add multi-world support?
  14. Offline


    Sweet plugin, I like the config file and permissions support..

    Problems so far:

    When warping between worlds with a pet I get:

    Players reporting their pets are not following them.
  15. Offline


    Sorry such an obvious bug on my part, itll be an easy fix. I'll have a new release out by tomorrow.

    I already noted the sheep bug in the OP. But that is a good idea.

    With a higher wonder setting, pets will wander away from you more and won't follow you well. Also, wolflike behavior to come out in v4.0.

    Yep. I'll add it to the v4.0 todo list.

    Give me a good filehosting service where I can host a direct link, and I'll reupload it for you. Thanks for pointing this out.

    Well, I hope that addresses most of the current problems right now. Sorry bout the bugs, this version was barely tested due to the Linux version of minecraft being broken temporarily.
  16. (no you don't need a Mac or any app) the standard ;)
  17. How do you tame them tho
  18. Offline


    Right click the mob with the item specified in config.yml, or if you have the AttackTame setting enabled, you can punch them with the bait too.

    Alright, emergency release 0.31 out, hosted on Dropbox. It fixes the message spam bug and adds a /petfree command.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  19. Offline


    How do i tame them?(Feed them?)I am trying to get a creeper.

    Nvmd got it! Nice mod btw

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  20. Offline



    I tamed a sheep unaware that they were glitched. He is invisible and I can't kill him. Also, /petfree is not working. Can you help me with this?
  21. Doesn't seem you fixed it right:

    " i'm getting mob taming error spam from dying and shearing sheep, seems right-clicking mobs with ANY item does it"

    This is someone without taming node btw.
  22. Offline


    Gosh, I sure do suck at testing my mod. I'll get v3.2 out ASAP.

    I just tried using petfree with an invisible sheep, and it worked. What exactly happens when you run /petfree? Also, if you run the server, you can simply remove your name from the pets.txt file and the stuff after it to get rid of your sheep.
  23. No worries :p

    Had this spam earlier:

    20:40:27 [SEVERE] Could not pass event PLAYER_INTERACT_ENTITY to PetCreeper
            at mathew.petcreeper.PetMain.getPetNameOf(
            at mathew.petcreeper.PetPlayerListener.onPlayerInteractEntity(
            at org.bukkit.plugin.RegisteredListener.callEvent(
            at org.bukkit.plugin.SimplePluginManager.callEvent(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(
  24. Offline


    Hey mathewv,
    This is a great plugin, but there's one problem that I want you to fix because it is really annoying everybody. Whenever I use the command /pet to teleport the pet to me, it will hurt and make me lose hearts.
    -Thank you, Soorena
    EDIT: When I tame a spider and tp it to me it hurts me, but when i tp a pig, it doesn't hurt me.
  25. Offline


    Alrighty Cool
  26. Offline


    suggestion.. Limit the pet they can have?
  27. Offline


    Strange. Looks like the plugin can't seem to hook the right-click event on your server, which probably caused the "can't tame pet" issues mentioned before. Does this happen when the server starts, or at some point while its running?

    Thanks for pointing that out. Its a really simple and obvious fix and quite an oversight by me. I guess I'll have to release another emergency release. I'm gonna run out of version numbers eventually XD

    You mean limit the amount of pets they can have? Right now, I'm having trouble making sure that one works correctly. But when v4.0 comes around (as in I get around to doing it) I'll focus on multiple pet support.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 16, 2016
  28. Offline


    Permissions support?
  29. Offline


    suggestion: pet control?
  30. Was while running yes.
  31. Offline


    Already exists, check the OP.

    Perhaps in v4.0, I'll add to my todo list.

    That's really strange. Does the plugin still work correctly after that?

Share This Page