You are viewing a potentially older version of this package. View all versions.
Michiyo-AutoCommands-0.2.0 icon

AutoCommands

Runs console commands on a schedule

Date uploaded a year ago
Version 0.2.0
Download link Michiyo-AutoCommands-0.2.0.zip
Downloads 60
Dependency string Michiyo-AutoCommands-0.2.0

README

AutoCommands

AutoCommands is a mod for Schedule I that allows you to automatically run console commands on a timer — ideal for tasks like saving, clearing trash, or spawning items.

Created by Michiyo, this mod brings simple automation to the in-game console system.


💡 Features

  • Run any console command at configurable intervals
  • Supports multiple commands defined through MelonPreferences
  • Disable any command by setting its interval to 0
  • Only executes when you're the host or in single player
  • Logs each command execution with timestamp

⚙️ Configuration

Settings are stored in MelonPreferences.cfg under [AutoCommands].

Example:

[AutoCommands]
CommandCount = 3 # How many AutoCommand slots to load
Command_0 = "cleartrash; 10"    # Example: Run 'cleartrash' every 10 seconds
Command_1 = "save; 0"           # Disabled by default (0 = off)
Command_2 = "give ogkush 5; 5"  # Give item every 5 seconds

CommandCount determines how many command slots are loaded, defaults to 5.

Each command is formatted as:

<command string>; <interval in seconds>

Commands with an interval of 0 are skipped.


🔧 Installation

  1. Install MelonLoader for Schedule I (Mono version)
  2. Place AutoCommands.dll in the Mods/ folder
  3. Launch the game and check the console for [AutoCommands] logs

✅ Compatibility

  • Game: Schedule I
  • Runtime: Mono (not IL2CPP)

🪪 License

Free to use, modify, and redistribute. Attribution is appreciated but not required.


🙌 Credits

  • Michiyo – Development

CHANGELOG

0.1.0

  • Initial Release.

0.2.0

  • Less dumb method to check for host.

0.3.0

  • Now with 100% less dumb reflection.

0.4.0

  • Wait until game is fully loaded to begin executing commands.