They don't really work - right now, they just stand still. If you punch them a few times, they die and respawn.
Any ideas on what I should make them do? I think I'll make them stare at and/or punch the nearest player tomorrow. I don't know how to make them move properly, as I don't know pathfinding yet.
Moving, I dot see any event for walking for players in the API...
Not really sure if it's there but if it really is... I'm blind :|
Full confession: I'm just making this thread because I'm jealous of bilenmc's thread for his plugins.
I made these plugins for the latest version of Shoghicp's PocketMine server, which features multiworld. The dev release doesn't have a way to add or delete worlds, so I wrote these to test the feature.
Download all <- use if you can't download from the other links.
For all versions
Trampoline: Make the player bounce 4 blocks high when the player steps on a magenta wool block. Works with both 1.2.2 stable and 1.3 dev!
Download: (right-click and choose "Save As") https://raw.github.c.../trampoline.php
Dev release only
These are pretty much useless on the normal release - they might be useful when a new PocketMine is officially released.
To run these, you'll need the dev version of PocketMine, which allows multiworld support.
MultiWorld: The simplest multiworld loader ever! Loads all worlds found under the worlds/ folder of a PocketMine dev installation.
Just copy a world into worlds/, shutdown the server, and reload.
Need a new world generated? Just create a blank folder.