MZ Are VisuStella's MZ Plugins encrypted?

I plan to use VisuStella's MZ Plugins for my game, but I also wish to try my hand in making my own simple plugins.

One thing I was going to try was to make a tweak to the Options menu, but when I went to see how it was structured in the .js file, the code looks encrypted?

I understand wanting to keep code their own, but that makes me discouraged from playing with Javascript and making sure what I make is compatible with VisuStella plugins.

I doubt there is, but is there any way to view the code normally?
Huh, well that is certainly interesting. Yeap, the plugins appear to be obfuscated. Without a bit of work there is no way to view the code normally, no.
I plan to use VisuStella's MZ Plugins for my game, but I also wish to try my hand in making my own simple plugins.

One thing I was going to try was to make a tweak to the Options menu, but when I went to see how it was structured in the .js file, the code looks encrypted?

I understand wanting to keep code their own, but that makes me discouraged from playing with Javascript and making sure what I make is compatible with VisuStella plugins.

I doubt there is, but is there any way to view the code normally?
Dont bother they protected their code at max and is written in the tos u cant edit it

Unless its just minified if its minified run it in a prettier.

Its all depends i didnt see the coding yet so it might just be minified for saving space which is common just uncompile it using prettierjs and it will be readable.
Although if you see weird strings arrat everywhere then its encrypted
Given events that led up to their creation, I can't say I'm surprised at all.
making sure what I make is compatible with VisuStella plugins

Here's a tip... use the debugger for this. The JS console especially is useful.
You can easily unminify it if you want to look at it. Awkwardly the VS plugin library is far larger than MZ's core files. :popcorn:
I think it's indeed obfuscated and not just minified, as a lot of the code is written in a way like 0x36b7
They might be. I admit I just unminified a couple of them out of curiosity but haven't had time to even look over the code much. But given the complexity of their plugins, and how the MZ files are more "tiny little plugins" for the VS files... You'd probably want to learn by looking at way simpler plugins.
It is obfuscated, not minified.

But, even if you find a way to read the code, you have to check the terms of use.
At least, the free ones, have this on the help file:

* 3. You may edit the source code to suit your needs, so long as you do not
* claim the source code belongs to you. VisuStella also does not take
* responsibility for the plugin if any changes have been made to the plugin's
* code, nor does VisuStella take responsibility for user-provided custom code
* used for custom control effects including advanced JavaScript notetags
* and/or plugin parameters that allow custom JavaScript code.

But if you want to learn, just take a look at the official plugins ^^
It wasn't so much wanting to learn directly from them, it was more use them as a base and create my own little tweaks in order to make my game look more in my own vision. I did something similar years ago with Yanfly's plugins in MV, where I took a look at their code as a guide to write mine so my small tweaks and additions were compatible, while I learned along the way. I don't think I can do that with these new plugins...

I never planned to actually edit the source code and/or claim the changes as my own.
This is unfortunate. I can already see that there are a few tiny things I'd like to alter in these plugins, just some minor visual edits like moving text from here to there, but I'm not going to be able to. I'll need time to think to how to proceed actually, as this is an issue I haven't ever had to deal with before. I can't say I'm surprised after all the stuff that went on with Yanfly's plugins later in MV's life, but it still is sort of frustrating.
Reading through VisuStella's ToU, it says you can edit the code... but I'm not sure if that means you can unencrypt it? I don't know how you'd edit the code without unencrypting it, but I don't want to jump to assuming you can do something.

I worry making these plugins hard to edit and less user friendly is going to make them at odds with other plugins, as oppose to working friendly with other plugins. I remember back in Ace, Victor had absolutely amazingly powerful scripts, but they just weren't nearly as user friendly as, say, Yanfly's, so I had to ditch them because I couldn't get them to work how I wanted.

I'm not gonna hate on VisuStella's team or anything. I get wanting to guard your code, as an artist myself, having my pictures stolen sucks, and I imagine having your code stolen sucks just as much.
There is a JS section in the plugin parameters for you to manipulate certain functions.
There is a JS section in the plugin parameters for you to manipulate certain functions.

The thing I'm trying to change is the Battle layout window. Like, I know you can select between Default, List, XP, etc. But there's little ways to edit how those styles look. When I select List, I can only change if the face is there or not. I can't, say, make the HP and MP bars change locations, or things like that.

This isn't really a problem if I could just go into the code and edit the code. Man, I edited tons of plugins back in MV days. Like, I made enemy HP bars display MP instead, and things like that. But with the VisuStella plugins being encrypted, it appears to be a hard wall on how they function. If you use List styled Battle layout windows, they will look like this, plus or minus a face.

I could be wrong on this! MZ came out... today, so I don't wanna jump to any hasty conclusions, haha. And this isn't the end of the world or anything, once again I'm not trying to hassle anyone. There's often times a lot of Day 1 confusion when engines and plugins drop.
I just want to get rid of some Dark Rects. I know some of the code that can be edited does have that option. And maybe if I can figure it out, change up the status window a bit?
There is a JS section in the plugin parameters for you to manipulate certain functions.

Wow, I didn't realize you could do such a thing in the Plugin Parameters! This actually might be enough for some of the changes I was imagining (at least for the Options Menu). Thanks a lot for pointing this out!

I hope this post helps others realize this as well!
Same concern here, I used to make little modifications to the code to make MV plugins fit my own needs.
It's sound like it is going to be a nightmare to do anything like that with this library. The
possibilities offered by those hooks are quite nice, but it isn't humanly possible to cover all edge cases.

Same idea for third-party support: sounds like it is going to be a nightmare to make VisuStella's library compatible with anything else.
With everything that Yanfly's Plugins went through during MV, I don't blame them for doing this. I just hope that they make the plugins as flexible as possible to account for as many play styles as possible. With the JS parameters, it looks like they're taking such things into account.
This is a bit disheartening. I was hoping to use these plugins to help guide me to making more as I did for MV. Oh well. I'll see what can be done. As much as I like MZ so far, if this proves too daunting, I might just have to go back to MV...
Hoping that there's an option to further modify windows in the future. It's a shame what has happened to bring things to this point.

Battle windows are maybe the only thing I want to change. Like why does only the XP style have the choice of five commands per window?
I just spent some time changing up the JS for an Option Menu option via the Plugin Parameters.

I was able to do it, it just took much longer to do compared to just editing a .js, as I had to go through several windows to access the JS through Plugin Parameters each time I needed to change code (which was often since I made many, many errors).

It definitely is a worse experience than just editing a .js, which was probably the point of obfuscating it to begin with to help prevent stealing code. I hope my other ideas can also be done in a similar way, but I'm not expecting all of them to, which is unfortunate.

Original thread: https://forums.rpgmakerweb.com/threads/are-visustellas-mz-plugins-encrypted.125539/