[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

    jynxdaddy

    WolfSpawn
    Version: v0.4
    [670]

    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.

    Features:
    • 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

    Commands
    /releasewolf
    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.

    Permissions
    WolfSpawn.release
    Allow player to release their pet wolves
    WolfSpawn.respawn
    Allow players pet wolves to respawn
    WolfSpawn.spawn
    Allow players to spawn wolves

    Planned:
    • 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
    Changelog:
    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

    kieranthethomas

    I'll definitely try it on my server :D I hate having to build graves.
     
  3. Offline

    jwcool3

    good idea
     
  4. Offline

    jynxdaddy

    I think I'll add a limit on the amount of wolves you can tame, with configuration of course.

    I welcome feature requests and suggestions.
     
  5. Nice Job! You should submit a pull request for adding those calls for getOwner!
    EDIT: You sir are amazing, thank you: WolfPound Commit
     
  6. Offline

    habbah

    does this spawn TAMED WOLFS? :O
     
  7. Offline

    emoknight

    Code:
    2011-04-05 21:34:27 [SEVERE] Could not load plugins\WolfSpawn.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:105)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: while parsing a block mapping
    in "<reader>", line 12, column 1:
        msg-send: true
        ^
    expected <block end>, but found Scalar
    in "<reader>", line 22, column 64:
        ... tDown enabled - your wolves won't respawn'
                                            ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:73)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:158)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:103)
        ... 8 more
    why im getting is? when i start the server for the 2nd time with is plugin in the server??
     
    jynxdaddy likes this.
  8. Offline

    jynxdaddy

    It 'respawns' your tamed wolves. Although technically it does just spawn a tamed wolf when they die.
    I can add a spawn wolf command if you like.

    emoknight can you pm me your CraftBukkit version, your WolfSpawn/config.yml and any other logs you have.

    Nevermind that, problem was the ' in can't.
    Either download the new version and delete your old config file.
    Or make the changes as seen here on line 22
     
  9. Offline

    habbah

    my wolfs always get stuck when i go threw teleports, do you think it could spawn the wolves to the player?
     
  10. Offline

    emoknight

    Code:
    msg-send: true
    #
    #Specific messages
    msg-death: true
    msg-wolf-putdown: true
    msg-putdown-toggle: true
    #
    #Message text
    msg-wolf-putdown-text: 'You put down your wolf'
    msg-death-text: 'Your wolf ran home'
    msg-putdown-toggle-on-text: 'PutDown enabled - your wolves won't respawn'
    msg-putdown-toggle-off-text: 'PutDown disabled - your wolves will respawn again'
    well i have not change anything put im using CB630
     
  11. Offline

    jynxdaddy

    I think the yaml parser was updated in newer builds.

    Sure I'll add that tomorrow.
     
  12. Offline

    Foxtrot200

    I love your plugin! It makes keeping dogs so much easier. However, would it be possible to be able to change the put down command to sound a little less fatal, like "/release"? I know it's a bit silly, but it helps when you get somewhat attached to the mobs too soon.
     
  13. Offline

    jynxdaddy

    haha sure, you know what was horrible - testing this plugin, I have slaughtered hundreds of puppies now :(


    Actually, could you elaborate, what do you mean by teleports, which command or mod, or do you mean nether portals?


    Version 0.3 Released
    • Changed 'put down' to 'release'
    • Changed default config again
    • Added 'spawnwolf' command
    Please delete your old config file, also note a new permission was added and an old one changed (putdown).

    I'll work on having config files transferable for future releases.

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

    habbah

    this isent really a good idea for servers because there will be a lot of freaking wolves at the spawn point if a server had multiple players. Just a couple requests change the spawn to maybe a home point? and give the option for the wolf to re spawn beside the player? Oh and you knwo what would be an awesome feature say like every minute or 5? make the wolf automatically appear beside the player mine always get stuck when i teleport.
     
  15. Offline

    swedish2011

    remove ?
     
  16. Offline

    gingy97

    hey is it possible to make it so you can store wolves in chests or something so like you type in "/make kennel" and that turns the chest you right click on into a kennel then type in "/store" and right click the wolf you want too store then right click the kennel chest. just a suggestion also maybe make it so you can to name wolves?
     
  17. Offline

    jynxdaddy

    I agree with all your suggestions but I am waiting on persistence in bukkit.
    I can add a respawn next to player option now easily enough - I'll add a respawn delay too.
    A limit on the number of wolves you can tame is also coming.
     
  18. Offline

    Avous

    how do you set your home where wolves respawn and do they just sit? and finally.. is it possible to add names that hover over wolves that players can set?
     
  19. Offline

    jynxdaddy

    @Avous that is a planned feature, waiting on a new bukkit version for that. Looking into names.
     
  20. Offline

    Avous

    ok and i have one final idea for wolves that would fall under your plugin. could you make all food restore the wolves health? (it may already do that but ive never tried anything but pork)
     
  21. Offline

    jynxdaddy

    but chocolate isn't good for dogs
     
    Avous likes this.
  22. Offline

    Avous

    oh so clever lol but what about fish and stew? i also heard they can eat cookies but i doubt it lol those cookies have chocolate chips :p
     
  23. Offline

    jynxdaddy

    New Recommended Build coming out today, so I'm delaying the next release (was going to be soon). If it breaks anything I'll release a fix version first.
     
  24. Offline

    Avous

    cant wait :D
     
  25. Offline

    habbah

    This is awesome, do you think you could add a command that removes all wolves from a player and kills them?
    i am still having issues teleporting so i was thinking i could use /spawnwolf <PLAYER> to teleport them but of course they would still have there old wolf... so i was thinking could you make a command that kills all the wolves owned by that player and then spawns another new one at the players location in one command. :D
     
  26. Offline

    jynxdaddy

    Sure, I'll add a bunch of admin commands.

    Also I'm still not sure what issues you are having with teleporting, can you explain further what you are doing and what happens to the wolves.
     
  27. Offline

    [qwerty]

    cool idea i think ill try it :D
    it will help kill grifers in a humiliating way [creeper]
     
  28. Offline

    jynxdaddy

    @qwerty Oh you can't spawn Angry wolves yet, I'll add that, thanks for reminding me
     
  29. Offline

    [qwerty]

    Yea that would be cool too :)

    I was thinking I would just tap them and like 20 wolfies attack
     
  30. Offline

    Lhjnhnas

    Will the /butcher command disrupt this?

    We have the tendency to use this a lot, lost my whole pack that way.
     

Share This Page