worldfs - shared drives between all computers#568
Open
timia2109 wants to merge 1 commit intodan200:masterfrom
Open
worldfs - shared drives between all computers#568timia2109 wants to merge 1 commit intodan200:masterfrom
timia2109 wants to merge 1 commit intodan200:masterfrom
Conversation
Contributor
|
This seems something which would be better done as an external mod (using something like #491 ). I'd personally consider a little too "magical" to be part of base CC - it rather overshadows any existing system, such as rednet - you don't even need a modem! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Worldfs brings you additional shared drives between all computers which a running at the same Minecraft world. It mounts the worldfs drive as a folder into the computer of your choice.
The files are located at
.../saves/{worldname}/computer/worldfs/{channelname_hash}Only when you know the channelname you can mount the drive, because the name is hashed with SHA-256 and some string transformation.
"Test"would be"vUyfT26nd4jk0abSGCur9QIPxn8Wp0GL"worldfs is disabled by default and can enabled in the config file.
New API:
New Program:
WorldFSWrapper contains the following Lua methods:
I'm open for comments and improvements.