Fishing Net Chest

http://image.noelshack.com/fichiers/2013/31/1375129762-fishing-net-post.jpg

Bored of fishing ? Ever wanted to throw a fishing net deep in the ocean and let it fish for you while your finding some diamonds ? Fishing Net Chest is made for you !

Simply place a chest surrounded by X blocks of water (where X is changeable in the config, by default 2) and you've created a fishing chest block !

It would be too easy if there is just that to do, isn't it ? Just had to add some wool block on a certain face of the chest (both are configurable, set to 16 and DOWN by default) to start catching some fish !

The formula to catch a fish is this : base + water_block_in_radius_of_chest * water_block_multiplier
Where base, radius and water_block_multiplier is in the config file

Screenshots (examples)

http://image.noelshack.com/fichiers/2013/31/1375130257-2013-07-29-22-34-43.png http://image.noelshack.com/fichiers/2013/31/1375130256-2013-07-29-22-35-09.png

Video


Commands

commanddescriptionpermission
/fnc purgefileReset the chest.yml file (contains all the fishing chest)netchest.command.purgefile
/fnc debugPoint your cursor to a fishing chest and do that command, it will print some info about this chestnetchest.command.debug
/fnc reloadJust reload the config file. Useful if you made some change in the parameternetchest.command.reload

Permissions

Permission system is not really developed yet, but here's a beginning

permissiondescription
netchest.createneeded to create a fishing net chest
netchest.breakneeded to break a fishing net chest

Configuration File

# max wool block of the net
max_net_block: 16  

# choose the type of net block. See http://jd.bukkit.org/rb/apidocs/org/bukkit/Material.html for all block type
net_block_type: WOOL

# number of water block needed to recognize a chest as a fishing chest (only when the chest is placed)
water_block_needed_chest_creation: 2

# radius to search for water block
water_search_radius: 10

# face to start looking for wool block
starting_net_face: DOWN

# well, i think you've understand :D
max_chest_per_player: 3

# as explained above, the base chance to catch fish
base_chance: 30

# see above
water_chance_multiplier: 0.01

# delay in second between each excution of the "catch a fish ?" code.  300 = 5 minutes
scheduler_delay_in_second: 300

Tell me if you've got any idea for this plugin ! Also don't forget to tell me if you find a bug
And I'm really sorry for my bad english, if you find an error, just tell me I'll correct that ;)


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    62711
  • Created
    Jul 29, 2013
  • Last Released File
    Never
  • Total Downloads
    2,067
  • License

Categories

Members

Recent Files