Casper Gaming Developer Corner
Casper Gaming Developer Corner

Documentation

Back to Plugin


Quick InfoVersion: Beta R7
Made for RPG Maker MZ 1.9.0

Text CodesThis plugin supports text codes (such as \c[x] or \v[x]) in most areas. It also supports automatic word wrap, but you can also add manual line breaks in descriptions.

Additionally, the toast messages support some text codes specific to this plugin:
%reprank - will be replaced by the current rank of the reputation
%repname - will be replaced by the current name of the reputation

Color ParametersColors support either hex format (ex. #ffffff) or rgb format (ex. rgb(255, 255, 255))

Negative RanksWhen using Negative ranks, make sure you set your reputation to allow for negative reputation or it will not go below 0.

Negative ranks should be placed before positive ranks in the reputation's ranks parameter.

IntegrationsYou can use [CGMZ] Menu Command Window to easily add the Reputation scene to the main menu. To do so, use the following JavaScript command:
SceneManager.push(CGMZ_Scene_Reputations);

[CGMZ] Window Backgrounds - Show a static or scrolling image as the window background, with separate options for each reputation window.

Plugin CommandsThis plugin supports the following plugin commands:
Call Scene - Calls the reputation scene

Discover Reputation - This will discover (or undiscover) a given reputation

Gain Reputation - Allows you to add reputation points to a reputation

Lose Reputation - Allows you to subtract reputation points from a reputation

Set Reputation - Allows you to set reputation points for a reputation

Get Reputation - Allows you to store the amount of reputation points in the provided reputation within a game variable.

Change Rep Image - Use this to change the picture associated with a rep

Change Rep Description - Used to change the description associated with a reputation

Reinitialize - This will reset all reputation data as if you had just started a new game. Use for saved game testing

Saved GamesThis plugin is partially compatible with saved games. This means you can:

✓ Add this plugin to a saved game and it will work as expected.
✘ Modifying plugin parameters is not fully supported. The following will not work correctly in previously saved games: Adding new reputations is supported, but deleting or modifying existing reputations is not. Saved games will act as if the reputation still exists or has not been modified.
✓ Remove the plugin with no issue to save data.

Filename

The filename for this plugin MUST remain CGMZ_Reputations.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.


Known Issues

This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.


Compatibility

This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.


Version HistoryVersion BetaR2
  • Added Display Info parameter to allow control over what is displayed
  • Added windowskin, padding, back opacity, tone options for each window
  • Added reputation scene background image option
  • Added Height and Windowskin options to toast parameters
  • Reputation picture now supports any folder, not just pictures folder
  • Moved unnecessary data out of save data
  • Icon, color parameters now use built in selector ui
  • Updated Reputation Rank parameters
  • Now warn instead of crash when invalid json detected
Version BetaR3
  • Added negative reputation ranks
  • Added option to disable touch ui space
  • Fixed bug with default toast se parameter not being correct json
Version BetaR4
  • Added more options for customization of reputation categories
  • Fixed bug that would crash the game when not using categories
Version BetaR5
  • Added complete image to display above reputation window for max reps
  • Added custom space display option
  • Added description / profile header display option
  • Fixed bug for scroll being inaccurate with unique padding
  • Custom font sizes now work better in display window
  • Removed selecting reputations in the list window
  • Plugin Manager order with Toast Manager no longer important.
  • Deprecated [CGMZ] Core calls updated
  • Description parameter type changed
Version BetaR6
  • Added window background type parameters
  • Added [CGMZ] Window Backgrounds integration
  • Fixed bug with complete image not clearing on undiscovered reps
Version BetaR7
  • Added text for when no reputations are available to show
  • Added category visible row option
  • Added categories per line option
  • Added [CGMZ] Window Settings integration

Back to Plugin