Extra Message Codes Plugin (RMMV)

MV Message Codes Plugin - RPG Maker MV

The Extra Message Codes plugin provides a few extra control characters for message windows.

I originally created this for Otherworld as part of the OW Engine, as I wanted certain functions that aren’t used in other message plugins.

This isn’t a replacement message system, it simply adds functions to the message box.

 
Extra Message Codes PluginMain FeaturesUsage InstructionsScreenshotUpdate LogPersonal NotesCompatibility Issues/Known BugsDownloadFuture UpdatesTerms of Use
Version: 1.4
Author: Companion Wulf
Platform: RMMV
Script Type: Plugin
Required: None
Filesize: 5 Kb
File Format: JS/JGSS
Release Date: 1.4 – 12 October 2017
1.3 – 27 November 2016
1.2 – 5 August 2016
1.1 – 28 June 2016
1.0 – 24 June 2016
Last Update: 12 October 2017
With the Extra Message Codes plugin, you can add the following to your messages:

  • Actor – Actor age, gender, last name and full name.
  • Battles – Number of battles and battles won and fled, and encounter steps.
  • Map – Map display name, number of steps and dash status.
  • Party – Number of followers, total gold in party, party leader and party size.
  • Text – Align center, left or right; large and small fonts and reset font.
  • Save – Number of saved games, maximum saved game slots and save enabled/disabled.
  • System – Game progress; game version number.
  • Time/Date – Time, date and playtime.
The following control characters can be added to the message box:

\aage[x] – Actor age. Set each actor’s age in the Actor notes section of the Database to <age:xx>, where xx is the character’s age. x is the Actor number.

\agnd[x] – Actor gender. Set each actor’s gender in the Actor notes section of the Database to <gender:Male> or <gender:Female>. x is the Actor number.

\afnm[x] – Actor full name. Combines \n[x] and \alnm[x]. to write actors’ full names. x is the Actor number. Alternatively, you can still use the actors’ full names with:   \n[x] \alnm[x]

\align[x] – Align text (x = 0: Center, 1: Left, 2: Right). Note: The center align isn’t perfect, but it’s functional. However, the text doesn’t have additional whitespace when centered.

\alnm[x] – Actor last name. Set each actor’s last name in the Actor notes section of the Database to <lastname:xxxx>, where xxxx is the last name of your choice. x is the Actor number.

\ben – Map encounter steps (from Map Properties).

\bigf[x] – Doubles font size specified by x.

\btc – Total number of battles.

\bte – Number of battles fled.

\btw – Number of battles won.

\dash – Display dash status (enabled/disabled) on maps.

\date – Displays the current local date.

\map – Displays the current map display name.

\msav – Number of maximum save slots.

\nsav – Number of saved games.

\pfl – The number of followers in the party.

\pgl – Shows the total amount of gold in the party.

\pld – Shows the current party leader. Note: This can also be done with \p[1], but I figured this would be easier.

\psz – The total party size (including party leader).

\resf – Reset font size.

\smlf[x] – Halves the font size specified by x.

\step – Number of party steps.

\save – Displays whether save is enabled/disabled.

\vers – Version number (set in Plugin Manager).

\date – Displays the current (local) date.

\prog – Displays the game’s progress; this can be increased/decreased with plugin commands.

\pron[s][g][p] – Use gender-based pronouns in messages.

\ptm – Game play time.

\save – Displays whether save is enabled/disabled.

\time – Displays the current (local) time.

\vers – Displays the version number of your game, set in the Plugin Manager.

You can also use the following to check if any of my other plugins are installed/enabled (for whatever reason). I added them for different purposes, but then decided to keep them in.

\chudMap Compass HUD plugin.

\macnMature Content plugin.

\smbtSocial Media Buttons plugin.

Here’s a screenshot showcasing the plugin’s control codes in action (excluding updates):

Extra Message Codes Plugin (RMMV)

Extra Message Codes Plugin (RMMV)

Note: For an up-to-date version of the Version History, you can view it in the downloaded ZIP file.
In creating the plugin, which was originally designed for use in Otherworld as part of the OW Engine, I wanted certain functions that aren’t used in other message plugins.

Because Otherworld requires some specific functions I added them to the OW Engine and decided to separate them and publicly release the resultant plugin.

Most of the message systems (notably Yanfly’s Message Core plugin) have some very useful functions. However, many are lacking certain features that may or may not be desired.

This is not – and will not – be a replacement message system. If a feature is available in another plugin (notwithstanding my own game add-ins), then I’d recommend using that plugin instead.

In time, I’ll also add more relating to some of the plugins I’ve written specifically for Otherworld (such as the Karma System plugin) or Gaia’s Dream (such as gender options). Game-specific plugins will be made publicly available after the games are completed.

There shouldn’t be compatibility issues or bugs.
Download the ZIP file and extract the CW_MessageCodes.js file directly into the JS folder in your RMMV project.
Future updates depend on inspiration, what’s needed in my projects (present and future), and suggestions by others.
You are free to use this in non-commercial projects, but please refer to the Terms of Use for Scripts/Plugins for other details, including commercial use.

Credit "Companion Wulf" or "RPG Maker Times" if using this plugin in your projects.