POR_DatabaseEncoder

Just as the name suggests, the plugin encodes your database files. Or in particular all JSON files it finds inside the data folder of your project. That means any JSON files that are outside of this folder (and hence any plugins that use them) are incompatible with this.
The purpose of it is simple, to make your database files human unreadable.

How to use:
1. turn on the plugin
2. launch the game in playtest mode
3. deploy the game
4. delete the base database files inside your deployed version (inside the /data folder), leave all the EncData files inside
5. That's all!

Terms of use:
MIT license

Find it here:
https://github.com/Poryg1/RPG-maker-MV-small-plugins
good
Amazing, Thanks!
does is working on mobile ?
The encoding should be done on PC, but the thing should work even on mobile.
The encoding should be done on PC, but the thing should work even on mobile.
Put simply, this plugin only encrypts data from the data directory. Is there any way to encrypt the plugin directory as well?
Is there any way to encrypt the plugin directory as well?
Yes, but obviously it couldn't be a plug-in in the encrypted directory (not without something else decrypting it first anyway).

It would need to be code either in one of the js/rpg_*.js files, or some other JavaScript file referenced from index.html in the project's root directory. The advantage to putting it in an existing file is there is no additional file tipping anyone off as to what is really going on.

Both the /rpg_*.js files and Poryg's plug-in are under the MIT license so mixing the code shouldn't be an issue.

However, because many plug-ins are publicly available it will not prevent people from knowing what is inside the plug-in just from the name (and the name is how the plug-in manager knows which parameters to give which plug-ins).

There are not perfect solutions, but plain-text invites curiosity, fiddling, and theft.
Idea is great, but for some reason, my project didn't make encrypted files.
@Soulrender The only idea that pops into my head is, your version of MV is outdated. Other than that I will not know unless you show me the error messages that pop in the dev console.

As for the plugin folder, it can be encoded, but I saw no reason for it. For offline release there's a better method to protect it, MV cook tool. For online release there is no point in it, because the plugins can be ripped straight off the game in their unencoded version anyway.
@Poryg I use MV 1.5.1 and only for windows deployment, but as I said the enc* files don't create. Console log is clear and there are no errors at all.
@Soulrender Hmm, and the project is being run in test mode?
Put simply, this plugin only encrypts data from the data directory. Is there any way to encrypt the plugin directory as well?
Use this cook tool to encrypt your plugins. When I noticed it, I tried to give it as much publicity as I could, but a few months later and everyone's forgotten about it again. It's not going to stop someone who really wants to steal plugins from getting to them, but it adds a couple of steps to the process, to prevent someone from simply opening a folder and copying out a text file.
Use this cook tool to encrypt your plugins. When I noticed it, I tried to give it as much publicity as I could, but a few months later and everyone's forgotten about it again. It's not going to stop someone who really wants to steal plugins from getting to them, but it adds a couple of steps to the process, to prevent someone from simply opening a folder and copying out a text file.
thank u
does it working on mobile ?
thank u
does it working on mobile ?
No.

@Soulrender Yeah, I thought so. MVs older than 1.5.2 use a very old version of nwjs, which has a completely different implementation of one of the readdir method.
Oh! And all is clear now. Thanks 🙂
Is it possible to add an "Encryption Key" option to this plugin?
@RPG_itch_Studio The plugin uses a LZString compression, not encryption, so there is no way to use an encryption key. I am not going to make the plugin encrypt stuff though, because since MV is Javascript, there isn't too much difference in security between LZString compression and encryption.
@Poryg
Thank you so much for this. But is it possible to have the plugin to include an option to only encode SOME maps/common-event in a folder but allow the not encoded files in the data folder to be used as well. So when the game runs it loads both the unencoded files from the data folder and the encoded ones from another folder? And if the unencoded file exist, the encoded one will overwrite/load instead.

So in terms of some updates,fixes, dlcs, these can be easily copied and used instead of having to encode the entire thing again or vice-versa.
It would absolutely be possible, however thanks to the backwards interface of MV you're exchanging one hassle (having to encrypt again) for another (having to manually input each filename as files to ignore).
It would absolutely be possible, however thanks to the backwards interface of MV you're exchanging one hassle (having to encrypt again) for another (having to manually input each filename as files to ignore).

Shucks, would of really like this option somehow. Even to just load both directories. I'm not tech savvy so I don't know the underneath mechanics. But, I thank you greatly for your quick response and for the plugin.

Original thread: https://forums.rpgmakerweb.com/threads/por_databaseencoder.115039/