By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Fishing Rod for PvP, plugin for Pocketmine-MP.
version 2.0.0
Approved
Direct Download How to install?
Switch version
760 Downloads / 1133 Total
5 Reviews
Plugin Description §

FishingRod

FishingRod is an open source plugin and is made for PocketMine-MP 5.x.x.

Note: The fishing rod is designed for PvP and not for fishing.

Installation

Install the file named FishingRod.phar in the/home/plugins/ folder, you can download this file from Poggit.

Developers

Please see CONTRIBUTING.

API

Get the fishing rod

Due to changes in the PocketMine-MP API from version 4 to version 5, now it is not possible to modify some properties of the items that are obtained through pocketmine\item\VanillaItems, now, to preserve these custom properties it is recommended to use the method of the Plugin API. (The "max-durability" property is the only one that now cannot be customized if it is obtained by VanillaItems)

VanillaItems
<?php

use pocketmine\item\VanillaItems; /* Class that contains the methods of the API. */

$fishingRod = VanillaItems::FISHING_ROD(); /* Final item that you can add to any inventory. */
Plugin API
<?php

use MXJosueDev\fishingrod\FishingRodManager; /* Class that contains the methods of the API. */

$fishingRod = FishingRodManager::getFishingRod(); /* Final item that you can add to any inventory. */

Know if a player is fishing

<?php

use MXJosueDev\fishingrod\FishingRodManager; /* Class where the API methods are. */
use pocketmine\Server;

$player = Server::getInstance()->getPlayerExact("iMXJosue"); /* Player example with instance of 'pocketmine/player/Player'. */

$isFishing = FishingRodManager::getInstance()->isFishing($player); /* Returns a boolean value indicating if the player is fishing. */

Attributions

Plugin Icon: Fishing rod icons created by bqlqn - Flaticon

License

MIT

What's new §

It is recommended to upgrade to this version only if you have already upgraded to PocketMine-MP 5.

This update includes the following changes:

  • Bug fixes.
  • Code cleanup.
  • Configuration file changed from "settings.yml" to "config.yml".
  • Internal API changes.
  • New API method for custom item.
  • Performance fixes.
  • Updates for PocketMine-MP 5.x.x.

Full Changelog: 1.0.1...2.0.0


bonbionTR
using v2.0.0
10 Aug 23
Will fishing feature be added?
NovaStark1234
using v2.0.0
10 Jul 23
MXJosueDev
16 Jul 23
Thank you!
Ender-nguyen734
using v2.0.0
06 Jul 23
Plugin will better than if for fishing
MXJosueDev
16 Jul 23
Thanks for the suggestion! I will probably add it in the future. (If PocketMine doesn't add it before)
NhanAZ
using v2.0.0
06 Jul 23
Plugin name, feels like I've been tricked. Implement fishing rods for pvp...
MXJosueDev
16 Jul 23
Why tricked? I detail it in the description.
NhanAZ
Outdated
using v1.0.1
13 Aug 23

Reply to review by :

/ 5
Supported API versions
5.0.0
->
5.15.0
Producers §
  • Collaborators:
    • @MXJosueDev
License §
Categories:
Vanilla Mechanics
Mechanics
Minigame
Permissions
Manage entities
Manage blocks/items

You can leave one review per plugin release, and delete or update your review at any time

/ 5
Loading...