Pets
Pets
Description
A server mod which allows you to name your pets, and train them to become the best pet in the server, while gaining attack, strength and more! Included animals are Dogs and Cats as of right now, but will hopefully be adding more animals later!
Directions
Required Plugins
Installation
- Put Pets in your server's plugins folder
- make sure Vault is installed
- Run your server!
Commands
- /pet new => claim a pet
- /pet rename => rename your pet
- /pet release => release your pet
- /pet info => get more specific information on your pets, including exp and level
- /pet list => list your pets
- /spawnwolf => spawn a wolf where you are looking
- /spawncat => spawn a cat where you are looking
Permissions
- Pets.admin - access to all pets permissions.
- Pets.aggro - ability to make pets aggressive around you
- Pets.aggro.other - ability to make pets aggressive around you and other players
- Pets.info - get information about certain pets
- Pets.list - ability to see which pets you own
- Pets.list.other - ability to see which pets you or another player own
- Pets.new - Claim new pets
- Pets.release - unclaim pets
- Pets.rename - rename pets
- Pets.spawnwolf - spawn wolves where you are looking
- Pets.spawncat - spawn cats where you are looking
- Pets.limit.dogs.# - limits how many dogs a player can tame to # dogs
- * Optional Pets.limit.dogs.infinite - allows the player to tame an unlimited amount of dogs
- Pets.limit.cats.# - limits how many cats a player can tame to # cats
- * Optional Pets.limit.cats.infinite - allows the player to tame an unlimited amount of cats
Admin permissions
Features
- Leveling up of Dogs and Cats, based on exp gained by fighting
- Naming dogs and cats when you tame them
- Renaming of dogs and cats on commands
- Releasing of a dogs and cats through commands
- Get info of a dog or cat through a command
- List pets
- Permission based animal limiting
Upcoming Features
- Other tame-able monsters/animals
- More advanced leveling, based on Attack Level, Strength Level, and Defense Level
- Send your animals to find another player
- Animal skills, hopefully configurable and the ability to add skills like heroes
- Heroes damage system support
- Ability to transfer pets
- Any suggestions? Tell us in the comments below!
Errors
If you find an error that you want one of us to fix, please leave a ticket for us to look at! It helps us understand exactly what the problem is and how we should resolve it. What we ask for in these tickets is:
- A pastebin of the error log
- Which other plugins you are using and what versions
- The version of Pets you are using Thank you for taking the time to help us make a better Pets plugin for everyone!
Donations
If you would like to see this plugin with more features, donations would be nice to let me know that you guys enjoy our hard work! We use the email [email protected] as our paypal email, so you can send some money over! Thank you!
Hey everyone! Sorry for the HUGE delay in development of this plugin, but I am back in business now! My computer rather tragically crashed beyond repair, and after about three months of working for it, I got myself a new computer that will do the job better than before!
@zssz2
Thanks for updating this! I might take your code from that link, but I don't think it would be too hard to update my local copy either, but I appreciate you helping out all the people who use the plugin!
Here's an updated version that should work w/ bukkit's latest 1.3.1 rb. The source code I updated was the one from this plugin's github, which I am assuming was the most up to date version.
http://dl.abagaming.com/minecraft/bukkit/plugins/Pets_1.3.1.jar
Dude please update! xD
@TankNast
Dude please update! xD
NPE ERROR:
2012-07-18 07:57:26 [SEVERE] Could not pass event PlayerChatEvent to Pets
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:786)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at net.scylla.pets.PetTameManager.petNameEvent(PetTameManager.java:151)
at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
... 11 more
we are using townychat
can you add another way to feed them so that they dont get hearts above them every time and make babies because i dont want more wolves i just want their health to go up some times
Sorry for not responding as quick as usual, everyone. I'm on vacation, and I hope to add some more content by next weekend. Please continue to give me your comments, and I'll look at it in a couple days when I get off of vacation!
@cnaude
Thanks, I'll definitely look at that!
@Sleaker
I actually completely forgot I was going to hook Heroes... oops! I'll look into those, and I won't hesitate to ask some questions once I get back from vacation!
@echibahn
That is a great idea, I will definitely add that! It's as easy as adding one word, I just haven't thought of it!
@superethan7
Yes, eventually. I will try to add it by this next weekend, hopefully!
Are you going to add the ocelot leveling up thingy?
I sometimes notice players that aren't very bright trying to type /pets instead of /pet and then complaining that the plugin is broken and not working lol… perhaps maybe add in a little code for the plugin to take either command to make things easier? just food for thought...
@TankNast
I've moved PetCreeper to BukkitDev. http://dev.bukkit.org/server-mods/petcreeper/ Feel free to look at the source to see how did a few things. https://github.com/cnaude/PetCreeper
Could you please implement not backing up the pets when nobody is online?
If you have questions about how to hook Heroes feel free to drop questions on the forum or in the irc. One comment though:
Please don't use Priority.Monitor to alter data in the event. This is always a very big no-no. The event data is considered off-limits once it hits monitor due to that priority level being needed for plugins that monitor the result of the event.
YOU HAVE TO GET HORSES DUDE
@TankNast
Thanks dude!
I love you.
@fuzyfeet
ok I will talk to @cnaude, I've been trying to find who has been updating PetCreeper, if anyone was at all but couldn't find anyone, so this should be a good start. thanks for the tip!
@TankNast
I think I understand what you are saying: if you have both a creature specific limit no mater what the total limit is you can never exceed the specific limit. I like that. It make sense and would make for greater customization (the best plugins are always the most customizable IMNHO).
You might want to talk to @cnaude. He has been updating the old PetCreeper plugin.
@AssRealm
Ok thank you I will take a look into this, I keep finding errors from when I changed commands from /pets add [name] to /pets new [name].
@fuzyfeet
the first is easy to do, as for the second, it is much more difficult, but it is still possible, maybe if I team up with another plugin which has already done that, it could work!
for the total limit though, it would override the pets.limit.dogs.# and pets.limit.cats.# etc, to be logistically correct. for instance, pets.limit.dogs.3 and pets.limit.total.5, if you could tame dogs, cats, and zombies, then you could have any combo of 3 dogs, and 1 cat, 1 zombie, or 1 dog, 2 cats, 2 zombies, etc, but you couldn't have 4 dogs and 1 zombie... if that makes any sense...
@joyful_dawn
please http://www.pastebin.com your error and repost that link. I do not accept errors if they are not from pastebin. thank you.
Once you resend me the pastebin of the error, I will be more than happy to help you!
When i am trying to claim a pet, it says /pet add [name]
i type that then no such command.
i typed /pet new [name]
internal error