[MECH] EternalWolf v1.0.3 - Make tamed wolves invincible! [1.1-R6]

Discussion in 'Inactive/Unsupported Plugins' started by robinjam, Jun 5, 2011.

  1. Offline

    robinjam

    This project has moved over to BukkitDev. Future updates will be posted here.

    EternalWolf - Make tamed wolves invincible!
    Version: 0.4.3

    Creepers, lava, heights - all are deadly to wolves. Until science breeds a supernatural wolf that can fly and shoot lasers out of its eyes, this plugin does the next best thing - make them invincible!

    Features
    • Makes tamed wolves invulnerable to all kinds of damage
    • Restricts the number of wolves each player may own (default 5) to help with game balance
    • Release your wolves back into the wild by left-clicking on them while holding a bone
    • Find out who owns a wolf by right-clicking it while holding a bone
    • Call your wolves to you with the /call-wolves command
    • Supports the official Bukkit permissions system
    Download latest stable release
    eternal-wolf-0.4.3.jar

    Source code
    [​IMG]

    Donate
    If you like this plugin, please consider helping me through college by making a small donation.

    [​IMG]

    Configuration
    You can restrict the number of wolves each player is allowed to tame by setting the max_wolves option within config.yml. By default, each player is allowed a maximum of 5 wolves.
    You can remove the restriction altogether by setting max_wolves to -1, although this is not recommended.

    Permissions
    EternalWolf uses the official Bukkit permissions system. I recommend using the official PermissionsBukkit plugin to manage groups and permissions.
    The following permission nodes are available. The default permissions are shown in brackets.
    • eternalwolf.invincible_wolves (everybody) - Makes the player's wolves invincible when they are logged in (all tamed wolves are invincible if their owner is offline)
    • eternalwolf.call_wolves (everybody) - Allows the player to use the /call-wolves command
    • eternalwolf.release_own_wolves (everybody) - Allows the player to release their own wolves
    • eternalwolf.release_other_wolves (ops only) - Allows the player to release any other player's wolves
    • eternalwolf.check_owner (everybody) - Allows the user to check who owns a wolf
    • eternalwolf.many_wolves (ops only) - Allows the user to tame as many wolves as they like (bypassing the max_wolves option)
    Known issues
    • None. If you find a bug, please let me know.
    Changelog
    v0.4.3
    • Removes CraftBukkit dependency (this should mean fewer breakages with future builds)
    v0.4.2
    • Adds Bukkit Permissions ('superperms') support
    v0.4.1
    • Update for Minecraft 1.7
    v0.4
    • Adds eternalwolf.invincible_wolves permission
    • Bugfixes:
      • The owner of a wolf can now be determined even if they are offline
      • Players with the eternalwolf.release_other_wolves permission can now release wolves even if the owner is offline
      • Fixes a NullPointerException in the EntityListener class
    More (open)

    v0.3
    • Adds /call-wolves command
    • Adds permissions support
    v0.2
    • Adds ability to release wolves
    • Adds ability to find out who owns a wolf
    v0.1
    • Initial release
     
    Xordaii likes this.
  2. Offline

    Lukeroge

    Nice idea =)
     
  3. Offline

    Plague

    changelog has to show 2 last versions without a spoiler
     
  4. Offline

    robinjam

    Thanks! It was a lot of fun to make, Bukkit is an awesome API.

    Sorry about that, fixed.
     
  5. Offline

    DarkKiller13

    can you make it so only ops have invincible wolves?/ make it with permissions where only person with permissions can have invincible wolves?
     
  6. Offline

    robinjam

    That's a good idea. I'll see what I can do.
     
  7. Offline

    Cenarius

    can you add an option on the config to decide what mobs can damage the wolf xD
    i don't want it latterly invincible :p
    for example i want slimes, ghasts and giants to be able to damage the wolf ..
    also .. does this conflict with "Wolfpound" ?
    thanks .. it's great plugin overall
     
  8. Offline

    robinjam

    I might add more config options in the future. To be honest, this was supposed to be a simple plugin to teach me how Bukkit works, and it's rapidly becoming complicated as I add more features :p

    I'm not sure if it conflicts with Wolfpound since I've never used it, sorry.

    Tested on latest RB (#860). Still works.

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

    Cenarius

    oh i see .. looking forward to see the next version, and please keep it up :D
     
  10. Offline

    KuroSnow

    • Release your wolves back into the wild by left-clicking on them while holding a bone
    • Find out who owns a wolf by right-clicking it while holding a bone
    Conflicts with mcMMO's Taming. You left click with a bone to see info on the wolf (HP, Owner, etc). So if you were trying to check your wolf's status, you'd be releasing it...
     
  11. Offline

    robinjam

    Are you using Permissions? If so, you should be able to just take away the eternalwolf.check_owner and eternalwolf.release_own_wolves permission nodes for all your players.

    I could add an option to switch them around, if you think that would be useful.
     
  12. Offline

    KuroSnow

    Durp. Didn't even think of that. >.> I am using permissions (Thank god. >.> It'd be a mess if I didn't.)

    But then again, you wouldn't be able to release your wolves if I took away the permission nodes.
     
  13. Offline

    Taemera

    Error on 860 (open)
    23:06:32 [SEVERE] Could not pass event ENTITY_DAMAGE to EternalWolf
    java.lang.NullPointerException
    at net.robinjam.bukkit.eternalwolf.EntityListener.onEntityDamage(EntityListener.java:70)
    at org.bukkit.plugin.java.JavaPluginLoader$51.execute(JavaPluginLoader.java:598)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.EntityArrow.o_(EntityArrow.java:180)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1114)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:62)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1096)
    at net.minecraft.server.World.cleanUp(World.java:1073)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:395)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >
    Show Spoiler
     
  14. Offline

    robinjam

    Sorry about that. It should be fixed in the next release (which is coming very soon).

    Version 0.4 is out.
    • Adds eternalwolf.invincible_wolves permission
    • Bugfixes:
      • The owner of a wolf can now be determined even if they are offline
      • Players with the eternalwolf.release_other_wolves permission can now release wolves even if the owner is offline
      • Fixes a NullPointerException in the EntityListener class

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

    Kaosthe1st

    Have you updated this for RB935?
     
  16. Offline

    robinjam

    Yes. Sorry, I've been having problems with my internet, and it went down before I could change the title :(
     
  17. Offline

    Kaosthe1st

    I had figured you forgot to change the title.
     
  18. Offline

    Garloth

    Any chanse of turning off only "natural" damage not PLAYERvWOLF ant MOBvWOLF?
     
  19. Offline

    robinjam

    To be honest, this plugin was initially designed to stop creepers blowing my wolves up, so I won't be adding an option to disable that. I think WorldGuard has an anti-wolf-dumbness option that might be of use to you though.
     
  20. Offline

    Garloth

    And only from players?
     
  21. Offline

    robinjam

    Don't you find it a bit annoying when griefers kill your wolves? That's another reason I made this plugin ;)
     
  22. Offline

    robinjam

    Version 0.4.2 is out - compatible with RB #1000, and now with Bukkit Permissions ('superperms') support!
     
  23. Offline

    Garloth

    But then if you have, like 10 wolves (WolfPound Plugin) you are undefeated.
     
  24. Offline

    Cenarius

    hi ^_^
    i've just installed permission 3 instead of permissionsEX becasue i wanted to use the plugin heroes ..
    and it happened that i came to check if you released the permission nodes becasue i wanted to add a class for hunter or something, and i thought it will work perfectly with your plugin :)
    the thing is i've just setted the permissions for my groups ...
    i've a test player that have no "eternalwolf.invincible_wolves" and he can have invincible wolves !
    i think it's using the default "op access" and skipping permissions :/
    i've permissions 3.1.6 and the latest version of yours ..
    how can i enable the permission support :eek:
     
  25. Offline

    robinjam

    This plugin now uses the permissions system built in to Bukkit. You can either switch to the new official Permissions plugin or downgrade to EternalWolf 0.4.1, which is compatible with Permissions 3. Hope this helps!
     
  26. Offline

    Cenarius

    ok thanks :)
    but is it completable with CB 1000 ?
    and what about the future releases ?? will you drop permissions support ?
    :(

    EDIT :
    the link you provided is 0.4.2 xD
     
  27. Offline

    robinjam

    Oops, sorry about that. Here's the actual link: EternalWolf 0.4.1
    0.4.1 is compatible with both CB 1000 and Permissions 3.x, and it has all the same features as 0.4.2. The only difference is that 0.4.2 uses the official Bukkit permissions system.

    In future releases you will need to use a Permissions plugin that supports the Bukkit permissions system (check out the official plugin made by SpaceManiac).
     
  28. Offline

    Cenarius

    lol i was using PEX but heroes doesn't support it and i think it's one of the main plugins in my server right now :p
    it would be really nice if you provided permission support in the future .. either that or Heroes support PEX xD"second option is prefered by me cause PEX > Permissions :p ... but they say the PEX doesn't meet the requirements for their plugin :("
    Thanks again :)
    this plugin is awesome ^_^
     
  29. Offline

    robinjam

    Glad you like it! Thank you for your feedback.

    I imagine that Heroes will support the official permissions system at some point in the future. In the meantime, PermissionsBukkit has a compatibility layer to make it work with plugins that require Permissions 3. You might be able to get Heroes working with it.
     
  30. Offline

    Cenarius

    i hope so :) thanks
     

Share This Page