Posted 01 October 2012 - 05:57 PM
In Minecraft 1.4, there is a new block called the "Command Block". This is in vanilla minecraft, no mods required.
When powered, it executes the command stored inside of it.
It has no recipe, and therefore is only obtainable by ops of the server.
I was thinking of some sort of peripheral API to interact with it if it is placed beside a computer and wrapped.
This could be just one function,
Before you say "But, that would be a security risk to the server!" Well, placing a computer next to a command block even without this peripheral API is a "security risk to the server" anyway, since it could output a redstone signal and activate the block.
An API like this would just expand the cappabilities of the computer with the command block.
If this is already planned let me know.
When powered, it executes the command stored inside of it.
It has no recipe, and therefore is only obtainable by ops of the server.
I was thinking of some sort of peripheral API to interact with it if it is placed beside a computer and wrapped.
This could be just one function,
cmdblock.write("command")
and would change the command that the block contains, the computer could then just simply output a redstone signal to activate the command block.Before you say "But, that would be a security risk to the server!" Well, placing a computer next to a command block even without this peripheral API is a "security risk to the server" anyway, since it could output a redstone signal and activate the block.
An API like this would just expand the cappabilities of the computer with the command block.
If this is already planned let me know.
Edited on 01 October 2012 - 04:46 PM