Some parts of the player file keep information about length (size) of various sections of file (this makes it easier for game to read the file, but makes it harder for us to keep the file valid after we change something). There is also another kind of information not related to the player in game, but very important for us anyway. ), but most importantly contents of players inventory. From what I understand it is divided into multiple sections that keep information about player character, like it's name, what hair type they have, and lots of other things I didn't have time to decypher yet (probably position on map etc. Before I make you stare at lots of numbers let me tell you some general things about the player file.
Another thing you will need is calculator (or brain) to convert hexadecimal numbers to decimal (windows calc in programmer mode is fine). I use file editor in linux, but there are very good editors for windows users to use (for example Frhed, it's free). What this means for us is that we will need an editor for binary files (ye olde notepad won't cut it this time guys). Player file in Starbound is stored in binary format. WARNING THERE BE DRAGONS Editing player file will very likely result in it's corruption (you loose your saves, your house, your gold, whatever progress you made in game and even your dog!), so back up dat file (tm) before you try anything funky. Works on: Beta v Irritated Koala Beta v Annoyed Koala. I do not claim I'm correct about anything you are going to read in this guide, I do not posses omnipotent knowledge of the file that is called The Starbound Player File, these are just my thoughts and representation of the data at hand. It is very likely that player file structure may change in future, as well as my understanding of it and I will try to keep this guide updated. What you are about to read is what I *think* about player file.
I do not have full knowledge of player file, but what I know at the moment will be enough to add and remove items in your inventory or modify their quantity if they are in stack (iron ore for example).
I will share my current knowledge of Starbounds player file and how to modify it.
Right of the bat, if you don't know how to edit binary files or what hexadecimal is, I'm sorry but this guide is probably not for you and I'm just saying to save your time.