Benedikt05 / BetterAltay

A server software for Minecraft: Bedrock Edition in PHP
GNU Lesser General Public License v3.0
81 stars 39 forks source link

starting the server from source code #23

Closed Deflan7 closed 2 years ago

Deflan7 commented 2 years ago

Good afternoon, how do I start the server from the source code? I want to make changes to the kernel myself. I didn't work with the composer. What do I need to do to update the dependencies and create a vendor, or whatever?

I started compouser and got the following response:

"Your requirements could not be resolved to an installable set of packages."

mukeenanyafiq commented 2 years ago

Try to download the BetterAltay.phar and start.sh or start.cmd from the releases and source code files Don't forget for the bin folder that was filled with php files

Then run start.sh or start.cmd

NOTE (If you didn't know): start.sh can only be executed by bash command in Linux start.cmd can be executed by opening the files in Windows

Deflan7 commented 2 years ago

The problem is that I need to run src.

mukeenanyafiq commented 2 years ago

for what?

Deflan7 commented 2 years ago

I make the changes I need. If I was satisfied with the current features, I would use the version from the release

Benedikt05 commented 2 years ago

https://github.com/Benedikt05/BetterAltay/blob/master/BUILDING.md (Replace https://github.com/pmmp/PocketMine-MP.git with https://github.com/Benedikt05/BetterAltay.git)

Deflan7 commented 2 years ago

no work :(

Deflan7 commented 2 years ago

Installing dependencies from lock file Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems. To enable extensions, verify that they are enabled in your .ini files:

Benedikt05 commented 2 years ago

It does. What error do you get?

Deflan7 commented 2 years ago

I've tried with different forks and even the official pmmp repository

Deflan7 commented 2 years ago

Your requirements could not be resolved to an installable set of packages.

mukeenanyafiq commented 2 years ago

try doing an composer update?