Ein simples Skript erstellen
Ein simples Skript ist eine Text-Datei mit einem Befehl pro Zeile. See the Internal Commands section, or type /help in the console to see the available commands. Jede Zeile die mit # bginnt wird ignoriert und wie ein Kommentar behandelt.
Application variables defined with the set command or in the [AppVars] config section can be used. The following read-only variables are also available: %username%, %login%, %serverip%, %serverport%, %datetime%, %players% (%players% expands to the current online player names separated by commas, or an empty string when not connected).
Beispiel
beispiel-skript.txt: Sende eine Hallo-Nachricht, warte 60 Sekunden und verlasse den Server.
# Dies ist ein Beispiel-Skript für den Minecraft Konsolen Client
# Jede Zeile die mit "#" beginnt wird ignoriert und wie ein Kommentar behandelt.
send Hallo Welt! Ich bin ein Bot, der mit dem Minecraft Konsolen Client programmiert wurde.
wait 60
send Verlasse jetzt. Tschüss :)
exitSee the example scripts folder for more examples.
If you need more advanced behavior, see Creating Chat Bots.
