Ranged Wolves
RangedWolves - Bring out your hunting dogs!
Version: v1.0.2 - CB 1988 (1.1-R6)
Inactive until further notice!
Until setting targets for Wolves is fixed in CraftBukkit, I will not be releasing any updates. I will continue to add in any suggestions you may have, if I so choose, but I don't want to release something that doesn't work to the public. The builds I have now (1.0.2, 1.1, 1.2-Dev) don't even work for me, so they won't work for you.
This plugin allows for having your pet wolves attack your ranged target. In other words: if you attack a creature or player with any sort of projectile (arrow/snowball/etc), your wolves will attack that target!
I had been looking for this feature for a while and hadn't come across it, so I took it upon myself to build my java skills and make it happen!
Mob Arena is NOT required, however it is an awesome plugin.
If you do have Mob Arena, this is built against v0.94.4.64! This is a Dev build of MobArena, found here. I'd highly recommend giving it a try, and reading the changelog for it.
Many thanks to @garbagemule for helping me throughout the ordeal, and teaching me stuff about Java I didn't realize/learn yet in school. And also for making Mob Arena :)
Features:
- Makes wolves attack your ranged Targets
- Configurable for each World and (if applicable) each Arena
- Checks for World PvP (and MobArena PvP)
- 3 simple commands
- "/rw reload" - reloads the configuration file
- "/rw reloadMA" reruns the Mob Arena setup code and auto reloads
- Ops only (and console)
- "/rw retro" - searches for nearby wolves not already associated with their owner
- Anyone can use this
- Hopefully not required
- "/rw reload" - reloads the configuration file
- Very few permission nodes required, see here
Downloads/Links:
- Source Code - Github (also included in the jar file)
- Github (supposedly wget friendly)
- DropBox
Forum:
Configuration:
Things to know about the config.yml
Permissions:
Permission nodes: see here
NOTE! If not running any sort of permissions plugin, this should run as it always has, everyone can use it, and Ops get access to the reload commands
TODO:
- Any ideas will be considered (But not necessarily implemented)
- Edit the way the config works. See this comment for how it will end up working.
- Ensure wolves stay associated with their owner after server shut down/restart
- Unless there's an easy way to get Wolves by their Unique IDs that I'm completely overlooking, this isn't happening any time soon.
Known Issues:
- While testing on 1.2.X builds, I've noticed wolves don't actually go attack your target, even after playing with my code.
- Server restarts still don't retain the relationships, although relogging and reloading does retain them.
Submitting a bug report:
- Please provide as much information as you can so I can make bug fixes as quickly as possible
- Please include:
- CraftBukkit Build
- MobArena Version number (if applicable)
- StackTrace from your server.log file (if applicable)
- Reproduction steps to help me track down and squash these nasty bugs!
- The more detailed these are, the better!
Changelog:
Version 1.0.2 - 3/11/12
- Fixed checking Max Wolf cap for offline players, they were able to get as many wolves as they could before, now they're capped.
- Unfortunately, even if the player has permission to bypass the cap, I can't check an offline player's permissions.
- Cleaned up the onEntityDamage listener some.
- Fixed "/rw retro" command, it now takes into account if a nearby wolf's owner is offline or not, and the command now obeys the Max Wolf cap
- Added checks to the "/rw reloadMA" command to make sure MobArena is on the server and enabled before running the reloads
- Cleaned up "/rw reloadMA" command too
- Added a return to onEntityTame to make sure I don't add untamed wolves to a player's list and falsely inform the player they tamed a wolf
- Removed more references to my WIP targetting for now.
is there a permission node I am missing? as OP the wolves attack my targets that I hit with arrows - as Non OP they don't
I used the permission nodes:
RangedWolves.Worlds
RangedWolves.Arenas
@Zombiemold
@Trobsky
Please refer to this ticket for your solution.
Anyone else having this same issue, also please refer to the ticket linked for the solution.
@Zombiemold
I get also that error.
Can't get the plugin to enable. Getting this every server start:
http://pastebin.com/z7HBvpM5
Bukkit: Craftbukkit version git-Bukkit-1.0.1-R1-Antares-b1597jnks (MC: 1.0.1) (Implementing API version 1.0.1-R1)
MobArena: v0.94.4.5
What am I doing wrong?
@cena6665
could you ask him to post the error from his server log here in a ticket please? They tend to point to where stuff breaks :)
@dasbreen
lol I know, um well it just said it tossed up incompatibility errors when we tried loading it up on our test server with the latest dev build of MA, i would tell you more but thats all my buddy got when he started up our server.
@cena6665
can you be specific? simply saying it doesn't work is like bringing your car in for repairs and saying "it's broken". I'd love to fix it, but I don't know where to look
this does not appear to work with the latest dev build of mobarena.
Merry Christmas everyone!
As a gift, take a look at version 0.8.5 for Permissions! I used the built in Bukkit Super Perms, so regardless of what permission handler you use, it should work! Reread the description for any new information you may need :)
@worstboy32
how would you like it broken down? The config itself is already per world/arena. I was thinking at most 2 nodes, one for in the world(s), and one for in the arena(s), and it's up to your server owner to decide which worlds/arenas it's allowed in.
@dasbreen
break it down please :D
@pandapipino @FreezePvP
I may or may not be adding permissions to the next version, we shall see :) lol. If I do, it's going to be using super perms, at which point I will let you know what the nodes are to give to your players/groups. This should allow ANY properly set up permissions plugin to use them accordingly.
The question would be, how would you like them set up? Just 1 overall permission to use everything or break it down further? You decide! :)
I would like to use this if it has permissions support. As well as pex and bpermissions. Hopeful you will add this.
@pandapipino
Honestly, I feel as if this plugin should be free of permissions. This is something I feel was lacking from Minecraft itself, and shouldn't be restricted in a per player basis.
Although, if a large amount of people using this feel PEX or Permissions in general should be instated, I won't deny you. As it stands right now, you are the first person to ask for it, and for now I shall politely decline.
Please please add PEX support! Thanks
@toxycated
Check out v0.7.1! Updated the links to point at the latest version. BukkitDev file approved!
See the changelog in the description :)
update for 1.8.1 plz? :)
@Hopium
If you'd like I can restrict it to just arrows, or put something in the config allowing you to choose whether or not to allow eggs/snowballs/arrows. Ideas?
I'm thinking something along these lines, but in YML format
RW-in-MobArena:
RW-on-Server:
RW-Projectiles:
now to explain why wolf masters have snowballs :P
Updated to v0.5, woo hoo!