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

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

MZ plugins

MNKR TM Log Window MZ - MNKR_TMLogWindowMZ.js

Plugin desc : Displays the log window in the map scene.

License : MIT License

Author : munokura

Website : http://x.com/munokura

Desc page : https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMLogWindowMZ.js

File name : MNKR_TMLogWindowMZ.js

Help of plugin :

@target MZ
@url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMLogWindowMZ.js
@plugindesc Displays the log window in the map scene.
@author munokura
@license MIT License

@help
How to Use:

Installing the plugin will add a log window to the map scene.
You can display text in the log window by manually writing it using plugin
commands or automatically writing it in transcription mode.

Additional Plugin Parameter Information:

padding
This is the number of dots between the text display area and the outside of
the window frame.
The window height (vertical size) is calculated using the following formula:
Line Height (lineHeight) * Number of Lines (lines) + Margin (padding) * 2
To display the window exactly at the bottom of the screen, set logWindowY to
the vertical screen size minus the result of the above formula.

collideOpacity
If a value greater than opacity is set, collideOpacity is applied to the log
content, and opacity is applied to the window frame and background.

autoDelete
If the value of the specified game variable is 0, the automatic deletion
function is disabled.

Plugin Commands:

showLogWindow
Shows the log window.

hideLogWindow
Hides the log window.

addLog Text
Adds text to the log window.
Some control characters are allowed (¥V[n], ¥N[n], ¥P[n], ¥G, ¥C[n]).

deleteLog
Deletes the oldest text.

startMirrorLogWindow
Enables transcription mode, which traces the ”Show Text” event command.

stopMirrorLogWindow
Disables the feature enabled by startMirrorLogWindow.

openLogScene
Proceeds to the log confirmation scene.

startAutoLogWindow
When used in conjunction with a compatible plugin such as ”TMJumpAction.js,”
Enables the feature that automatically adds reward information to the log when
an enemy is defeated.
This feature is automatically turned on when the game starts.

stopAutoLogWindow
Disables the feature enabled by startAutoLogWindow.

# Contact
This is a plugin originally created for RPG Maker MV that has been adapted for
use with MZ.
Please contact the modder for any inquiries.

# Terms of Use
MIT License.
http://opensource.org/licenses/mit-license.php
You may modify and redistribute this without permission from the author, and
there are no restrictions on its use (commercial, R18, etc.).

@param logWindowX
@text Log X coordinate
@desc The X coordinate of the log window.
@type number
@default 0
@min -1000

@param logWindowY
@text Log Y coordinate
@desc The Y coordinate of the log window.
@type number
@default 456
@min -1000

@param logWindowWidth
@text Log Width
@desc The width of the log window.
@type number
@default 480

@param lines
@text Number of log lines
@desc The number of lines in the log window.
@type number
@default 6

@param lineHeight
@text Log 1 line height
@desc The height of one line in the log window.
@type number
@default 24

@param padding
@text Log margin
@desc Log window margin size.
@type number
@default 10

@param fontSize
@text Log Font Size
@desc Log window font size.
@type number
@default 20

@param startVisible
@text Display at the start of the game
@desc Display state at the start of the game.
@type boolean
@default true

@param opacity
@text Frame and Background Opacity
@desc Window frame and background opacity.
@type number
@default 255
@max 255

@param collideOpacity
@text Opacity when players overlap
@desc Opacity when overlapping with the player.
@type number
@default 128
@max 255

@param messageBusyHide
@text Hiding while displaying a message
@desc Hide the log window while the message window is displayed.
@type boolean
@default true

@param eventBusyHide
@text Hiding during event activation
@desc Hide the log window while the event is running.
@type boolean
@default true

@param maxLogs
@text Maximum number of lines in saved log
@desc The maximum number of log lines to save.
@type number
@default 30

@param autoDelete
@text Automatic text deletion interval variable
@desc Automatically deletes text at intervals based on the value assigned to the specified game variable. The unit is the number of frames (60 frames = 1 second).
@type variable
@default 0

@command showLogWindow
@text Show Log Window
@desc Show the log window.

@command hideLogWindow
@text Hide the log window
@desc Hide the log window.

@command addLog
@text Add text to the log window
@desc Adds text to the log window.
@arg text
@text text
@desc Text to add
@type string

@command deleteLog
@text Delete text
@desc Delete the oldest text.

@command startMirrorLogWindow
@text Posting mode enabled
@desc Enables transcription mode that traces the event command ”Show Text”.

@command stopMirrorLogWindow
@text Disable posting mode
@desc Disable transcription mode.

@command openLogScene
@text Transition to log confirmation scene
@desc The log confirmation screen will appear.

@command startAutoLogWindow
@text Enable automatic reward information addition
@desc When used in conjunction with compatible plugins such as ”TMJumpAction.js”, this enables the function to automatically add reward information to the log when an enemy is defeated.

@command stopAutoLogWindow
@text Disable automatic addition of reward information
@desc Disable automatic addition of reward information

スポンサードリンク

-MZ plugins

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