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

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

MZ plugins

Dark Plasma Auto Line Break - DarkPlasma_AutoLineBreak.js

Plugin desc : Automatically line break when text width is over window's

License : MIT License

Author : DarkPlasma

Website : https://github.com/munokura/DarkPlasma-MZ-Plugins/blob/main/DarkPlasma_AutoLineBreak.js

Desc page : https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release

Download Page : https://raw.githubusercontent.com/munokura/DarkPlasma-MZ-Plugins/main/DarkPlasma_AutoLineBreak.js

File name : DarkPlasma_AutoLineBreak.js

Help of plugin :

@target MZ
@url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
@plugindesc Automatically line break when text width is over window's
@author DarkPlasma
@license MIT

@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/DarkPlasma-MZ-Plugins ).
Original plugin by DarkPlasma.
Please check the latest official version at:
https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
-----

version: 1.4.1
This is plugin for automatically line break when text width is over window's.

Especially, it supports line breaking rule for Japanese (multi byte
characters) partially.
(see Japanese help in this file.)

For English, I recommend enabling word base line break settings.

You can use following control characters.
These window state is not saved in player data.
¥IGNOREAUTOLINEBREAK[START]: mark as window that should be ignoring auto line
break temporarily.
¥IGNOREAUTOLINEBREAK[FINISH]: unmark as window that should be ignoring auto
line break temporarily.

@param prohibitLineBreakBefore
@text Character can't be at the beginning
@desc character that cannot be displayed at the beginning of line.
@type string
@default ,)]}、〕〉》」』】〙〗〟’”⦆»ゝゞーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇷ゚ㇺㇻㇼㇽㇾㇿ々〻‐゠–〜~?!‼⁇⁈⁉・:;/。.

@param prohibitLineBreakAfter
@text Character can't be at the end
@desc character that cannot be displayed at the end of line.
@type string
@default ([{〔〈《「『【〘〖〝‘“⦅«

@param ignoreAutoLineBreakWindows
@text No auto line break windows
@desc Windows should not be auto line breaking.
@type string[]
@default []

@param lineWidthMargin
@text Line width margin
@desc Margin for characters that cannot be at the beginning or end of line.
@type number
@default 4

@param wordBaseLineBreak
@text Word base line break
@desc When this is ON, it is enabled word base line breaking. Word is separated by half-width space.
@type boolean
@default false

スポンサードリンク

-MZ plugins

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