在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):agowa338/MinecraftSystemdUnit开源软件地址(OpenSource Url):https://github.com/agowa338/MinecraftSystemdUnit开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):MinecraftSystemdUnitSystemd Unit file for Minecraft Server Installation
Setup InstanceEach server has it's own subdirectory of
RAM allocationWith Example # /opt/minecraft/ftb-beyond/server.conf
MCMINMEM=512M
MCMAXMEM=2048M Feed the BeastSome Feed the Beast packs include a cd /opt/minecraft/ftb-beyond
su -c 'bash /opt/minecraft/ftb-beyond/FTBInstall.sh' minecraft UsageEnable auto-start Minecraft server on bootsystemctl enable minecraft@ftb-beyond Disable auto-start Minecraft server on bootsystemctl disable minecraft@ftb-beyond Start Minecraft server manuallysystemctl start minecraft@ftb-beyond Stop Minecraft server manuallysystemctl stop minecraft@ftb-beyond Connecting to the Minecraft server consoleTo enter the console, All screen sessions are owned by the # This will attach to the Minecraft server called `ftb-beyond`
su -c 'screen -r mc-ftb-beyond' minecraft Note: To detach (exit) from the session, press CTRL + A followed by D. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论