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 fully functional ArmorStands to your Pocketmine-MP Server. Supports the MyPlot Plot-Protection
version 1.2
Approved
Direct Download How to install?
Switch version
228 Downloads / 306 Total
4 Reviews
Plugin Description §

ArmorStandExpanded

Adds a fully functional ArmorStand to your Pocketmine-MP Server

Why "ArmorStandExpanded"?

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.

What can I do with the ArmorStand?

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.

OffHand

The OffHand can also be equipped with the following Items:

  • Arrows
  • Maps
  • Fireworks
  • Shields
  • Totem of Undying

These Things are also put in the OffHand automatically

MainHand

All Items that do not have an allocated Space, as mentioned above, are placed in the MainHand

How do I get my stuff back?

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...)

How can I break the armor stand?

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

How can i set the Pose?

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

What about the PlotProtection?

Since the ArmorStand is usually not implemented in Pocketmine-MP, it is not checked by the MyPlot PlotProtection.

ArmorStandExpanded does this for you.

Events

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();
        }
    }

ToDo

  • [x] Add Events for equip, remove, change Pose, place and break
  • [ ] Add some additional Functions and Gadgets
  • [ ] ... (Make suggestions 😉)

Thanks

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

What's new §
  • Add Events for the ArmorStand
  • Fix collaboration with other Entity-Plugins. They can be beaten now ;-)

AtomicCityBuild
using v1.2
13 Oct 20
Works perfekt! Thank you for this awesome plugin
HighTecDev
13 Oct 20
Thank you for this awesome Review ;-)
brokiem
using v1.2
13 Oct 20
GodWeedZao
using v1.1
12 Oct 20
i didnt used plugin but it should be perfec :D
HyperEnte-PHP
using v1.1
12 Oct 20
Very nice for faction / plot servers :D
HighTecDev
12 Oct 20
Thats right :-) Thank you

Reply to review by :

Supported API versions
3.4.0
->
3.15.0
License §
Categories:
General
Mechanics
Permissions
Manage entities
Manage blocks/items

You can leave one review per plugin release, and delete or update your review at any time

Loading...