Telegram Control

Telegram Control

741 Downloads

Telegram Control

Control Minecraft from Telegram. First try with Forge.

Minecraft versions

1.16.1, 1.15.2, 1.12.2

Broadcast

  • Server start
  • Server stop
  • Player login
  • Player logout
  • Player death
  • Player advancement
  • Player chat
  • Player whisper
  • Player commands
  • Player dimension change

Commands

  • /status: Show the server status (name, version, game type, difficulty, players, start time, JVM free memory, JVM max memory, JVM total memory).
  • /players: Show the player list.
  • /cmd <command>: Execute command.
  • /actions: Show the configurable actions.
  • /reload: Reload configuration from config/telegram-control/config.json.

Installation

  • Create a telegram bot in Telegram with @BotFather
  • Use @GetChatBot to get your chat Id
  • Update the file config/telegram-control/config.json
  • Set your token in token property
  • Set your chat id in chatIds property

Actions examples

1.12.2

"actions": {
    "❤ Heal": "effect ${player} minecraft:instant_health",
    "💥 Damage": "effect ${player} minecraft:instant_damage",
    "🛸 Levitation": "effect ${player} minecraft:levitation 10",
    "🤢 Poison": "effect ${player} minecraft:poison 10",
    "⚡ Lightning": "execute ${player} ~0 ~0 ~0 /summon lightning_bolt @p",
    "🙈 Blindness": "effect ${player} minecraft:blindness 10",
    "☁ Go up": "tp ${player} ~ ~150 ~",
    "😵 Nausea": "effect ${player} minecraft:nausea 10",
    "🩲 Clear inv.": "clear ${player}",
    "☠ Kill": "kill ${player}",
    "💤 Jail": "spawnpoint ${player} -1022 129 55;tp ${player} -1022 129 55",
    "🦶 Kick": "kick ${player}",
    "🔒 Ban": "ban ${player}"
  }

1.15.2

"actions": {
    "❤ Heal": "effect give ${player} minecraft:instant_health",
    "💥 Damage": "effect give ${player} minecraft:instant_damage",
    "🛸 Levitation": "effect give ${player} minecraft:levitation 10",
    "🤢 Poison": "effect give ${player} minecraft:poison 10",
    "⚡ Lightning": "execute positioned as ${player} run summon minecraft:lightning_bolt",
    "🙈 Blindness": "effect give ${player} minecraft:blindness 10",
    "☁ Go up": "tp ${player} ~ ~150 ~",
    "😵 Nausea": "effect give ${player} minecraft:nausea 10",
    "🩲 Clear inv.": "clear ${player}",
    "☠ Kill": "kill ${player}",
    "💤 Jail": "spawnpoint ${player} -1022 129 55;tp ${player} -1022 129 55",
    "🦶 Kick": "kick ${player}",
    "🔒 Ban": "ban ${player}"
  }

Misc