Posted 28 April 2014 - 10:35 AM
Hello!
I would like to create a new peripheral on my server, a peripheral that add one command and one event. The command would be something like "hypernet_send(message)" and the event would be "hypernet_message". When the command "hypernet_send()" would be used, all other instances of my peripheral placed in the world (or in another world) will emit the "hypernet_message" with arg1 as the message that was sent by "hypernet_send()". I don't think to add a channel or port feature, I would like to create something simple.
Do I have to create a new Forge mod using the ComputerCraft API, if it exists because I don't know, or I could add my peripheral only in editing the lua code inside the ComputerCraft's zip? I have the mod CustomStuff2 to add a new block for my peripheral, but I would like to allow it to be "wrappable" via a modem. I mean, not neccessary just beside the computer, if you see what I mean. ^^
Thank you in advance for you help! ^^
I would like to create a new peripheral on my server, a peripheral that add one command and one event. The command would be something like "hypernet_send(message)" and the event would be "hypernet_message". When the command "hypernet_send()" would be used, all other instances of my peripheral placed in the world (or in another world) will emit the "hypernet_message" with arg1 as the message that was sent by "hypernet_send()". I don't think to add a channel or port feature, I would like to create something simple.
Do I have to create a new Forge mod using the ComputerCraft API, if it exists because I don't know, or I could add my peripheral only in editing the lua code inside the ComputerCraft's zip? I have the mod CustomStuff2 to add a new block for my peripheral, but I would like to allow it to be "wrappable" via a modem. I mean, not neccessary just beside the computer, if you see what I mean. ^^
Thank you in advance for you help! ^^