twoolie / NBT

Python Parser/Writer for the NBT file format, and it's container the RegionFile.
MIT License
362 stars 74 forks source link

Server.Dat - Insert New Line #91

Open Gameligo opened 7 years ago

Gameligo commented 7 years ago

Hi everyone ...

I want to create new servers.dat file or insert server name and server ip to servers.dat file ... I read my servers.dat but i cant write Pls help me ..

suresttexas00 commented 7 years ago

You need to provide more details than that. You have not stated what you tried to do or what errors you received. I also suggest reading: https://stackoverflow.com/help/mcve

(because I am assuming you already read the introductory readme.md file where it says "Writing files is easy too! if you have a NBTFile object, simply call it's write_file() method....")

mfld-fr commented 5 years ago

Looks like more an issue related to a user specific case (i.e. requesting help to develop a MC admin tool for servers.dat) than a general problem in the NBT library. As @suresttexas00 stated, no way without a more detailed report. As @MinerProfitDevelopment has not provided more info for quite a long time, I suggest to close this issue to make the room clear.