All Projects → pmmp → ExamplePlugin

pmmp / ExamplePlugin

Licence: other
Example PocketMine-MP plugin, showing some basic features of the API

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to ExamplePlugin

AntiInstaBreak
PocketMine-MP plugin implementing instabreak anti-cheat which was originally built-in.
Stars: ✭ 16 (-38.46%)
Mutual labels:  pocketmine-plugin, pocketmine-mp-4
SPL
[deprecated] Miscellaneous PHP library files required by PocketMine-MP and related projects
Stars: ✭ 13 (-50%)
Mutual labels:  phpstan-l8
InfoAPI
Placeholder registry and formatting API.
Stars: ✭ 27 (+3.85%)
Mutual labels:  pocketmine-plugin
Offhand
A PocketMine-MP Plugin that implements OffHand (and OffHandInventory)
Stars: ✭ 36 (+38.46%)
Mutual labels:  pocketmine-mp-4
PerWorldInventory
A full-featured per world inventory plugin for PocketMine-MP.
Stars: ✭ 14 (-46.15%)
Mutual labels:  pocketmine-plugin
PocketAI
Addon compatible AI plugin for PocketMine-MP
Stars: ✭ 25 (-3.85%)
Mutual labels:  pocketmine-plugin
ScoreboardsPE
A PocketMine-MP plugin that let you easily send scoreboards by using commands on your server who comes with a rich API for developers.
Stars: ✭ 39 (+50%)
Mutual labels:  pocketmine-plugin
ProperDuels
A properly made duels plugin
Stars: ✭ 16 (-38.46%)
Mutual labels:  pocketmine-plugin
SimpleMapRenderer
A PocketMine-MP Plugin that implements FilledMap
Stars: ✭ 25 (-3.85%)
Mutual labels:  pocketmine-plugin
FormAPI-PMMP
Create a Form for Minecraft Bedrock in PocketMine-MP
Stars: ✭ 14 (-46.15%)
Mutual labels:  pocketmine-plugin
PocketMine-MP-Plugins
Repository full of goodies (all my awesome PocketMine-MP Plugins)
Stars: ✭ 33 (+26.92%)
Mutual labels:  pocketmine-plugin
Math
PHP library containing math related code used in PocketMine-MP
Stars: ✭ 35 (+34.62%)
Mutual labels:  phpstan-strict
PocketMine-Plugins
A bunch of PocketMine plugins that aren't useful enough for their own repo
Stars: ✭ 13 (-50%)
Mutual labels:  pocketmine-plugin
pmforms
Form API library for PocketMine-MP plugins
Stars: ✭ 40 (+53.85%)
Mutual labels:  pocketmine-mp-4
RakLib
RakNet server implementation written in PHP
Stars: ✭ 58 (+123.08%)
Mutual labels:  phpstan-strict
NpcDialog
🗽 PocketMine-MP virion to add dialogs to entities easily
Stars: ✭ 55 (+111.54%)
Mutual labels:  pocketmine-plugin
EasyEdit
A feature-rich World Editor for PocketMine-MP
Stars: ✭ 26 (+0%)
Mutual labels:  phpstan-l8
Battles
Extremely extendable and customisable duels plugin designed for PocketMine-MP servers. 🚀 ⚔️
Stars: ✭ 13 (-50%)
Mutual labels:  pocketmine-plugin
Emotes
This plugin allows players to use their favorite emotes on the server!
Stars: ✭ 15 (-42.31%)
Mutual labels:  pocketmine-plugin
SkyBlock
🦅 SkyBlock for PocketMine-MP
Stars: ✭ 102 (+292.31%)
Mutual labels:  pocketmine-plugin

ExamplePlugin

This repository contains a basic example of a modern PocketMine-MP plugin, and a handful of the API features.

PHPStan analysis

This repository shows an example setup for standalone local analysis of a plugin using PHPStan.

It uses Composer for autoloading, allowing you to install PHPStan extensions such as phpstan-strict-rules. The configuration for this can be seen in phpstan/composer.json.

Setting up PHPStan

Assuming you have Composer and a compatible PHP binary available in your PATH, run:

cd phpstan
composer install

Then you can run PHPStan exactly as you would with any other project:

vendor/bin/phpstan analyze

Updating the dependencies

composer update

GitHub Actions

You can find a workflow suitable for analysing most plugins using this system in .github/workflows/main.yml.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].