Skip to content

Options, Hotkeys, and Script Guide

pjagada edited this page Sep 11, 2022 · 6 revisions

Options, Hotkeys, and Script Guide

Options - 2_options.ahk

  • forcePerchDisplay - boolean - whether or not you want text to show on screen when you force perch
  • FOV - number - only important if resetSettings is true, what FOV should be reset to
  • TTS_speed - integer - how fast you want the TTS person to speak (1 is the slowest).
  • hotkeyCooldown - integer - how many milliseconds the script will wait after getting a hotkey input before registering further inputs (useful for if you accidentally double tap a hotkey so it doesn't break everything)
  • unpauseOnSwitch - boolean - if this is true, the macro will automatically unpause an instance when you get switched to it
  • fullscreen - boolean - all resets are windowed anyways, but if this is enabled, you will be fullscreened when you switch to an instance
  • playSound - boolean - this will play a windows sound whenever a spawn is ready and you are switched to an instance. If you want a custom sound, add a file called spawnready.mp3 in the macro folder.
  • disableTTS - boolean - this will disable the "ready" that is played when the macro starts
  • fullScreenDelay - integer - this is a millisecond delay that you should increase if you have fullscreening issues
  • restartDelay - integer - if you checked the instanceNumber.txt files in all your instances and are still getting the startup error about it, increase this
  • f3showDuration - integer - how many milliseconds f3 is shown for when an instance is switched to. Make this -1 if you don't want it to show f3. Remember that one frame at 60 fps is 17 milliseconds, and one frame at 30 fps is 33 milliseconds. You'll probably want to show this for 2 or 3 frames to be safe.
  • f3showDelay - integer - how many milliseconds to wait after switching/loading in to show f3. If f3 isn't being shown, this is all probably happening during the joining world screen, so increase this number.
  • logging - boolean - useful for debugging, but don't keep it on otherwise since it'll use resources
  • kryptonChecker - boolean - makes sure that you're not using krypton since krypton is very likely to break the macro. If you really need to use krypton, make this false and the macro will let you use it.
  • coop - boolean - if this is enabled, the macro will automatically open to LAN and prepare "/time set 0" (without sending command) when you join a world
  • instanceFreezing - boolean - this will suspend instances that are loaded in with a good spawn and are not being played so that they use no CPU/GPU
  • freeMemory - boolean - if instance freezing is enabled, this will free up the memory of background instances that are loaded in and have a good spawn. However, note that this tends to cause lag and is really only useful if you're limited by RAM. It can also hurt your SSD life because it's writing and reading a lot of memory between your RAM and SSD
  • affinity - boolean - allows you to add more instances without them affecting your main instance's performance since you can customize what proportion of resources are given to background instances
  • lowBitmaskMultiplier - decimal - if you enable affinity, this number (from 0.0 to 1.0) controls how many threads are given where. A lower number means that more threads are given to the main instance and fewer to the background instances (so background instances will reset slower but if your main instance is suffering in fps, lowering the number will help). A higher number will lower the threads given to your main instance (your framerate may drop if you make this number really high) and more threads will be given to background instances (they will reset faster)
  • obsDelay - integer - increase this number if scenes are not switching in OBS
  • wallSwitch - boolean - enable this if you want another scene to show when all instances are resetting. This scene will be switched to with F12.

See the recommended autoresetter settings for information on centerPointX, centerPointZ, radius, and giveAngle

Hotkeys - 5_hotkeys.ahk

Except for the exit hotkey, all hotkeys only work if a Minecraft is your active window. You can change these hotkeys to any key in AutoHotkey's list of keys.

  • Suspend - suspends the macro without exiting it (this can also be done from your system tray)
  • Reset(0) - primary reset key, make sure you only press this when you are unpaused in your running instance
  • Perch() - press this when unpaused to open to LAN and send the perch command
  • GiveSword() - press this when unpaused to open to LAN and give you a very sharp netherite sword
  • Reload - reload the script (this can also be done from your system tray)
  • AddToBlacklist() - adds the spawn of your most recently switched to instance to blacklist.txt (make sure blacklist.txt is not open)
  • ExitApp - exits the script (this can also be done from your system tray)

Script guide

  • 1_InstanceSetup - Run this script once after creating your instances
  • 2_options - Edit this script when you need to change your options
  • 3_hotkeys - Edit this script when you want to change your hotkeys
  • 4_SpawnJuicer - Run this script to reset
  • 5_SpawnResetVisualizer - Run this script to visualize your spawn reset settings. Make sure you are in a world and unpaused with gamerule doImmediateRespawn as True and cheats on. Press Home to start the loop, and hold End to end the loop. Whitelisted spawns show as white, blacklisted spawns show as black, spawns inside the radius show as green, and spawns outside of the radius show as red.
  • functions - Do not touch
  • speak - Do not touch

Clone this wiki locally