This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
HolmSlayman's profile picture

External running of a command computer?

Started by HolmSlayman, 09 September 2015 - 01:18 PM
HolmSlayman #1
Posted 09 September 2015 - 03:18 PM
On the CC wiki it says that the idea of running a command computer without ever needing to actually touch it is possible, for example: how simple could I make a code to run a command computer with an advanced computer, but inside a survival scenario where I am not aloud by mc to type directly into the command computer as I have not op'ed myself?
And on a second note: when doing this what would show up in the console or admin chat? Would this simply act like typing a command directly into the console or like a in/game command?
I have a pretty limited knowledge on coding but I've a decent enough understanding when reading it to understand what is happening. Any links to an existing code would also be of great help, as well as alternative ideas and uses :D/>
Thanks
- holmslayman -
HPWebcamAble #2
Posted 09 September 2015 - 11:49 PM
It doesn't look like you can use the disk-drive-with-startup-disk-in-it trick with a command computer, obviously to prevent non-opped players from using them.

The only functions a computer has as a peripheral is turning on, shutting down, and getting its ID (and maybe restarting)
I think command computers may even have these disabled as well
Bomb Bloke #3
Posted 10 September 2015 - 12:45 AM
The simple method would be to have an OP set up a Command Computer to run eg nsh on boot. But since that'd be nearly the equivalent of making you an actual OP, any server staff member willing to do so would likely just get you promoted instead of messing about with computers. A better idea would be to rig the computer to display some buttons on a monitor - non-OPs would be able to press those in order to trigger certain effects, limited to whatever the OP who programmed them chose.

You obviously cannot configure a Command Computer for use by non-OPs unless you are an OP yourself.

Commands executed by Command Computers tend to cause chat messages to appear to all OPs, depending on a certain gamerule.