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
Adds a fully functional ArmorStand to your Pocketmine-MP Server
At the moment you get a fully functional ArmorStand just like you would expect an fully functional ArmorStand. The Reason for the "Expanded" is that this Plug-in is not yet at the end of its Development. I plan to add some additional Functions and Gadgets.
Let yourself be surprised.
As you would surely expect, you can equip it with your Armor for Storage or to show off. All you need to do is take your Item in hand and right-click on the ArmorStand. The armor Parts are immediately put in their correct Place.
The OffHand can also be equipped with the following Items:
These Things are also put in the OffHand automatically
All Items that do not have an allocated Space, as mentioned above, are placed in the MainHand
Just like you got it on. Right Click on the Part you want to have and that's it.
The OffHand item can only be taken when the MainHand is empty. (Its a secret TODO, pshh...)
Its an Entity. Treat it like an Entity.
Hit the ArmorStand until it breaks. That’s it. All items are dropped along with the ArmorStand
Thats easy. Just give it a RightClick while you are sneaking.
The armor stand has 12 poses that are switched through with each right click
Since the ArmorStand is usually not implemented in Pocketmine-MP, it is not checked by the MyPlot PlotProtection.
ArmorStandExpanded does this for you.
ArmorStandExpanded now have some Events you can use for your further ServerLogic. They are under the namespace HighTec\ArmorStandExpanded\events.
Very simple to Use, you can suprise your Players with unusual Drops, forbids them to ruin the pretty Part and so on...
/**
* @param ArmorStandExpandedBreakEvent $ev
*/
public function onBreak(ArmorStandExpandedBreakEvent $ev){
$ev->setDrops([ItemFactory::get(Item::DIAMOND_AXE), ItemFactory::get(Item::CAKE)]);
}
/**
* @param ArmorStandExpandedChangeItemEvent $ev
*/
public function onItemChange(ArmorStandExpandedChangeItemEvent $ev){
$this->doSomethingWithTheNewItem($ev->getNewItem());
$ev->setCancelled();
}
/**
* @param ArmorStandExpandedPlaceEvent $ev
*/
public function onPlace(ArmorStandExpandedPlaceEvent $ev){
if(!$this->checkIfThePlayerIsToughEnoughToUseThis($ev->getPlayer())){
$ev->setCancelled();
}
}
/**
* @param ArmorStandExpandedPlayerChangePoseEvent $ev
*/
public function onChangePose(ArmorStandExpandedPlayerChangePoseEvent $ev){
if(!$this->checkIfNewPoseIsNotNFSW($ev->getNewPose())){
$ev->setCancelled();
}
}
If you have any Requests or Suggestions, or if you notice an Error, feel free to contact me via Discord or open a new Issue.
DiscordID: HighTec#7159
Reply to review by :
You can leave one review per plugin release, and delete or update your review at any time