My name is BilenMC and you may reconize me from my topic about MCPECreateServer. Well anyway I am here to ask for your help on coding plugins. I know that they are coded in PHP but i need some tutorials directley related to Minecraft Pocket Edition.
Not always. PHP is *primarily* a web design lamguage, but it can be used for many other applications. PocketMine-MP is written in PHP. Therefore, its plugins must also be written in PHP.
BTW, @OP, YOU SHOULD TRY PRESSING THE CAPS LOCK KEY. YOURS APPEARS TO BE ON. SO WHEN I PRESS THE CAPS LOCK KEY, it's now easier for people to see what I'm saying. Also, now it doesnt feel like im SHOUTING at you. See how that works?
The PocketMine-MP code is entirely written in PHP, and is easy to extend. The code has been profiled and optimized, and everything that is done is coded to be efficient
kk thanks but could you send me some tutorials directed to mcpe
The PocketMine-MP code is entirely written in PHP, and is easy to extend. The code has been profiled and optimized, and everything that is done is coded to be efficient
So I have been learning php (inside html) and I was wondering if you start a regular php program (not in html) like this:
My name is BilenMC and you may reconize me from my topic about MCPECreateServer. Well anyway I am here to ask for your help on coding plugins. I know that they are coded in PHP but i need some tutorials directley related to Minecraft Pocket Edition.
Well thats all for now,
-True Thanks BilenMC
Tldr version of any sort of plugin development:
Listen to events, do something when that event happens.
PHP isn't as popular a choice among the forums as a programming language to learn as Java or C++, and considering that custom servers require third party tools in most cases to connect to, the numbers of people who might make those plugins is lower. Maybe if someone made a Java version that ran using Java 1.5 (so it can run on iOS using Saurik's iOS port of Java), then some more people might be enticed to make plugins for it...but who'd make such a program? Certainly not Intyre, an android developer none of you have ever heard of, and I...
Rollback Post to RevisionRollBack
Did you know I make music? Just click my logo to listen to my awesome Electronic beats!
PHP isn't as popular a choice among the forums as a programming language to learn as Java or C++, and considering that custom servers require third party tools in most cases to connect to, the numbers of people who might make those plugins is lower. Maybe if someone made a Java version that ran using Java 1.5 (so it can run on iOS using Saurik's iOS port of Java), then some more people might be enticed to make plugins for it...but who'd make such a program? Certainly not Intyre, an android developer none of you have ever heard of, and I...
True but.
1. Lets face it. Its shoghicp that decided to use PHP(and I think he is amazing)
2. Using PM as s source base, build a java version should be easy if you are a good developer.
3. PHP is easy to learn. So more people can actually make plugins.
But I agree its a bad language when you are coding programs outside a webserver. Unless you know it very well.
Rollback Post to RevisionRollBack
Best Regards, -- sekjun9878 <[email protected]> - PocketMine Team Developer
Its interesting because my programming knowledge comes from 40% basic programming knowledge(Language independent) and 40% Google (Language Independent). and Language specific knowledge is about 20%. So I can switch to another language any time I want.
Rollback Post to RevisionRollBack
Best Regards, -- sekjun9878 <[email protected]> - PocketMine Team Developer
Its interesting because my programming knowledge comes from 40% basic programming knowledge(Language independent) and 40% Google (Language Independent). and Language specific knowledge is about 20%. So I can switch to another language any time I want.
I can only do Java and C++ , But Im still very begginer at both.
My name is BilenMC and you may reconize me from my topic about MCPECreateServer. Well anyway I am here to ask for your help on coding plugins. I know that they are coded in PHP but i need some tutorials directley related to Minecraft Pocket Edition.
Well thats all for now,
-True Thanks BilenMC
Not always. PHP is *primarily* a web design lamguage, but it can be used for many other applications. PocketMine-MP is written in PHP. Therefore, its plugins must also be written in PHP.
BTW, @OP, YOU SHOULD TRY PRESSING THE CAPS LOCK KEY. YOURS APPEARS TO BE ON. SO WHEN I PRESS THE CAPS LOCK KEY, it's now easier for people to see what I'm saying. Also, now it doesnt feel like im SHOUTING at you. See how that works?
Check out my iOS Mods!
-
View User Profile
-
View Posts
-
Send Message
Retired StaffSo I have been learning php (inside html) and I was wondering if you start a regular php program (not in html) like this:
<?php (what ever the code is) ?>
Click on an image to view the section rules!









-
View User Profile
-
View Posts
-
Send Message
Curse PremiumTldr version of any sort of plugin development:
Listen to events, do something when that event happens.
There, wasn't too difficult, right?
If you want a sample plugin, check out shoghi's WorldEditor plugin at https://github.com/shoghicp/WorldEditor/blob/master/WorldEditor.php
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumhttps://github.com/shoghicp/PocketMine-MP/wiki/Plugin-Support = How the whole thing works.
https://github.com/shoghicp/PocketMine-MP/wiki/Plugin-Examples = Test Example
https://github.com/shoghicp/PocketMine-MP/tree/documentation = API documentation
There you go. If you need additional help with your new iPhone app, feel free to create an issue at
https://github.com/shoghicp/PocketMine-MP/issues
or Email us at [email protected] for plugin related issue or [email protected] for PM Core issues or Protocol issues.
Best Regards
-- sekjun9878 <[email protected]> - PocketMine Team Developer
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumTrue but.
1. Lets face it. Its shoghicp that decided to use PHP(and I think he is amazing)
2. Using PM as s source base, build a java version should be easy if you are a good developer.
3. PHP is easy to learn. So more people can actually make plugins.
But I agree its a bad language when you are coding programs outside a webserver. Unless you know it very well.
-- sekjun9878 <[email protected]> - PocketMine Team Developer
Check out my iOS Mods!
-
View User Profile
-
View Posts
-
Send Message
Curse Premium-- sekjun9878 <[email protected]> - PocketMine Team Developer
There are modules required by PocketMine that havent been ported to iOS. So at the moment, no, it wont work.
Check out my iOS Mods!