[Digaway v1.38]: Saving System Explained 04-30-2020, 01:50 AM
#1
Digaway has a simple but straightfoward saving system, it also encodes the player's save file in Base64, which can easily be reverse'd using Notepad++'s MIME Plugin.
(im not that familiar with java in anyway, i used to edits simple minecraft mods so just know the basics lol)
![[Image: 5PmczoecRcqiVogOemiswg.png]](https://image.prntscr.com/image/5PmczoecRcqiVogOemiswg.png)
![[Image: Untitled.png]](https://i.ibb.co/jgqr4QD/Untitled.png)
this piece of code saves the items contained both in the player's inventory aswell as his chest
![[Image: 0hR-n9mtSbiPXYwxR0WMKQ.png]](https://image.prntscr.com/image/0hR-n9mtSbiPXYwxR0WMKQ.png)
![[Image: _dZIqludQEeDH0kkCfyR8A.png]](https://image.prntscr.com/image/_dZIqludQEeDH0kkCfyR8A.png)
![[Image: Untitled.png]](https://i.ibb.co/x2W1Bfg/Untitled.png)
saveItem():
(im not that familiar with java in anyway, i used to edits simple minecraft mods so just know the basics lol)
![[Image: 5PmczoecRcqiVogOemiswg.png]](https://image.prntscr.com/image/5PmczoecRcqiVogOemiswg.png)
![[Image: Untitled.png]](https://i.ibb.co/jgqr4QD/Untitled.png)
this piece of code saves the items contained both in the player's inventory aswell as his chest
![[Image: 0hR-n9mtSbiPXYwxR0WMKQ.png]](https://image.prntscr.com/image/0hR-n9mtSbiPXYwxR0WMKQ.png)
![[Image: _dZIqludQEeDH0kkCfyR8A.png]](https://image.prntscr.com/image/_dZIqludQEeDH0kkCfyR8A.png)
![[Image: Untitled.png]](https://i.ibb.co/x2W1Bfg/Untitled.png)
saveItem():
![[Image: zZg7Y6xiQ3Or4gxXlyuP3Q.png]](https://image.prntscr.com/image/zZg7Y6xiQ3Or4gxXlyuP3Q.png)