MV Class Changer V2.0.1 [Updated]

Hello everyone, I have decided to start releasing my RMXP script conversions to MV for others to use. This will be the first of many. So, down to brass tacks.


LMPCCV2.0.PNG



====Terms of Use====
Free for any use (non-commercial or commercial) just request that you credit me somehow.


====Plugin Informataion====
Current Version: 2.0.1
Dependencies: YEP_MessageCore.js; you will need to source this yourself and add this into the demo folder or project folder/plugin list
Known Conflicts: None, but see GitHub readme page for list of aliased and overridden functions
Demo: LMPGames_ClassChangerDemo_V2.0.1.zip
Project: LMPGames_ClassChangerDemo_Project_V2.0.1.zip
Github Page (latest versions will be in working branch): Github Page

For more information, please visit the GitHub page.


====So, who gets some credit?====

Credit to SephirothSpawn, original creator of the RMXP script this is loosely based off of.


====Change Logs====
Spoiler
Version 2.0.1 Changelog:
- Updated plugin help section to remove existing help text and add a link back to the GitHub page
- Added the plugin file to the GitHub page in case developers just want it and not the project/demo.

Version 2.0 Changelog:
- Complete recode of the plugin
- Performance enhancements
- Implementation of scrolling windows for several windows
- Implementation of customization features
- Fixed several bugs around Weapon/Armor/Item Restriction systems
- Fixed several bugs around gender requirements
- Fixed several bugs related to cost systems not properly functioning
- Cleaned up the demo
- Added in Mr. Demon
- Added in small story notes
- Added several new plugin settings
- Added over 20 new plugin settings
- Reworked existing plugin settings
- Fixed several issues with plugin commands
- Restructured function alias and plugin command names for more uniqueness

Version 1.3.8 Changelog:
-Fixed an issue that prevented the plugin from working without using a mouse for selection. The plugin will now work with keyboards and controllers without needing a mouse. (omeg)
-Fixed the project link in the original post and on GitHub.

Version 1.3.1 Changelog:
-Removed usage of RegExp.$1-9 as they are deprecated and no longer reliable. Replaced with exec() function instead.

Version 1.3.0 Changelog:
-Added new feature to allow the use of items as requirements for class changing
-Added new feature to allow equipped weapons and/or armor as requirements for class changing
-Added new sub-feature to allow restricting class changing based on equipped weapon/armor
-Added new sub-feature to allow equipped weapons/armor to bypass other requirements. This feature will be extended to item requirements in the future.

Version 1.2.0 Changelog:
-Added new feature to allow a cost in gold to be applied and required when changing classes. Also included plugin command to turn this system on or off.
-Added new feature to allow a cost in a set item to be applied and required when changing classes. Also included plugin commands to turn this system on or off and to change the required item.
-Added a new feature to color code the full class list depending on if the player can change to that class or not. Only considers the class requirements. Plugin parameters added to change the colors.
-Fixed a bug which resulted in sometimes not being able to change to an class that has been activated before right after changing to a new class.

Version 1.1.2 Changelog:
-Fixed a bug that was causing exceptions to be thrown when viewing the last class​
-Fixed a bug which caused the requirements from the previous class in the class list to show up as the requirements for the current class.​
-Fixed a bug where you were not allowed to change to certain classes due to an issue revealed by fixing the previous bug.​

Version 1.1.0 Changelog:
-Fixed issue where changing between classes was not setting skills in some circumstances.​
-Fixed issue where first Class List item was blank and the last class in the database was not loaded.​

Version 1.0.0 Changelog:
-Initial version of plugin uploaded​
Updated the post for version 1.2.0 information. Removed MVPlugins page link, replaced it with the GitHub repo page instead. MVPlugins page will redirect to there after I update it. Also added the project file link.
Updated the op for version 1.3.0 information. I have also spruced up demo and project. The demo now only contains used files so it is much smaller. I have also included an NPC which will describe all of the features of the plugin and how to use them if you should not want to download the project however the project will help in setting up some of the more complex requirement patters.

For the full information on the plugin and how to use it, please visit the git hub repo. All the newest version are in the Working branch until the plugin is ready for release.
Made a small update to the plugin to remove any RegExp.$1-9 references as these are deprecated now and don't work reliably. These have been replaced with the exec() command which is more powerful and useful.
Hello, i have class tree system and this is my example.
warrior> choose path: paladin or blader
in order to change class i need to level up my warrior into lvl 30. then this is my question,
what if i choose blader? is warrior class and paladin class will be unavailable after i learn blader class?
like having a command to make the starting class to unavailable after reaching the second class?
thank you for your plugin btw.
Hi Hackateck,

The way the plugin is coded makes it so that any and all classes can be obtained unless there are restrictions placed on that class in that class' note tag or at least that is how I remember it working. I have note done any work on the plugin in a while but I will check out you scenario to be sure it will work like that.

Thanks.
Hello everyone, I have fixed a small issue which was causing the plugin to not work if you were not using a mouse to select within the menus which was reported by omeg. I have also fixed the project link. I have also updated the demo.

I am planning to revisit my plugins in September to see what I can do about refactoring them and adding some new features. If you have any suggestions for any of my plugins or have found any bugs/issues, now would be the time to report them.

Thanks.
I have updated the original post; I just realized that the usage instructions were extremely out of date.
Yo! I am back again with a massive update for this plugin. I have move all of the information over to the GitHub page. Its just easier to maintain that way.

Some new things though, you will need to get YanFly's Message Core plugin for the demo and project. I have lifted some features for the plugin to make it display in a more user friendly way.

This is meant to be a almost-release version of the plugin. There are a few bugs I need to fix first though. These are listed in the GitHub information.

If you have been using this plugin, there have been major changes to plugin commands and the note tags. You will need to update these in your game.

If you run into any issues, please make a post here or open an issue on the GitHub and I will get to it when I am able. Also post if you have any general feedback too!

Thanks!


___________________

Small update to add the plugin js file to the GitHub and update the plugin help text to direct you back to the GitHub.
I was notified a while ago that one of the plugin commands mentioned in the documentation was not working. I have updated the GitHub page to fix the offending command.

If anyone runs into issues with the demo, please let me know as well. The user that reported the above issue also said the demo was not working.
May I ask you? When I have two characters or more - even with different Gender types - when I change class of second or other character, it changes for the first character in list. Why is that?

Original thread: https://forums.rpgmakerweb.com/threads/class-changer-v2-0-1-updated.88066/