Allesco
Minecrafter
Hallo,
Ich benötige Hilfe. Ich hab mit Skript (und dem Add-on SKUtilities) einen Befehl in Minecraft erstellt, der ein Shell Script ausführen soll, welches einen anderen Minecraftserver startet.
Jetzt ist die Frage, wie der Inhalt des Scripts auszusehen hat.
Ich habe folgendes probiert:
Ich bekomme das als Output:
Wäre schön, wenn mir jemand helfen könnte.
MfG, Allesco
Ich benötige Hilfe. Ich hab mit Skript (und dem Add-on SKUtilities) einen Befehl in Minecraft erstellt, der ein Shell Script ausführen soll, welches einen anderen Minecraftserver startet.
Jetzt ist die Frage, wie der Inhalt des Scripts auszusehen hat.
Ich habe folgendes probiert:
Bash:
#!/bin/sh
screen -A -m -d -S Community
screen -S Community -X stuff $'cd /root/Minecraft/Matrix/Community/\n'
screen -S Community -X stuff $'java -Xmx1G -jar spigot_1.8.8.jar\n'
Ich bekomme das als Output:
Console:
root@vmd41271:~/Minecraft/Matrix/Lobby# /root/Minecraft/Matrix/Community/
bash: /root/Minecraft/Matrix/Community/: Is a directory
root@vmd41271:~/Minecraft/Matrix/Lobby# -Xmx1G -jar spigot_1.8.8.jar
bash: -Xmx1G: command not found
root@vmd41271:~/Minecraft/Matrix/Lobby#
Wäre schön, wenn mir jemand helfen könnte.
MfG, Allesco