Suppose I edited the PMMP 1.14.60 core(that is, I redid it from phar to zip and unpacked it to get the src and vendor folders). What should I do with core to install it on the server ???? P.S. I used an English translator
I want to edit the server core (PocketMine-MP 1.14.60). But I do not know how to put it on the server later
1. There aren't anything called PocketMine-MP Core. It's called A server software ok? One more thing! When you get a bug or crash or error, etc in your edited server software. Pmmp may don't help you. Don't try to do that. Also Pmmp is stable now, modify it may brings a lot of troubles to you. Important: Pmmp is PocketMine-MP if you don't know 2. Give me a reason about why do you want to modify Pmmp? To modify Pmmp, you need a reason. Pmmp is very stable, also maybe its logic may not really correct but it's ok for me. 3. I will teach you now PocketMine-MP.phar is a phar. In software, a PHAR (PHP Archive) file is a package format to enable distribution of applications and libraries by bundling many PHP code files and other resources (e.g. images, stylesheets, etc.) into a single archive file. For more information: https://en.m.wikipedia.org/wiki/PHAR_(file_format) So now you need the source code of pmmp. Take one from your server phar and converts it to zip extension. Remember: Don't take the one from github, if you want, you must ensure that your phar has vendors folder (Not an empty folder lol) After that you unpack the file. Now you can edit what you want but it will be getting hard quickly. After you had modified it, you need to compress it to zip extension. Then you convert it to phar! Important: Phar has stub, for example: PHP: <?phprequire("phar://" . __FILE__ . "/src/pocketmine/PocketMine.php");__HALT_COMPILER(); If your phar don't register a stub like this, it won't load. That's all. My English is the horriblest thing in the world :'( If you want to run pmmp from source code, it is another help help for you
you don't convert phar to zips you build pm get dependencys for composer install the files required modify to your liking build it anyways most things can be accomplished via plugins as well so why waste time editing it
I want to change the generation of the server (on another forum they threw the normal.php file. This file needs to be replaced with another file in the server software to change the generation)
That is, I need to change the server software format from phar to zip, then unzip and edit server software, and then compress the vendor and src folder to zip, and then change the format from zip to phar ???
You don't need to modify the source for changing of world generation You can use plugins like this https://git.ad5001.eu/Ad5001/BetterGen It is highly recommended that you don't modify the source