LoginSignup
1
0

More than 1 year has passed since last update.

pmmpをソースコードから実行する

Last updated at Posted at 2021-10-15

環境

  • windows

やり方

pocketmine

まずpocketmineをclone。cloneするブランチやタグを指定してあげてください
--recursiveつけないとあとから怒られるから注意
git clone --recursive https://github.com/pmmp/PocketMine-MP.git -b [ブランチ名(4.0.0-BETA5とか)]
そしたらこんな感じ
image.png

php8のbin

ここから持ってきます
Animation.gif
展開して中身のbinだけとりだして、PocketMine-MP以下に配置します
こんな感じなってると思います
image.png

composer

つぎにここからcomposerダウンロードしてきて、PocketMine-MP/にcomposer.pharを入れます
download_composer.gif

D:\~~\PocketMine-MP\bin\php\php.exe D:\~~\PocketMine-MP\composer.phar installを実行

↑のやり方だとdevチャンネルのcomposerらしく、問題が発生する場合があるとご指摘いただきました。
インスートーラーを使用するか、https://getcomposer.org/download/https://getcomposer.org/composer-stable.pharから安定版がダウンロードできるようです。

サーバーを起動

D:\~~\PocketMine-MP\bin\php\php.exe D:\~~\PocketMine-MP\src\pocketmine\PocketMine.php

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0