This topic is about symbolic links, and the way minecraft handles them. Therefor, this is VERY technical. It has to do with creating symbolic links, so its safe to say that if you don't even know what a symbolic link is, you can't help me.
Problem: I am trying to find a way to sync my server list (servers.dat) across multiple computers via Dropbox. To do this, I am using Symbolic Links (google it). I have successfully made a symbolic link, having the main file in my Dropbox Folder and the symbolic link pointing to "servers.dat" in my minecraft folder. I enter in the command in terminal
and it works fine. I have a symbolic link. Then I open up minecraft, still a symbolic link. I open up the servers list, and click edit, and the file is transformed into a regular text file, no longer a symbolic link.
Thoughts: My theory is that minecraft just creates the file anew every time I edit the servers. Thus, I need to find a way to a) bypass the making of a new file and just edit the existing file (probably very coding-intensive) or have a regular text file in the minecraft folder and find a way to make it mimic the file in my Dropbox folder. I have thought of just reversing it, having the symbolic link point to the Dropbox folder, but then it is simply backing up the MineCraft servers folder, so if I add a server on another computer it won't change the servers on this computer. Also, aliases are probably out of the question. When read in plain text, they are a bunch of gobbledegook, and minecraft wouldn't like it. (Again, probably just replacing it with a new file)
Notice: The symbolic link is created fine, so it is not a problem with me typing in the command wrong, or something like that. Again, if you don't understand this, do make a fool out of yourself by saying something like "Maybe you typed the command in wrong".
Thanks in advanced for anyone who can help me solve this, I REALLY appreciate it.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Problem: I am trying to find a way to sync my server list (servers.dat) across multiple computers via Dropbox. To do this, I am using Symbolic Links (google it). I have successfully made a symbolic link, having the main file in my Dropbox Folder and the symbolic link pointing to "servers.dat" in my minecraft folder. I enter in the command in terminal and it works fine. I have a symbolic link. Then I open up minecraft, still a symbolic link. I open up the servers list, and click edit, and the file is transformed into a regular text file, no longer a symbolic link.
Thoughts: My theory is that minecraft just creates the file anew every time I edit the servers. Thus, I need to find a way to a) bypass the making of a new file and just edit the existing file (probably very coding-intensive) or
Notice: The symbolic link is created fine, so it is not a problem with me typing in the command wrong, or something like that. Again, if you don't understand this, do make a fool out of yourself by saying something like "Maybe you typed the command in wrong".
Thanks in advanced for anyone who can help me solve this, I REALLY appreciate it.