DogWhisperer - Allows admins to set a limit to the number of wolves a player can own at one time. Version: v1.2 - Download Features: Sets a configurable limit to the number of wolves owned by a player Players are unable to tame more until their pack is smaller Superperms support Settings: Code: # Message sent when a player has reached the limit Too many wolves message: Your pack is too large for another member. # Tamed wolf limit per player Max wolves per player: 1 Permissions: dog.tame -Allows the taming of wolves (Default = true) dog.nolimit - User will bypass the wolf limit (Default = op) Download: Jar Source: Github Changelog: Version 1.2: Tracks wolves and interacts with other plugins better (thanks weeniecj) Version 1.1: Superperms support Version 1.0 Release
Great plugin! In addition to limiting the number of wolves, I'd love to be able to limit who can tame wolves to begin with (perhaps via Permissions). Do you think this is a feature you might add to your mod in the future? Thanks again
Hey, I was wondering if you could post the source code for this, I would like to add permissions to it for my server. Great plugin by the way.
Thank you very much I could send you the file with permissions 3 installed if you would like, I could also add PermissionsEX if you would like
@escape Suggestion: Once your pack is at maximum size, trying to feed a bone to another wolf will cancel the attempt, put up the message and make sure you dont loose an item. Its kinda silly to waste 10 bones just to fail
Whenever someone logs into the server this message is sent to the console, do youhappen to know how to fix it? Code: 2011-09-28 11:38:48 [SEVERE] Could not pass event PLAYER_JOIN to DogWhisperer java.lang.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player at com.escapeNT.dogWhisperer.DogWhisperer.countPlayerWolves(DogWhisperer.java:56) at com.escapeNT.dogWhisperer.DogWhispererPlayerListener.onPlayerJoin(DogWhispererPlayerListener.java:15) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338) at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126) at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:116) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:75) at net.minecraft.server.Packet1Login.a(SourceFile:59) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41) at net.minecraft.server.NetworkListenThread.a(SourceFile:94) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
I am getting the same errors as the poster above. I've tried this with all my normal mods as well as no mods except DogWhisperer installed. I am on RB1185.
I havnt tried this yet, but i think another feature that would be good is if the number of wolves owned went according to the players level. Like, for every 3 levels the player is, then he/she can have 1 more wolf in the pack. so the higher your level, the larger your pack can be. =D
[SEVERE] Error occurred while enabling DogWhisperer v1.2 (Is it up to date?): org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player java.lang.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player at com.escapeNT.dogWhisperer.DogWhisperer.countPlayerWolves(DogWhisperer.java:56) at com.escapeNT.dogWhisperer.DogWhisperer.onEnable(DogWhisperer.java:33) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:970) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:440) at org.bukkit.Bukkit.reload(Bukkit.java:188) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:571) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:548) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) I am getting this error too, do you, or does anyone have a fix for this? As this seems to be the only wolf limiting plugin I can find and i desperately need it.
I'm fairly sure this thing is totally dead seeing as you are one of two people to even post on it since October when I did. I still havent found a replacement
Long time no see @escape. You will notice that this thread has now been placed into the Inactive Plugin subforum. If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum. Thanks for your time. md_5