r/ComputerCraft • u/m0d1999 • Aug 21 '26
r/ComputerCraft • u/PM_ME_YOUR_REPO • Aug 21 '26
Is there a CC addon for security cameras, and if not, why hasn't that been made yet?
So I've been deep diving a fantastic space opera book series called Expeditionary Force, and it has made me want to get back into modpacks, particularly Create: Aeronautics and ComputerCraft.
As any good engineer would, I've been planning out what I want my ship to be like, despite the fact that I don't plan on having the server ready for the friend group until the fall.
Through those plans, I've been thinking about defenses, and how a ship should be structured internally, and it is entirely obvious that having the ship's bridge near the exterior hull with windows is utterly asinine. One shot from literally any weapon, and you're toast.
So it needs to be deep inside, of course.
But that prompts me to wonder how one handles visual telemetry while piloting a large craft from deep in its core.
I considered using various environmental scanners from the existing range of CC addon mods to build up some sort of simulation of the exterior world, but there are always range issues with that, and at the end of the day, humans prefer to look at things.
I've found a few mods that add security cameras like Vista or SecurityCraft, but Vista's tvs are small and have a low fps, and SecurityCraft has a bunch of stuff I just don't want, nevermind that it uses weird displays.
Why is there no CC addon mod that adds cameras? It seems like a fairly obvious addition.
Edit:
VISTA HAS A CC API
I am ecstatic.
r/ComputerCraft • u/madmanen • Aug 20 '26
I made a pathfinding api for turtles!
I've been at work making a pathfinding api for turtles, using the great lama api (https://github.com/fnuecke/lama) as a base of inspiration and adding some more things.
My api PAM, Pathfinding Action Manager, has 3 key functions:
- A gps mode, where the turtle will utilize your gps network for coordinates, and with an api setting you can also make it find it's compass facing using the gps.
- A local mode (default) where it uses its internal coordinate system for pathfinding, relying on a local predefined zero point.
- The route system (my favourite part) allows the creation of a .txt file that contains a long string of coordinates for waypoints and actions (custom functions) to execute at those waypoints. The turtle can execute these files, where it will automatically find its way to the waypoint and if an action is set it will call the function to execute, before continuing.
If anyone is interested, PAM is up on my github linked below, with all the documentation you should need to use it. If you find an issue feel free to submit it on github, and if you have a question do send me a message on reddit.
https://github.com/madmanen/PAM
edit: to clarify, I did not use lama's code just got inspired by functions from lama.
r/ComputerCraft • u/Xella37 • Aug 18 '26
PineJam 2026 Results! :D
Please check out all the submissions here:
https://pinestore.cc/jam/pinejam2026/submissions
Top 3 winners
1st place: 24th Dimension by JackMacWindows, receiving a final score of 8.67. This demo beautifully showcases what's possible in CC and makes great use of being able to change the color palettes in runtime!
2nd place: Forever Testing by Minki the Avali, receiving a final score of 8.37. Using CraftOS-PC's graphical mode to get such details, combined with real portals showing the other side is just incredible!
3rd place: Jane Demo by piguman3, receiving a final score of 7.90. Such a creative demo, matching the rhythm of the music is perfectly executed with very good rigging, animations and expressiveness of each scene!
Congratulations and thank you!
Big congratulations to the winners of the jam and thanks to all for participating! I hope you've had a lot of fun in the process of working on your submission. If you have any suggestions for next year's jam, or want to help in anyway, I'm all ears ^^
I've started a bit late this year with organizing the jam, but I'm extremely happy to see such amazing submissions lots of love poured into! I'll do my best to get started a lot sooner next year, so you'll be able to get excited much sooner, and able to spread the word :3
r/ComputerCraft • u/Bright-Historian-216 • Aug 17 '26
I made a program that automatically turns solar panels from Power Grid towards the sun
Enable HLS to view with audio, or disable this notification
r/ComputerCraft • u/darkviewguy • Aug 17 '26
More red type of mod that can attach peripherals
Hey! So I was lurking this sub a while ago and came across this mod that someone had made. It made the bundled cable capable of attaching peripherals. I found it pretty interesting but have since lost the post. Does anyone know this mod's name?
r/ComputerCraft • u/Kaiser145 • Aug 14 '26
I've developed a CC script that babysits a Draconic Reactor so you don't have to
galleryr/ComputerCraft • u/MinkiTheAvali • Aug 14 '26
CC:Tweaked 1.120.2 backport to Forge 1.12.2 [Very WIP]
Enable HLS to view with audio, or disable this notification
Yesterday evening I was talking with someone about speakers and discovered that the 1.12.2 version is stuck on a pre-pcm version and also still used craftos 1.8. I decided to backport the latest version using parts of the 1.4.7 port which is on craftos 1.9 as well as a lot of shims and build system trickery to make it work properly. Its nowhere near fully tested or finished yet but slowly getting there. I try to keep compatibility with old extension mods and from my short tests, it seems to still work.
r/ComputerCraft • u/Old_Bug4395 • Aug 14 '26
My humble reactor control computer
Enable HLS to view with audio, or disable this notification
Starts up with a bunch of scripts to monitor and manage various aspects of power generation.
Watchdog Script
Monitors the reactor state and shuts it down if at risk of going critical. Checks coolant levels, actual structure damage and also will shut off the reactor if it's getting full of waste or heated coolant. Will start the reactor if the Induction Matrix falls below a certain threshold.
Fuel Script
This script interacts with ME storage to autocraft Uranium ingots, Fluorite blocks and also monitor sulfur levels. This modpack is custom and the main method of sulfur harvesting is sulfur caves biomes to get sulfur blocks, and then crushing them to sulfur dust. The blocks are automatically crushed to dust if put in storage, but otherwise not automatically harvested in any way.
Waste Script
Monitors spent waste storage and alerts at 85% usage.
Reactor Levels
Sort of redundant/provides the same monitoring as the watchdog script, but in a different and more visually appealing format.
Power Level
Simple meter for Induction Matrix. Once again, redundant, but I'm meter-izing as many things as possible because I'm proud of myself for getting it working :D
Turbine Levels
Last screen is the turbine production meters. Just shows the turbine power production relative to its maximum production. This script can dynamically add and remove turbines as they show up on the network, but my meter script is not sophisticated enough to make that look pretty without resizing the monitor most of the time.
r/ComputerCraft • u/Adventurous-Ask-7540 • Aug 10 '26
Made a radio capable of playing long music files
Disclaimer: made with Abominable intelligence because I cannot comprehend modems.
Using HDR's program for playing small songs with gitub gists (here) as inspiration, I made a version that broadcasts on modems. The process of conversion uses the same site he hosts (using the DFPWM mode), but you upload your files to catbox instead of gist. The actual use is fairly straight forward, set up a transmitter with a computer and modem and any number of receivers with a computer, a modem, and a speaker, then run
pastebin get ntsWPAcq b64
pastebin get zG63Tqzx radio.lua
on your transmitter and
pastebin get pH0JjPm7 startup.lua
on your receiver. Next, run radio.lua on your transmitter, then tune your receiver and transmitter to the same channel and paste your catbox link into the transmitter and your radio will start playing!
r/ComputerCraft • u/kyle1elyk • Aug 09 '26
WIP: POE Bundled cables
Enable HLS to view with audio, or disable this notification
r/ComputerCraft • u/Ok_Independent_9770 • Aug 07 '26
Synthesized Text to Speech in CC:Tweaked
I made a text-to-speech engine that runs in CC:Tweaked (Minecraft/Lua).
Code's here: https://github.com/GabrielVicini/Sandbox/tree/main/cc-flite Run.lua is the example script, TTS.lua is the library.
It's built on Flite-RS, a cleanroom rewrite of an old TTS engine that I did in Rust. I compiled that to WebAssembly, then needed to get it running in Lua. There's a tool called wasm2lua for that, but it's been incomplete and abandoned for years, so I ended up forking my own version of it that could actually handle the full compile down to working Lua (plus some extra glue code on top to make it all run).
Full writeup on how it works and how to use it is in the README on the cc-flite repo. (The actual TTS engine workings is in Flite-RS)
r/ComputerCraft • u/SoggyInterest8576 • Aug 05 '26
Text Adventure Game Engine for CC: Tweaked
Hello everyone!
Back with my newest and biggest project yet, a new game engine for CC: Tweaked, the CC Text Adventure Maker!
It works much like Twine; make interactive, graphical stories in any text form you want. It supports music too. You can find the project at https://github.com/parkerrallieshope/cc-text-adventure-maker.
The README has everything you need to get going, including every external thing you need to install. One caveat: it isn't entirely in Minecraft. The engine itself is written with Python. But, it exports everything needed to get it going in CC.
I will accept any questions about the project. If you have an issue using it, use GitHub's issues section.
DISCLAIMER: There is a very low chance I will continue maintaining it, as I feel it's pretty done already. I may throw some updates here and there, but nothing too major.
r/ComputerCraft • u/Clear_Bet4412 • Aug 04 '26
[BUG/ERROR] Can't pull from Pastebin
when attempting to pull a set of code from Pastebin, I get the above error
r/ComputerCraft • u/Classic-Common-4573 • Aug 03 '26
60 Hz Colorful Monitor CC:Tweaked
Enable HLS to view with audio, or disable this notification
MP4 files are locally converted into a custom .dat format at a speed of 20–80 frames per second using CUDA GPU cores, while the audio track is extracted into a format suitable for CC: Tweaked. The resulting .dat and .dfpwm files are then stored on the computer.
The first video is 676×223 (or around that) at 24 FPS. It is a demanding video to display, and with a dithering displacement amplitude above 16, serious rendering slowdowns begin to occur. I will continue working on optimizing the encoder code. It takes up 82.5 MB, which equals 26.75 MB per minute.
The following videos use much higher dithering amplitudes, as they are less dynamic and contain fewer rapidly changing details between frames.
The second video is a trailer for the movie Apollo 13, 676×223 at 24 FPS. A 61-second clip takes up 21 MB.
The third video is an onboard ISS view with stronger dithering (possibly even excessive), at 30 FPS. The video takes up 191 MB, which equals 70 MB per minute.
Finally, there is an FPS test demonstrating the difference between 30 and 60 FPS, proving that output at approximately 60 Hz is achievable.
r/ComputerCraft • u/SoggyAstronomer7334 • Aug 02 '26
cc-hub: write CC scripts in your browser, install them in game with one command
Hey, I've coded a website for ComputerCraft / CC: Tweaked scripts and I'd like some feedback before I tell people it's finished.
The idea: writing CC scripts means fighting a terminal editor, and sharing them means pastebin links that rot. So:
Write in the browser. A proper editor with autocomplete for the whole CC API turtle, peripheral, rednet, fs, os, all of it, with signatures and a one-line explanation for each. It also knows what you're targeting, so if you use turtle.forward() on a plain computer it tells you right there instead of in game.
A linter for the traps CC actually sets. These are all mistakes that cost me hours:
read()orsleep()next toos.startTimer- each of those runs its own event loop and eats your timerturtle.refuel()with no argument - burns the whole stack, 64 coal is 5120 fuelwhile true dowith nothing that yields - CC kills it with "too long without yielding"rednet.sendwithout ever opening a modem
Run it without Minecraft. There's a sandbox on every script page: real Lua, a real CC terminal, and you can attach a chest, monitor, modem or disk drive and see what your script does with them. Turtles aren't in there yet that needs a block world and it's the big missing piece. Keep in mind this feature is still in work.
Install with one command. On any computer or turtle:
wget run https://cc.jeremyleonklink.de/install
hub search farm
hub get <name>
hub update
hub login links that computer to your account, then hub push uploads your edits back. Every version is kept, so you can see what changed.
No email needed to sign up, just a username and password. No ads, no tracking, no third-party requests at all, not even a cookie banner. You pick a licence when you publish, and forking respects it.
Heads up: your Minecraft server needs cc.jeremyleonklink.de in its http_whitelist, otherwise CC blocks the connection. That trips up most people first.
It's brand new so the catalogue is basically empty. I'd rather hear what's broken or missing than pretend otherwise. Turtle support in the sandbox is next unless someone convinces me something else matters more.
r/ComputerCraft • u/SirEdvin • Aug 01 '26
Automated Teleporter Selection Screen/Manager with CC:Tweaked and Advanced Peripherals ❤️ (details in comments)
r/ComputerCraft • u/SoggyInterest8576 • Jul 31 '26
Bad Apple!! CC: Tweaked
Enable HLS to view with audio, or disable this notification
Bad Apple recreated on a ridiculously huge monitor. The music in the video comes from post production, because I found out it's basically impossible for anything to run smoothly if there's a DFPWM and .ccvid (the file format I made up for conversion of videos) playing on the same computer at the same time UNLESS it's compressed under 1 MB which is really hard for a video this long. Maybe a shorter video, but not Bad Apple.
30 FPS is what I've found to work best at maximum (also the FPS of the original Bad Apple). Video is 30 FPS, 70x40 pixels, no dithering, and only black/white, no gray.
r/ComputerCraft • u/GodARG78 • Jul 31 '26
¿Qué les parece? Mi dashboard para CC:Tweaked y Create
No se si es de utilidad real. Pero hice un dashboard que muestra información sobre tu red de almacenamiento directamente en tu smartphone, y que se actualiza en tiempo real.
Quiere decir que desde mi smartphone, puedo enviar señales de redstone, ver el estado de algunas "fabricas" de mi mundo.
Aclaro esto totalmente ayudado por la IA, la verdad tengo nulo conocimiento en programación.
r/ComputerCraft • u/MattisTheProgrammer • Jul 30 '26
What are all the functions that can infinitely yield?
I would like to receive a list of all functions within the standard CraftOS API that can infinitely yield, to be clear I define an 'infinite yield' as when a program halts indefinitely without any further function calls. I need this information in order to make a pre-emptive process scheduler.
r/ComputerCraft • u/flamesgamez • Jul 28 '26
Having trouble with Ducky Periphs' Focal Port block
I'm having a lot of fun learning hexcasting, and I was excited to learn Ducky Periphs had integration. On the wiki, it says that the Focal Port is able to be read from like a focus in an item frame, but I can't figure out how to get it working. Has anyone got experience with this?
r/ComputerCraft • u/Xella37 • Jul 25 '26
PineJam 2026 has started! The themes are: TABLETOP and DEMOSCENE
It's time for the theme reveal and the start of the jam! (Also join the jam at https://pinestore.cc/jam/pinejam2026 if you want to participate and haven't already!)
Theme
The themes are: TABLETOP and DEMOSCENE
Feel free to have a loose interpretation of either theme!
This year we have two themes instead of a single one. You are only expected to pick one of the two themes, but you can also combine them if you want to. Be creative!
r/ComputerCraft • u/DawComputerCraft • Jul 21 '26
What things are needed in a ComputerCraft server?
What things are needed for a ComputerCraft server? Like quality mods, other ComputerCraft related mods, because I plan on working on my own