Client de console MinecraftClient de console Minecraft
À propos et Fonctionnalités
Installation
Utilisation
Configuration
ChatBots
Aidez-nous à traduire
  • Afrikaans
  • اللغة العربية
  • Català
  • Čeština
  • Dansk
  • Deutsch
  • Ελληνικά
  • English
  • Español
  • Suomi
  • Français
  • עברית
  • Magyar
  • Italiano
  • 日本語
  • 한국어
  • Latviešu
  • Nederlands
  • Norsk
  • Polski
  • Português (Brasil)
  • Português (Portugal)
  • Română
  • Русский
  • Српски (Cyrillic)
  • Svenska
  • Türkçe
  • Українська
  • Tiếng Việt
  • 简体中文
  • 繁體中文
GitHub
À propos et Fonctionnalités
Installation
Utilisation
Configuration
ChatBots
Aidez-nous à traduire
  • Afrikaans
  • اللغة العربية
  • Català
  • Čeština
  • Dansk
  • Deutsch
  • Ελληνικά
  • English
  • Español
  • Suomi
  • Français
  • עברית
  • Magyar
  • Italiano
  • 日本語
  • 한국어
  • Latviešu
  • Nederlands
  • Norsk
  • Polski
  • Português (Brasil)
  • Português (Portugal)
  • Română
  • Русский
  • Српски (Cyrillic)
  • Svenska
  • Türkçe
  • Українська
  • Tiếng Việt
  • 简体中文
  • 繁體中文
GitHub
  • À propos & Fonctionnalités
  • Installation
  • Utilisation
  • Configuration
  • Créer un Script Simple
  • Chat Bots
  • Creating Chat Bots
  • Contribuer

Créer un Script Simple

Un script simple est un fichier texte avec une commande par ligne. See the Internal Commands section, or type /help in the console to see the available commands. Toutes les lignes commençant par # sont ignorées et traitées comme un commentaire.

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).

Exemple

exemple-script.txt: Dire bonjour, attendre 60 secondes et se déconnecter du serveur.

# C'est un exemple de script pour Minecraft Console Client
# Les lignes commençant par "#" sont ignorées et traitées comme un commentaire.

send Bonjour ! Je suis un bot scripté grace à Minecraft Console Client.
wait 60
send J'y vais maintenant. Bisous :)
exit

See the example scripts folder for more examples.

If you need more advanced behavior, see Creating Chat Bots.

Modifier cette page
Prev
Configuration
Next
Chat Bots