Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mxjosuedev/fishingrod
Fishing Rod for PvP, plugin for Pocketmine-MP 5.x.x
https://github.com/mxjosuedev/fishingrod
fishing fishing-rod php plugin pmmp pocketmine pocketmine-mp pocketmine-mp-plugin pocketmine-php pocketmine-plugin pocketmine-plugins rod
Last synced: 3 months ago
JSON representation
Fishing Rod for PvP, plugin for Pocketmine-MP 5.x.x
- Host: GitHub
- URL: https://github.com/mxjosuedev/fishingrod
- Owner: MXJosueDev
- License: mit
- Created: 2022-02-23T03:45:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T06:46:34.000Z (over 1 year ago)
- Last Synced: 2024-10-09T23:20:18.278Z (3 months ago)
- Topics: fishing, fishing-rod, php, plugin, pmmp, pocketmine, pocketmine-mp, pocketmine-mp-plugin, pocketmine-php, pocketmine-plugin, pocketmine-plugins, rod
- Language: PHP
- Homepage:
- Size: 70.3 KB
- Stars: 4
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![](https://poggit.pmmp.io/shield.state/FishingRod)](https://poggit.pmmp.io/p/FishingRod) [![](https://poggit.pmmp.io/shield.api/FishingRod)](https://poggit.pmmp.io/p/FishingRod) [![](https://poggit.pmmp.io/shield.downloads/FishingRod)](https://poggit.pmmp.io/p/FishingRod)
# FishingRod
FishingRod is an open source plugin and is made for [PocketMine-MP](https://github.com/pmmp/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](https://poggit.pmmp.io/p/FishingRod).## Developers
Please see [CONTRIBUTING](https://github.com/MXJosueDev/FishingRod/blob/main/CONTRIBUTING.md).
### 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
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](https://choosealicense.com/licenses/mit/)