An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Message Auto Replace - MessageAutoReplace.js

Plugin desc : Message Auto-Replacement Plug-in

License : MIT License

Author : Triacontane

Website : https://triacontane.blogspot.com

Desc page : https://github.com/triacontane/RPGMakerMV/tree/mz_master/MessageAutoReplace.js

Download Page : https://raw.githubusercontent.com/munokura/triacontane-MZ-plugins/refs/heads/main/MessageAutoReplace.js

File name : MessageAutoReplace.js

Help of plugin :

@target MZ
@url https://github.com/triacontane/RPGMakerMV/tree/mz_master/MessageAutoReplace.js
@plugindesc Message Auto-Replacement Plug-in
@author Triacontane
@license MIT License

@help
English Help Translator: munokura
This is an unofficial English translation of the plugin help,
created to support global RPG Maker users.
Feedback is welcome to improve translation quality
(see: https://github.com/munokura/triacontane-MZ-plugins ).
Original plugin by Triacontane.
Please check the latest official version at:
https://triacontane.blogspot.com
-----

MessageAutoReplace.js

Automatically replaces text in the ”Sentence Display” section based on
specified parameters.
This can be used to batch-modify specific strings, such as by adding control
characters, changing font size, or making corrections.
You can also specify replacement condition switches, allowing you to use them
appropriately.

Advanced replacements using regular expressions are also possible.
To use backreferences, specify %1, %2... as the replacement text.

Commonly used regular expressions:
. : Matches any single character.
: Matches the preceding character 0 or more times.
+ : Matches the preceding character 1 or more times.
? : Matches the preceding character 0 or 1 time.
{n} : Matches the preceding character n times.
[abc] : Matches a, b, or c.
[a-z] : Matches any single character from a to z.
[^a-z]: Matches any single character except a through z.
¥: Escapes special characters.
^: Matches the beginning of a sentence.
$: Matches the end of a sentence.
¥d: Matches a digit.
¥D: Matches a non-digit character.
¥s: Matches a whitespace character.
¥S: Matches a non-whitespace character.

This plugin requires the base plugin ”PluginCommonBase.js.”
”PluginCommonBase.js” is located in the following folder under the RPG Maker
MZ installation folder:
dlc/BasicResources/plugins/official

Terms of Use:
You may modify and redistribute this plugin without permission, and there are
no restrictions on its use (commercial, R18, etc.).
This plugin is now yours.

@param replaceList
@text Replacement List
@desc This is a list that automatically replaces the contents of all ”Show Text”.
@type struct<REPLACE>[]
@default []

@param applyDescription
@text Also applies to descriptions
@desc The replacement is also applied to the descriptions of items, etc. It affects all places where conversion processing by control characters is applied.
@type boolean
@default false

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.