Hi my name is jerlegoman can anyone help me set up a automatic refilling chest plugin. all I know about the chest api is you have to add it as a tile almost like a sign I guess. thanks, from, jerlegoman
Hello. I've been working with chests for the last two months or so and I plan to get around to this really soon, but school has gotten in the way of many of my projects :/
It's compatible with any version of PocketMine running API 1.x. This plugin works with PocketMine 1.4, 1.5, and 1.6, but it will not work with the PHP7 version of 1.6. Be careful when downloading PocketMine Bleeding phars on the Jenkins server. Be sure to download the ones that are NOT labelled PHP7 or else you won't be able to do anything.
Thanks Is there an page anywhere saying what we should do to our plugins to prepare them for php7? also: PHP: foreach($level->getTiles() as $t){if($t instanceof Chest){$this->doStuff;}} Would that work to get all chests in a level instead of just /refill ones? Please pretend $level points to a valid level.
No, because the new API is not completed yet. Please note that PHP 7 doesn't break the plugins. It is the PocketMine update that adapts new features in PHP 7 that break backwards compatibility. I believe @shoghicp or @Intyre will write something about the API changes. If they don't, or if they don't write a readable one, I'll write one