EnhancedFishing
Enhanced Fishing
EnhancedFishing brings many improvements to the vanilla minecraft fishing mechanics. First of all, it gives you complete control over a players chance of getting a bite while fishing. You can modify the overall odds, and create custom permission nodes that will grant your users improved odds. It also adds many realistic environmental conditions that affect odds, all of which are configurable. These conditions include:
- Crowding: other fishing hooks within a configurable radius
- Mobs: other living entities (besides the caster) within a configurable radius
- Lightning: all active fishing hooks within a configurable radius get modified odds when lightning strikes.
- Sunrise: fish are more active during sunrise. the exact start and end time as well as the modifier are configurable
- Boat: Being in a boat can affect your odds.
- Rain: This is the same as vanilla minecraft's rain modifier, which operates by checking if lightning *COULD* strike the location of the hook. which requires it to be outdoors and raining.
- Biomes: Every biome can have a custom chance modifier, some sane defaults are set (improved odds in rivers, oceans and beaches, very few fish in deserts).
In addition to this, EnhancedFishing adds REAL support for several new enchantments on fishing rods.
- Efficiency: Improve the chance of getting a bite
- Looting: Find sunken treasure (Configurable loot table included)
- Fortune: Catch more than 1 fish at a time
- Fire Aspect: Catch cooked Fish
- Thorns: Fish hooks deal damage to mobs they hit.
- Power (since 0.0.6): Casts further. at higher levels, it's possible to cast out all your line and lose the bobber.
All of these effects can be disabled globally through the admin, or by using negated permissions of the form: -enhancedfishing.enchantment.looting
Enchanting
As of v0.1.0 Anvil&Book-based enchanting functionality is built into the main plugin. the addon is no longer required and will be automatically disabled if it's found. a new configuration option is included to control this. "enable-anvils". If the plugin finds an incompatible craftbukkit version the functionality will be disabled.
Treasure
The treasure available from the looting enchantment is completely configurable, and in its default state is not all that interesting. If anyone is willing to share their customizations I would consider including them in the plugin by default.
Permissions
enhancedfishing.enchantment.looting
- allows use of 'Looting' enchantmentenhancedfishing.enchantment.fortune
- allows use of 'Fortune' enchantmentenhancedfishing.enchantment.efficiency
- allows use of 'Efficiency' enchantmentenhancedfishing.enchantment.fireaspect
- allows use of 'Fire Aspect' enchantmentenhancedfishing.enchantment.thorns
- allows use of 'Thorns' enchantment
Commands
/efishing reload
- reload config file and loot tables.
Configuration
All of the chance modifiers accept straight numeric values, or multipliers. A fully commented configuration example can be found here.
Tutorial
Troubleshooting
While EnhancedFishing will work with any bukkit version above 1.5.1-R0.2, The AnvilAddon uses internal craftbukkit code, and must be updated for every new bukkit release. Check the Development Builds link below for the most recent AnvilAddon builds.
Source Code & Development Builds
Source code is available on github!
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk
EnhancedFishing Development Builds
Other Plugins
- Build-in-a-Box - self-constructing buildings that can be picked up and relocated.
- Scribe - Transfer enchantments from items to books using an anvil
- JukeLoop - Makes jukesboxes loop, rotate through nearby chests, activated by redstone and much more,
- PotatoBombs - Allows players to craft poisonous potatoes into devastating and hillarious magical landmines.
- SilentAlarms - Makes note blocks silent except to select people, who can hear them at any distance.
- Saddlebags - Adds an inventory to saddled pigs.
- SalvageSmelter - Allows furnaces to smelt down tools and armor.
- Autocrafter - Turn droppers into redstone powered crafting tables.
- Compressors - Turn hoppers into 'block compressors'.
@metalhedd
Ok no errors anymore but I'm still unable to enchant the fishing rod :/
http://streamix.online.fr/dogmine/2013-04-12_15.30.11.png
@angeplay
Did you get the latest dev build of that as well? Jenkins build #14 was done at the same time and should work with it.
Ew looks like the multiworld support broken the anvil addon. I didn't saw it.
Is it working for you?
@angeplay
excellent, I'll release that build on bukkitdev today
Working fine thanks again!
(and yes i'm using multiverse core)
@angeplay
Thanks, I'm still not quite sure why it's throwing the error, I can't seem to reproduce it on my test server. I've uploaded a development build that *might* fix it, but I can't confirm that until I can reproduce the error. Are you using multiverse-core for that? I've never played with any multiworld stuff so I'm not sure if it could be related. As far as I know those worlds should work just like any other (nether/the_end) which seem to work fine for me. :(
If you have a chance try the latest dev build on jenkins and let me know if it changes anything.
@metalhedd
Sorry but what is a stacktrace ?
EDIT: ok It's the "error log" wait 2 mins.
Stacktrace : http://pastebin.com/eLtRdnU7
Also I'm testing it on a windows 2003 server, I will see if it do the same error on the "real" server (linux) but I have to wait for the players to leave. (Reloading causes mass kick for "floating too long")
EDIT2: Same error with the linux server.
@angeplay
That's right for the config file. I'll have to see if I can reproduce that crash you got with the capital letters, sounds wierd.
As for the bite chance, in that scenario its base * boat * sunrise
Edit: Changed my config file to world_The_End: instead of world_the_end and it didn't crash... not sure what that could have been. Are you able to reproduce it, and if so can you provide a stacktrace?
@metalhedd
Thanks, you're fast!
So if I want to disable it in "islandworld", I have to write:
That's right?
(Idk if its a bug but if I write IslandWorld with caps it crashes the plugin)
Also a player asked me, if he's fishing in a boat during sunrise, what's the bite chance?
default * (boat+sunrise) ?
or default * boat * sunrise ?
@angeplay
Dev builds are up with per-world configurations, you may want to remove your config.yml again, or if its heavily customized, you can manually update it pretty easily, there are 2 changes:
the treasure is also per-world but this is done by (optionally) adding a 'worlds' value to each individual item:
if worlds isn't specified the treasure may be found in all worlds.
@metalhedd
Well I saw another plugin wich allow you to have a chance to catch a mob (like treasures), it's nice but I don't really need it.
Also what about entities like primed tnt or wither skull (with looting)?
"expected diamond, was killed by a wither skull"
And is it possible to hide the treasures list from the console when the server start? And an option to activate the plugin only in specific worlds (eg: I would like the default fishing behavior in the skyblock world)
@angeplay
Excellent! enjoy, and remember to pass along any suggestions
@metalhedd
Working :D Thanks now I can put it on my server!
@angeplay
My bad, was too early in the morning for proper testing, I think I tested on the wrong server :P Try the latest dev build of the anvil addon (You should be able to find it from jenkins now) its 0.0.3 and seems to be working for me now.
@metalhedd
I tried with sharpness V ,Knockback 2 and Silk Touch, I got them in creative mode but enchanted the fishing rod in survival.
http://streamix.online.fr/dogmine/fish1.png
http://streamix.online.fr/dogmine/fish2.png
@angeplay
What enchantmented book are you trying to use? are you in creative mode by chance? I just tested on a clean setup and this is what I get when I try a Silk Touch book on a fishing rod: http://i.imgur.com/Oq7Zc62.jpg
seems to be working fine.
@Zoroark173
Are you running Craftbukkit 1.5.1-R0.1 (the beta release)? that's the only version compatible with the anviladdon
@Zoroark173
Paste your error please, it works for me.
@metalhedd
I'm still able to put any enchantment on the fishing rod, also I can't find the anvil addon on your jenkins but the one on bukkitdev seems to be up to date.
The Anvil add-on does not work for me, it throws an error on start-up :L
0.0.4 Fixes the thorns bug, and there is a new version of the anvil addon that should prevent 'unauthorized' enchants. both are available on jenkins and are awaiting approval now.