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!
Awesome plugin! I will create my own Wolf army! :D
Like Lummox, i also need the "transfer pets" feature. I use "heroes" plugin, and I create a farmer class that tame wolfs and ocelots exclusively.
But other players wants pets, and if it's possible in a future update, the farmer transfers tamed pets to other players wich they can't tame any pets. It is possible?
Thanks for your attention and Go with the plugin! It's really awesome!
Please, can add to the next update, the transfer pets?.
Is a function that is urgent lot for my server, and this plugin is the only one who can do it.
Would greatly appreciate it.
By the way, awesome plugin, I love it.
A greeting.
Ok so to help things along, please follow the instructions given for filling out a ticket for the error mentioned before. Despite all my attempts, I have not been able to duplicate that error. Thank you for your help, and once we get these tickets going, things should run smoother!
TankNast
Well I pasted the entire error, and it seems to be common from the replies below.
Seeing it's a chat event, we use HeroChat 4 at least.
I am unable to duplicate this error... Can you please upload a list of all your plugins, and the entire server log in a pastebin.com paste please?
Same.
I got the same errors as Joymo and the Internal Error message in game. That occurs when trying to claim a pet when will this be fixed? Oh and I use Group Manager.
1.2.8 still errors right away:
08:38:56 [SEVERE] Could not pass event AsyncPlayerChatEvent to Pets
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:831)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:808)
at net.minecraftserverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:124)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.NetworkManager.i(NetworkManager.java:211)
at net.minecraft.server.NetworkManager.c(NetworkManager.java:332)
at net.minecraft.server.NetworkReaderThread.run(SourceFile:93)
Caused by: java.lang.NullPointerException
at net.scylla.pets.PetTameManager.petNameEvent(PetTameManager.java:153)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
... 10 more
@MrBogusss
Never mind I went ahead and updated it now. Pets 1.2.8 should have the fix for bPermissions but there are a couple more changes, so look at the changelog for other required plugins and how to go about installing them!
@Joymo
There are benefits for level and xp change, I just haven't taken the time to update the xp gains per mob in the configuration to what is fair given the difficulty of the mob...
@MrBogusss
I will be updating the permissions system probably two updates from now, so keep a lookout for that!
bPermissions does not supported ?
Well I manually changed the XP amounts now, albeit not in great detail :P
With not developed, do you mean there are no benefits to level/xp at all currently?
Any news on the error?
@Joymo
Yeah I haven't developed the exp system yet. If you look in the configuration, you see I just put the mobs experience as 1, 2, 3, etc down the line. If you would like to develop an experience system that is fair given the difficulty of killing the mobs, I'll include it with the next file, so the exp system is ready-to-go right from download
Ok first time testing plugin live, immediately spams errors:
http://pastie.org/4719951
I don't understand the experience distribution, why do the easier mobs grant the most XP, zombie 24, blaze 1, makes no sense Oo
Also, could you please open the Ticket section?
Would also like to request data on the levels -> powers. What level grants which power, etc.
Thanks!
@TankNast
I agree with VledderCraft,but maybe cats give you a speed and jump boost,and dogs give you strength and health boost,with a level requirement to recieve the boosts and scalability with levels of your pet
@TankNast
Let pets give you special power, something like when you have a dog you will have more Speed, or other effects :)
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
same error but pets command still working, may i know wats wrong?
@TankNast
Glad you've got a working computer now! Added the plugin to my server a few days back and decided to share my fix that worked for me until you came back. Good to see you've been able to return, my players love your plugin!
Nice, man. Thanks for the update. 1.2.7 seems to be running smooth.