Separate names with a comma.
Comments in 'Plugin Development' started by SpiderPig, Dec 14, 2013.
How would a get the name of a level?
Once you have a block object you can do: $level = $blockObject->level;
Level class have a getter called "getName", you can also get the folder name with getFolderName function.
Is this for future readers?
Dec 15, 2013
That php will now be a very very old api.
It was back in the days where ".phar" was only a dream!!!!
LOL. I get a notification telling me that this was a new post.
Actually, .phar very well exists back in that time.
In fact, it existed for quite awhile.
not with pocketmine... ( im kinda sure of that... if Im wrong, then ill face the truth )
Yep. I'm pretty sure back then pocketmine was a folder with all the API files in it, and plugins were only files with the ".PHP" extension.