Jump to content




Network Cabling API


  • You cannot reply to this topic
4 replies to this topic

#1 ElvishJerricco

  • Members
  • 803 posts

Posted 08 April 2015 - 12:33 AM

I'm suggesting a modding API that would allow two things:
  • Custom cable devices.
    As in, an API to allow mods to define their own wired modem-like devices that sit on the cables and perform functions other than being a peripheral, while giving the device access to the wired network of computers and peripherals. Also, there could be a style of device that is just an ordinary peripheral sitting in the cable block for the sake of aesthetics and compactness.
  • Custom cables
    An API that would enable mod devs to define custom connections to the network. For example, AE2 could make a computercraft network p2p tunnel. Or a dev could make a custom cable that's FMP compliant.
These wouldn't add to the game directly, but they would open the doors for new and interesting ideas, enabling players to create networks that are much more interesting, capable, and (most importantly) fun to build.

Edited by ElvishJerricco, 08 April 2015 - 12:33 AM.


#2 Lignum

  • Members
  • 558 posts

Posted 08 April 2015 - 01:05 AM

I think that ComputerCraft generally needs to have its API expanded. The only things you can really do is add peripherals and modify turtle permissions, which is two things out of many. And even these features are pretty limited. Coincidentally I started working on an extended CC API today (GitHub repo) which will hopefully allow stuff like this until the official API does.

#3 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 08 April 2015 - 07:34 AM

I think this would be wonderful, however we wouldn't have proper multi-part support (custom parts sit in same block as the cable) as the way it is currently written is just not expandable. However it might be possible to just to write an entire custom network implementing dan200.computercraft.shared.peripheral.modem.INetwork but that might be overkill :)

#4 ElvishJerricco

  • Members
  • 803 posts

Posted 08 April 2015 - 07:39 AM

View PostSquidDev, on 08 April 2015 - 07:34 AM, said:

I think this would be wonderful, however we wouldn't have proper multi-part support (custom parts sit in same block as the cable) as the way it is currently written is just not expandable. However it might be possible to just to write an entire custom network implementing dan200.computercraft.shared.peripheral.modem.INetwork but that might be overkill :)/>

That's actually what I meant =P Someone could make an entire custom network implementing FMP. And that'd be cool as cool.

#5 HDeffo

  • Members
  • 214 posts

Posted 09 April 2015 - 01:31 PM

It would be really nice to get some custom support for cables such as having Ender IO network conduits. This could be a potential solution to the big request for multi part cables.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users