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

[1.31] ccNet - Network Peripheral

Started by rockymc, 13 March 2012 - 10:59 PM
rockymc #1
Posted 13 March 2012 - 11:59 PM
You might be thinking what is this ccNet thingy. I tell you, you can mount directories inside the .minecraft folder, and they will be avaliable for all worlds you have. Like, I mounted the directory lol thats inside .minecraft. There I can write and read programs, as well as delete them.

I made a little nice API, which you can run it by going into Lua > os.loadAPI("network").
Usage: network.mountDir(desiredLocation, path)

Video:

[media]http://youtu.be/5mY-ZjhUOgQ[/media]

Download:
Latest version: 1.1.1

ccNAS v1.1.1* [adf.ly][MediaFire]

ccNAS v1.1* [adf.ly][MediaFire]
ccNAS v1.0* [adf.ly][MediaFire]

* Requires Minecraft 1.2.3

I'd really like to thank Casper, for fixing my code. Big thanks!

Changelog

v1.1.1

-Added more methods, but you can't use them yet.
-Added configurable ID and name.
-Fixed some stuff in 1.1.
-Cleaned the code.
FuzzyPurp #2
Posted 14 March 2012 - 12:01 AM
I have ccMagic(closed source) i can mount a magic directory where all computers share. I don't even use it lol.
Normalsoo #3
Posted 14 March 2012 - 08:07 AM
neat little addition for large in-game projects :mellow:/>/>
yoskaz01 #4
Posted 18 March 2012 - 08:26 AM
nice rocky,
just a suggestion…
maybe rename to ccNAS ?
ccNet gives the impression of a networking/rednet solution …:D/>/>
rockymc #5
Posted 18 March 2012 - 03:09 PM
nice rocky,
just a suggestion…
maybe rename to ccNAS ?
ccNet gives the impression of a networking/rednet solution … :D/>/>

NAS? What's dat mean?
Espen #6
Posted 18 March 2012 - 03:35 PM
Network Attached Storage
http://en.wikipedia.org/wiki/Network-attached_storage
BlackRa1n #7
Posted 25 March 2012 - 10:16 PM
This is clever! I like it! :o/>/>
Ian-Moone #8
Posted 27 March 2012 - 08:51 PM
nice but couldn't it cause a few security threats
Bossman201 #9
Posted 27 June 2012 - 07:55 PM
nice but couldn't it cause a few security threats

From who? I think this only works in SSP