- Welcome to the plugin ArmorEffect created by Refaltor.
It is a plugin that allows to easily add effects when the player wears armor.
-
Vous devez télécharger le plugin sur poggit puis le mettre dans le dossier
'plugins' sur votre serveur PocketMine-MP
- Pour get l'API de ArmorEffect:
$api = $this->getServer()->getPluginManager()->getPlugin('ArmorEffect');
- Functions:
$api = $this->getServer()->getPluginManager()->getPlugin('ArmorEffect');
$array = $api->getAllArmors(); // array
$armor = $api->getArmorFromString('317:0'); // array
$effects = $api->getEffectByArmor('317:0'); // array
Creator: Refaltor
Github: https://github.com/Refaltor77
Youtube: https://www.youtube.com/channel/UCN5uYUbzlozB9G5L5ph_eDw