MZ [CGMZ] Difficulty

[CGMZ] Difficulty
By: Casper Gaming
Last Update: April 4, 2026
Latest Version: 1.5.1
​
Forum-Header-Introduction.png

This plugin adds a difficulty select scene where the player can select their preferred difficulty. You can create as many difficulties as you want. Difficulty mostly affects battles, such as modifying enemy stats or gold/exp, but can also be used in eventing with plugin commands.
Forum-Header-Features.png

  • Create unlimited difficulties
  • Allow player to select preferred difficulty
  • Event custom difficulty differences
Forum-Header-Screenshots.png

Spoiler: Screenshots
An Easy difficulty
cgmz-difficulty-1.png

A hard difficulty
cgmz-difficulty-2.png
Forum-Header-Video.png


Forum-Header-HowTo.png

Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.

Online documentation can be found on my website.
User documentation can be found on the Casper Gaming Wiki.
Forum-Header-Download.png

Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/difficulty/
Requires CGMZ Core plugin: https://www.caspergaming.com/plugins/cgmz/core/

Also available on Itch.io:
Forum-Header-CreditAndTerms.png

https://www.caspergaming.com/terms-of-use/
Forum-Header-VersionHistory.png

Spoiler: Version History
Version 1.0.1
  • Bugfix for some percentages displaying incorrectly
Version 1.1.0
  • Add option to discover/undiscover difficulties
  • Add option to display list window on right
  • Add option to change the window padding
  • Add Spanish language documentation
  • Difficulty select scene now starts with current difficulty selected
  • This plugin now warns instead of crashes if your JSON plugin parameters are not set up correctly
Version 1.2.0
  • Added enable/disable status to difficulties. Now you can have a discovered difficulty that displays, but is not selectable until enabled
  • Added plugin commands to enable/disable a difficulty
  • Added the option to have custom lines of information about the difficulty
Version 1.2.1
  • Added integration with [CGMZ] Scene Backgrounds
  • Added integration with [CGMZ] Controls Window
  • Added window tone, skin, back opacity options for each window
  • All text should now support text codes
  • Window type changed to selectable ui
  • Description changed to multiline_string type
Version 1.2.2
  • Difficulty window now scrolls if necessary
  • Difficulty window should work with font size change text codes
  • Fixed bug with list window using difficulty window padding parameter
Version 1.3.0
  • Added buy/sell price modifiers
  • Added tracking of difficulties selected throughout playthrough
  • Added custom space display item
  • Added custom header display item
Version 1.3.1
  • Added [CGMZ] Window Settings integration
  • Added [CGMZ] Window Backgrounds integration
Version 1.4.0
  • Added switch for when difficulty is on/off
  • Added variable to track current difficulty rating
Version 1.5.0
  • Added option to display the percentage change in difficulty select scene
Version 1.5.1
  • Added support for automatic space after label text from [CGMZ] Core
Hi all, small bugfix today for certain modification percentages displaying incorrectly in the difficulty select scene.

Version 1.0.1
- Bugfix for some percentages displaying incorrectly
I'm having an issue with this plugin. I keep getting this error:

Spoiler: Error
Screenshot 2023-02-22 125552.png


Screenshot 2023-02-22 125708.png
@Oggy This occurs when the game can't find the difficulty currently set. Does your default difficulty match any of your difficulties set up in the Plugin Manager? Also are you testing in a new game or saved game? If it's a saved game, then it is possible the save doesn't have a difficulty or the difficulty id was changed since the save and no longer exists.
It was the default difficulty not matching. Thanks again! Works perfectly now.
Hi all, this plugin has been updated to version 1.1.0 today! 👋
version-110.png

This update allows you to have undiscovered difficulties which are then discovered through game play before the player can select that difficulty.

This update also adds some more customization options, such as showing the list window on the right and changing the window padding for each window in the difficulty select scene. A quality of life improvement is that the difficulty select scene will now begin with the current difficulty selected when first opened.

This update also added Spanish help documentation. This update uses a new way of parsing JSON that does not cause a crash if there is a problem, rather it now warns you via the dev tools console. If something is not working right, please check the console for any such warnings before reporting a bug.

Version 1.1.0
- Add option to discover/undiscover difficulties
- Add option to display list window on right
- Add option to change the window padding
- Add Spanish language documentation
- Difficulty select scene now starts with current difficulty selected
- This plugin now warns instead of crashes if your JSON plugin parameters are not set up correctly
Hi all, this plugin has been updated to version 1.2.0 today 👋
version-120.png

