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 1.0.1
Approved
Direct Download How to install?
52 Downloads / 52 Total
Plugin Description §

FishingRod

FishingRod is an open source plugin and is made for PocketMine-MP 4.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

<?php

use pocketmine\item\VanillaItems; /* Class where the API methods are. */

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

Know if a player is fishing

<?php

use 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::isFishing($player); /* Returns a boolean value indicating if the player is fishing. */

License

MIT

Supported API versions
4.0.0
->
4.17.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...