Dev memo Pistachio Minecraft server - pistachiostudio/main GitHub Wiki
MC server 開発メモ
今後の展望
下の管理手順を自動で実行できるようにする。
- Shell script で自動化(最新へのアップデート)
- サーバーのスペックによって、最大メモリなどを自動で指定する
- CLIアプリケーションを作ってそれでアップデートできるようにする
Plugin 管理
参考:https://mcpoteton.com/mcplugin/geysermc#index_id6
- プラグインをダウンロード
cd /opt/minecraft_server/plugins
# remove existing files
rm Geyser-Spigot.jar floodgate-spigot.jar
# dl
wget https://ci.opencollab.dev//job/GeyserMC/job/Geyser/job/master/lastSuccessfulBuild/artifact/bootstrap/spigot/target/Geyser-Spigot.jar
wget https://ci.opencollab.dev//job/GeyserMC/job/Floodgate/job/master/lastSuccessfulBuild/artifact/spigot/target/floodgate-spigot.jar
# 所有者&グループ変更
chown minecraft:minecraft Geyser-Spigot.jar
chown minecraft:minecraft floodgate-spigot.jar
- MC server を再起動
dynmap
- 以下のサイトから最新版をダウンロード
- plugins フォルダに配置
- 所有者&グループ変更
- MC server 再起動