MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.57k stars 382 forks source link

How to code a script? #1274

Closed nicecraftz closed 3 years ago

nicecraftz commented 3 years ago

I am quite struggling, I installed the .exe file and logged in then closed it and went into the configuration file and enabled the terrain movement but it's not working, am I doing something wrong? could you help me? Thanks

nicecraftz commented 3 years ago

also, i would like so the ConsoleClient can move in the AFK pool, I don't want him to be still cuz the admin could see.

nicecraftz commented 3 years ago

how can I make so the player moves around the AFK pool? i don't see anything about the scripting

ORelio commented 3 years ago

Hi,

  1. Help and sample files are here: https://github.com/ORelio/Minecraft-Console-Client/tree/master/MinecraftClient/config
  2. Minecraft Console Client doesn't handle water flows. Just schedule a script with a few move instructions instead.
  3. To schedule a script... see help and sample files 😉
nicecraftz commented 3 years ago

still haven't figured it out how to make a script in 16 hours ;_;

ORelio commented 3 years ago

put your instructions in a text file then user /script myscript.txt https://github.com/ORelio/Minecraft-Console-Client/blob/master/MinecraftClient/config/sample-script.txt https://github.com/ORelio/Minecraft-Console-Client/tree/master/MinecraftClient/config#internal-commands

nicecraftz commented 3 years ago

Hi, I am quite trying to do this but making the player move in the afk pool is hard, when I come back home I'll make a video and show you the problem that I can't fix. Thank you in advance.

ORelio commented 3 years ago

You don't need to be in a pool. Just stand on ground and do something like this:

move east
move west

The player will move a bit then go back to its initial location.

nicecraftz commented 3 years ago

It's in Hypixel SkyBlock and they detect movement if not in a water source.

ORelio commented 3 years ago

Are you supposed not to move as you play normally? 😅

nicecraftz commented 3 years ago

I need to move or antiafk will kick me, is there a way to make water movement work?

ORelio commented 3 years ago

No, it is not implemented at the moment. MCC would need to analyze water flows and calculate movements by itself. But I see no reason why you would not be able to /move instead. /move is an internal MCC command for moving. Like when you move using the vanilla Minecraft client. Of course this will make the AntiAFK believe you are still active.