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

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

Message Alignment EC - MessageAlignmentEC.js

Plugin desc : ver1.04/Adds a control character to change the alignment of the message.

License : MIT License

Author : Yana

Website : https://w.atwiki.jp/pokotan/pages/3.html

Desc page : https://github.com/munokura/Yana-MV-plugins

Download Page : https://raw.githubusercontent.com/munokura/Yana-MV-plugins/refs/heads/master/Map_Message/MessageAlignmentEC.js

File name : MessageAlignmentEC.js

Help of plugin :

@plugindesc ver1.04/Adds a control character to change the alignment of the message.
@author Yana
@url https://github.com/munokura/Yana-MV-plugins
@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/Yana-MV-plugins ).
Original plugin by Yana.
-----
How to Use
--------------------------------------------------------------------
Adds a control character to change the alignment within the "Show Text" and "Show Scrolling Text" Event's Contents.

The control characters added are:

¥LL Left-aligns text.
¥CL Centers text.
¥RL Right-aligns text.

When invoked, the lines below it on the same page will automatically
adjust to the alignment you set.

*About Plugin Parameters

Control characters specified in plugin parameters will be calculated as having a width of 0.

In this case, if the control character is ¥a, specify a.
If the control character is ¥a[x], specify only a.

You can specify multiple control characters separated by commas.

If you specify a,b,d, ¥a and ¥a[x], ¥b and ¥b[x], and ¥d and ¥d[x] will be calculated as having a width of 0.

------------------------------------------------------
Terms of Use
------------------------------------------------------
This plugin is released under the MIT License.
http://opensource.org/licenses/mit-license.php
------------------------------------------------------
Update History:
ver1.04:
Fixed a bug where the text width could not be obtained correctly when there were multiple color changes or icons on a single line.
ver1.03:
Fixed processing to accommodate extended control characters.
ver1.02:
Fixed a bug where the alignment setting did not work properly when no plugin parameters were specified.
ver1.01:
Added support for scrolling text.
Fixed a bug where the character width could not be obtained correctly when using }{.
Added a parameter to calculate specified control characters with a width of 0.
ver1.00:
Released

@param ExtendEC
@desc Characters that are treated as control characters in messages. See the help for details.

スポンサードリンク

-MV plugins

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