Compatibility
Minecraft: Java Edition
1.20–1.20.1
Platforms
Creators
Details
Licensed CC0-1.0
Published 2 months ago
Updated 2 months ago
CC: Tweaked Autorun Datapack
Makes every ComputerCraft computer automatically run any script ending with _autorun on startup or server reboot.
Installation
- Download this datapack (the
.zipfile). - Put it into the
datapacksfolder of your Minecraft world. - Done. It works on all computers in that world.
To make it work globally for all new worlds, use a mod like Paxi or OpenLoader and place the datapack there.
How to make an autorun script
- Open any ComputerCraft computer.
- Create a Lua file with a name ending in
_autorun.lua.
Example:my_server_autorun.lua - Write your code inside.
- Save and reboot the computer.
That’s it – your script will start automatically every time.
Example use cases: Keep your server always active. Keep your miners always active. Keep your password‑protected redstone door always active.

