Playerautoma

Record and replay player actions to automate tasks. Also, re-stacks blocks when used up like Inventory tweaks. The mod works on servers but can be regarded as cheating by some.

CC0-1.0 License

Stars
4
Committers
2

Playerautoma

Record and replay player actions. Also, re-stack blocks when used up like Inventory tweaks. The mod works on servers but can be regarded as cheating by some. Check out the showcase of the mod

The following actions are recorded:

  • movement
  • item interactions
  • moving items around in the inventory, chests and crafting tables as well as crafting itself

The mod will not add support to record chat actions like commands or writing messages as it would allow for the creation of spam bots.

Checkout the Changelog for more information on the latest changes. Also, checkout the Modrinth page information to support the mod development.

Any trouble?

This mod is still early in development. If you encounter any bugs or problems please let me know here and if you want to contribute feel free to create a pull request.

Installation

This mod requires Minecraft Fabric. Simply put the playerautoma-vx.x.jar and Fabric API JAR in .minecraft/mods.

Usage

The mod has a menu which should be self-explanatory and can be opened using the O Key.

Other than that the default keybindings are as follows.

  • G Start Recording
  • H Stop Recording
  • J Start Replay
  • B Pause Replay
  • K Cancel Replay
  • L Start looped Replay
  • U Store Recording
  • I Load Recording
  • 0 Menu Prevention
  • CTRL + [1..9] Store to QuickSlot
  • ALT + [1..9] Store to QuickSlot

Commands

Commands allow you some control over the mod. The commands should be self-explanatory and are as follows. See this for detailed documentation.

/record <start|stop|clear>
/record <store> <name> <json|rec>
/record <load> <name>
/record quickslot <store|load|clear> <1..9>
/replay <start|stop|loop|togglepause>

Recording Commands

You can also record commands entered. This option is turned off by default. This specifies to track commands not to replay them. Meaning if you have a replay that contains commands they will be replayed regardless of the option specified. You can also black-list specific commands. Again this only black list them for the recording.

Development Setup

  1. Project Structure > Select JDK to JDK21 and Language Level to SKD default
  2. Settings > Build, Execution, Deployment > Build Tools > Gradle > Select Gradle JVM to Project SDK
  3. run .\gradlew genSources
  4. Gradle (Sidebar) > Tasks > fabric > runClient

This should start the minecraft client