This update adds the enable/disable status to difficulties. Now you can have a difficulty which will display in the difficulty select scene with a greyed out appearance until enabled. This will allow the player to see the difficulty information, but not be able to select it until enabled. Existing save files should automatically have all difficulties enabled on first load. There are also plugin commands to enable/disable a difficulty.

This update also added custom lines of information that you can display in the difficulty select scene. The process for doing this is similar to how you can display the stat modifiers for the difficulty and the difficulty description, now each difficulty can have custom lines of information. Since this might be a little more confusing than most features I add, I have also updated the demo to include a custom line of information for each difficulty.

Version 1.2.0
  • Added enable/disable status to difficulties. Now you can have a discovered difficulty that displays, but is not selectable until enabled
  • Added plugin commands to enable/disable a difficulty
  • Added the option to have custom lines of information about the difficulty
I know this is kinda late but I keep getting this error:
1694368210180.png

In the inspector, it says the error is in line 1147 of the plugin. It's referencing something that does not exist, I think. Could anyone help? Thanks.
In the inspector, it says the error is in line 1147 of the plugin. It's referencing something that does not exist, I think. Could anyone help? Thanks.
Update on this:
I went into a code editor to see if I could understand it better, and Utils is a thing established in the Core plugin, which I have in my project. So, I don't understand why it's not working, because I have the Core on top of everything else. Hope this helps, thanks!
@Drewster237 What version is the core plugin?
@Drewster237 What version is the core plugin?
Just updated to the latest one, playtested, and it works! Thanks so much! I love your plugins, they really make the game unique 🙂
I know this is kinda late but I keep getting this error:
View attachment 276101
In the inspector, it says the error is in line 1147 of the plugin. It's referencing something that does not exist, I think. Could anyone help? Thanks.
Im getting this same error now. Has it been updated to date?
@KGX_96 Hi, you need to install [CGMZ] Core. All of my plugins require [CGMZ] Core placed above all other [CGMZ] plugins. If you already have [CGMZ] Core, then you need to update it to the most recent version which is currently version 1.15.0.
version-121.png

Hi all, this plugin was updated today to version 1.2.1! 👋

This update adds integrations for both [CGMZ] Scene Backgrounds (to handle the scene background image) and [CGMZ] Controls Window to handle the controls window in the scene. These allow much more control over these aspects of the scene than would be possible through this plugin directly, for example scrolling background images.

This update also provided new parameters for window tone, windowskin, and back opacity for each window in the difficulty scene. These options are standard across other [CGMZ] plugins. This plugin should now also support text codes in all text by default without the need to use [CGMZ] Text Codes Everywhere.

Important: Some parameters have changed with this update. The Transparent Windows parameter is now the Window Type parameter which also allows you to choose the Dim window type. The difficulty description parameters have changed type as well, so they no longer need to be parsed before display. This should cut down on user error going forward, but when updating you should back up your difficulty descriptions to easily copy+paste them back in to the new parameter type.

Version 1.2.1
  • Added integration with [CGMZ] Scene Backgrounds
  • Added integration with [CGMZ] Controls Window
  • Added window tone, skin, back opacity options for each window
  • All text should now support text codes
  • Window type changed to selectable ui
  • Description changed to multiline_string type
Hi, love the Plugin!
I am currently experimenting with the command which allows me to store the difficulty within a variable. From what I gather, this should allow me to store the difficulty as a var, which I can then call later, say, for a Condition Branch event. Is this correct?

If this is correct, then my problem is understanding how to use the variable, once it is stored through the plugin command. I tried doing a Conditional Branch check (check if difficulty var = *number*, where *number* corresponds to the difficulty as it is listed), to no avail. What am I missing?

Thanks in advance for any help!
@Snorre Hi, the variable will receive the difficulty's "Rating" parameter, is that what you are checking against with your conditional branch?
@Snorre Hi, the variable will receive the difficulty's "Rating" parameter, is that what you are checking against with your conditional branch?
I did not. I tester it now, and that solved my problem! Thanks for clearing that up 🙂
I am having a great time with this plugin but there are a few things that I would be interested in like if you could make an option that shows the menu when you select new game and one that changes the enemy sprite or the enemy in general. If you add any of these features I will thank a lot.
@Scrachy Hi, you could open the difficulty select scene first thing in a new game using the plugin command Call Scene.

Thanks for the suggestion about changing the enemy in more significant ways.
I am not sure how you do that. I just use an event but there is a delay. So do you use a common event?

Original thread: https://forums.rpgmakerweb.com/threads/cgmz-difficulty.150864/