[INACTIVE][MECH] WolfSpawn v0.4 - pet wolves respawn when they die, spawn wolf [Permissions][670]

Discussion in 'Inactive/Unsupported Plugins' started by jynxdaddy, Apr 5, 2011.

  1. Offline


    Version: v0.4

    This plugin makes your pet wolf or wolves respawn at the world spawn point (for now).

    If you use a custom drop system that rewards xp, money, or items to players killing pet wolves, I suggest you remove that for wolves because players could farm their pet wolf for rewards.

    • Pet wolf respawns when it dies (at player or spawn)
    • Permissions
    • Can 'release' wolves to stop them respawning
    • Can spawn wolves near players tamed, wild, or angry
    Download WolfSpawn
    Source Code

    toggle the ability to release your pets, they won't respawn.
    /spawnwolf player <wild|angry>
    Spawn a wolf near player. Omit 'wild' and wolf will be owned by player.

    Allow player to release their pet wolves
    Allow players pet wolves to respawn
    Allow players to spawn wolves

    • Config option for wolf respawn health
    • Set wolf respawn point / use some home plugin for personal respawn point
    • Special Admin release permission
    • Respawn wolves with you when you die
    Version 0.4
    • Can now spawn angry wolves
    • Option to respawn wolves near the owner (default)
    • Added respawn delay to wolves
    • Hopefully last total rewrite of config file
    Version 0.3
    • Changed 'put down' to 'release'
    • Changed default config again
    • Added 'spawnwolf' command
    Version 0.2
    • Fixed default config file
    Version 0.1
    • Released
    Other Wolf Plugins:
    FernFerret's WolfPound. Mike Primm's AngryWolves
    Mike Primm and fernferret like this.
  2. Offline


    msg-death-text: '&cYour wolf has die'
    any way allow coloer be add in the message?
  3. Offline



    Set wolf respawn point / use some home plugin for personal respawn point
    useless as wolf tp with you when distance is to big[default feature of minecraft not bukkit]

    Respawn wolves with you when you die [next release]
    like i said wolf tp to you so also useless...
  4. Offline


    Oh man I was hoping someone would do a plugin like this. Thank you for putting this together, def. gonna be testing this as soon as possible.
  5. Offline


    i have a lot of teleports that teleport me far away sometimes when i go threw them the wolves to not follow they simply stay were the old teleport is and sometimes even randomly disappear
  6. Offline


    How's that Wolf Respawn Point setting doing?

    I have no idea where the spawn on my server is... I built it at 0,0 haha
  7. Offline


    Wolfie is sitting on general respawn point (in current plugin version), not tp to player after death (it would be foolish and cheaty if every time after death wolfie tp to the player). Therefore, personal Wolfie's respawn point is very useful.
    Like I said wolfie will be sitting on the place where player died. Sometimes really difficult to find that place, so this feature is useful too.

    Summarizing, the plugin is awesome, looking forward to the next version. Thank you jynxdaddy!
  8. Offline


    WolfSpawn 0.4 [670]

    updated it for the new RB (although nothing broke)
    I'm really sorry, but I need you to delete your old config.yml once again. I will be updating old config files in the future.

    Wolves now respawn near you in a minute! (default settings)

    first post has changelog

    Edit: just updated with a fix for a possible NPE
    Avous likes this.
  9. Offline


    woot thank you very much :p cant wait for that there setting wolf respawn points lol my players leave their wolves in the cornor scared to take them out from lurking creepers XD they love their wolves lol and there was much celebration when i said you'd look into actually NAMING the pets

    we're all looking forward to your progress in protecting our furry faithful companions
  10. Offline


    This is really cool.
    Do you mind adding the ability to spawn multiple wolves at once?

    Like: /spawnwolf 4
    Or: /spawnwolf tyzoid 4
    Or: /spawnwolf tyzoid [wild/angry] 4

    This will help alot. (and kill griefers faster)
    /spawnwolf <greifer_name> angry 10
  11. Offline


    wel ok i didnt know about the personal respawn for the wolf that is a good idea yes but i dont like the idea of them sitting at the place the character died.. what if u been walking for hours and u die?.. then u will lose your wolf and the people in my server wont like that everybody has a wolf on my server
  12. Offline


    for some reason my players dont get the message when they tame the wolves i spawn for them?

    meh i just gave em permissions and its fine now
  13. Offline


    I'm assuming you would completely have to rewrite the code to make the respawning wolves have the same entity ID as the ones that died. If you don't, could you do that? It would be awesome because WolfNames would work with this better.
  14. Offline


    did this plugin change any thing wat the wolf can eat?
  15. Offline

    Jonathan Bloom

    The wolf killed someone with no PVP turned on and also /releasewolf isn't working.

    617 and 0.4
  16. Offline


    Why isnt it working for me?
    I put the .Jar file inside my plugins folder and when i restart the server and type the command:
    /spawnwolf MYNAMEHERE wild
    It doesnt do a thing.. it says: You lack permission to use this command
    How come?
  17. Offline


    Try it from the console, also check you are an op.
    I might have made a mistake and only checked for Permissions on that though
  18. Offline


    sorry but how do i check for permissions? i tryed using from the console and this is what i typed:
    /spawnwolf blackactivity wild
    blackactivity = my name but it still doesnt work... i use multicraft to remote my server. I gave myself owner rights and tryed but it didnt work and i gave myself admin rights but it still didnt work, but how do i set permissions? inside the config file from your plugin? Please explain.
    Thank you!
  19. Offline


    Permissions is a plugin. It's meant to be optional though.
    Can you PM me the server log from when you try using wolfspawn
  20. Offline


    FINALLY someone found a way to set a wolf's owner before bukkit did :D
    (i know you aren't the first, but this one makes it easier on me)
    one thing: when setting a wolf's owner, the health doesn't change accordingly
    (wild has 8, tamed has 20)
  21. Offline


    @jascotty2 Check github for my recent changes, I put the minecraft server wolf calls into an UpdatedWolf type
  22. Offline


    that's the class i was using :p
    what i'm saying is you need to update the max health according to whether tamed or not
    Show Spoiler

        public void setOwner(String player) {
            EntityWolf e = getHandle();
            if ((player != null) && (player.length() > 0)) {
                if (!e.y()) {// if was wild
                    e.health = (int) Math.round(20 * (e.health / 8.));
                e.d(true); /* Make him tame */
                e.a((PathEntity) null); /* Clear path */
                e.a(player); /* Set owner */
            } else {
                if (e.y()) {// if was tame
                    e.health = (int) Math.round(8 * (e.health / 20.));
                e.d(false); /* Make him not tame */
                e.a(""); /* Clear owner */
  23. Offline


    Sorry about the slow down in the updates guys, also I won't have internet for the next week so I won't have an update out when Bukkit for 1.5 drops. And this plugin will break on 1.5.

    So sorry about that, but you can click the 'Watch Thread' link on the top right and you'll be notified when I post the update.
  24. Offline


    confirmed works on bukkit 689 (MC 1.5_02) altough respawn doestin work but /wolfspawn still works does
    the "ENTITY DEATH" is changed and so they wil not respawn after death
  25. Offline


    Confirmed works on CB 709
  26. Offline


    veeery interesting. if you can indeed put taming limits on wolves, that's be funtastic!
  27. Offline


    cant wait to see V.5
  28. Offline


    Awesome plugin! :) I think it would be even more awesome if you could spawn multiple wolves (e.g 100) :D
  29. Offline


    ENTITY_DEATH error: (open)

    21:03:50 [SEVERE] Could not pass event ENTITY_DEATH to WolfSpawn
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.v()Ljava/lang/String;
    	at com.jynxdaddy.wolfspawn.WolfListener.onEntityDeath(WolfListener.java:45)
    	at org.bukkit.plugin.java.JavaPluginLoader$45.execute(JavaPluginLoader.java:480)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    	at net.minecraft.server.EntityLiving.r(EntityLiving.java:470)
    	at net.minecraft.server.EntityLiving.a(EntityLiving.java:449)
    	at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:393)
    	at net.minecraft.server.EntityWolf.damageEntity(SourceFile:313)
    	at net.minecraft.server.Entity.a(Entity.java:652)
    	at net.minecraft.server.Entity.move(Entity.java:583)
    	at net.minecraft.server.EntityLiving.a(EntityLiving.java:570)
    	at net.minecraft.server.EntityLiving.u(EntityLiving.java:676)
    	at net.minecraft.server.EntityWolf.u(SourceFile:160)
    	at net.minecraft.server.EntityLiving.p_(EntityLiving.java:231)
    	at net.minecraft.server.EntityWolf.p_(SourceFile:190)
    	at net.minecraft.server.World.entityJoinedWorld(World.java:1007)
    	at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:52)
    	at net.minecraft.server.World.playerJoinedWorld(World.java:989)
    	at net.minecraft.server.World.cleanUp(World.java:966)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:367)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    Another error while spawning (open)

    21:14:38 [INFO] [WolfSpawn] spawning wolf in 20 seconds
    21:14:38 [INFO] [WolfSpawn] Spawning Wolf
    21:14:39 [SEVERE] Exception in thread "Thread-895"
    21:14:39 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.b(Z)V
    21:14:39 [SEVERE] 	at com.jynxdaddy.wolfspawn.SpawnWolfTask.run(SpawnWolfTask.java:53)
    21:14:39 [SEVERE] 	at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:33)
    21:14:39 [SEVERE] 	at java.lang.Thread.run(Thread.java:636)

    Please update this for CB740. It keeps spamming the console and logs.
  30. Offline


  31. Offline


    Exact same errors here.

Share This Page