MZ [CGMZ] Encyclopedia and Bestiary

[CGMZ] Encyclopedia and Bestiary
By: Casper Gaming
Last Update: May 23, 2026
Latest Version: 1.15.2
​
Forum-Header-Introduction.png

This plugin creates a powerful encyclopedia for your game, with default categories including bestiary, items, armors, weapons, skills, states, and actors. It can also handle as many custom categories as desired with their own custom entries. Categories can also be split into subcategories, for example if you want subcategories for normal and boss enemies in the bestiary category.
Forum-Header-Features.png

  • Add a bestiary to your game
  • Add an encyclopedia of items, weapons, armors, states, and skills to your game
  • Add custom categories with custom entries to your encyclopedia
  • Many configuration and customization options available
Forum-Header-Screenshots.png

Spoiler: Screenshots
A bestiary entry
encyclopedia1.png

All entries can scroll if they have more info than can display in the window, such as the bestiary sketch
encyclopedia2.png

An item entry
encyclopedia3.png

An armor entry
encyclopedia4.png

A weapon entry
encyclopedia5.png

A skill entry
encyclopedia6.png

A state entry
encyclopedia7.png

A custom entry
encyclopedia8.png

An Actor category:
cgmz-encyclopedia-9.png
Forum-Header-Video.png


Forum-Header-HowTo.png

Import into plugin manager and enable the plugin. Some customization options available. Further instructions in plugin.

Online documentation can be found on my website.
User documentation can be found on the Casper Gaming Wiki.
Forum-Header-Download.png

Plugin (along with all my other plugins) can be found here: https://www.caspergaming.com/plugins/cgmz/encyclopedia/
Requires CGMZ Core plugin: https://www.caspergaming.com/plugins/cgmz/core/
To easily add this plugin to the menu, use my Menu Command Window: https://www.caspergaming.com/plugins/cgmz/menucommandwindow/

Also available on Itch.io:
Forum-Header-CreditAndTerms.png

https://www.caspergaming.com/terms-of-use/
Forum-Header-VersionHistory.png

Spoiler: Version History
Version 1.1.0
  • Added additional checks during battle to discover enemies
Version 1.1.1
  • Fixed totals window being too large in some cases
  • Fixed list window items having no padding
  • Fixed bug with the list window not scrolling up after cancel
Version 1.1.2
  • This plugin now initiates a check for CGMZ Achievements after discovery
Version 1.1.3
  • Fixed a bug with TP Gain effects being drawn over Item descriptions
  • Whitespace is now trimmed from the currency unit for the heading in bestiary
Version 1.2.0
  • New entries and custom data are now automatically recognized in saved games
  • Added ability to use text codes in descriptions, categories, and item lists
  • Added option to change label text color
  • Added option to change text alignment of totals window
  • Added option to customize category window height and column count
  • Added plugin command to discover multiple entries at once
  • Fixed bug with custom image size being incorrect for first draw
  • Fixed display bug for items with learn skill effects
  • Fixed display bug with Drop Item Double party effects
  • Compatibility for VS Core (fix for weird window spacing)
Version 1.2.1
  • Fixed bug with columns for other horizontal command windows
Version 1.2.2
  • Fixed bug with Include Categories (when set to OFF only) behaving weirdly
Version 1.3.0
  • Added ability to choose which info to display for every category
  • Added ability to re-order information shown for every category
  • Added custom batch discovery plugin command
  • Added ability to turn off auto-discovery
  • Increased max height of display window
  • Fixed bug with custom entries that didn't have descriptions
  • Fixed bug with uppercase symbols for custom categories
  • Documentation no longer horizontally scrolls
  • Documentation update to be easier to read/explain more
Version 1.4.0
  • You can now choose which category begins selected when the scene opens
  • Added plugin command to store completion % in a variable
  • Added plugin command to change custom entry description
Version 1.5.0
  • Added option to display different name in list and display windows for custom entries
  • Custom entries now support multiple images instead of just one
  • Added plugin command to change custom entry sketch
  • Fixed issue with adding this plugin into a saved game that did not previously have the encyclopedia
Version 1.6.0
  • Added option to hide undiscovered entries from the list window
  • Added option to customize the sort order in the list window
  • Added text code for displaying sketch images mixed in with description for custom entries
  • Updated color parameters to use new text color selector
Version 1.6.1
  • Bugfix for missing parameters if using Chinese language
Version 1.7.0:
  • Added new built in category: Actors
  • Added option to center large icons
  • Added option to show list window on right
  • Added option to disable Touch UI space at top
  • Added ability to change window padding for each window
  • Added ability to change windowskin for each window
  • Added ability to change the list window width
  • Added Spanish language support
Version 1.7.1
  • Bugfix for incorrect states being included in some cases
  • Bugfix for font not resetting when drawing a new entry
  • Bugfix for certain cases where touch UI could cause list window scroll to be incorrect
Version 1.7.2
  • Bugfix for crash when drawing actors with center icons option on
Version 1.7.3
  • Bugfix for actor entries resetting after first save
Version 1.8.0
  • Added ability to play BGMs while viewing enemies in bestiary
  • Added option to display the date an entry was discovered
  • Added option to autodiscover skills when they are used
  • This plugin can now integrate with CGMZ Difficulty to show enemy stats/gold/exp based on the current difficulty
  • This plugin now reports JSON parameter errors instead of crashing. If something isn't working right, please check dev tool console before reporting a bug
Version 1.9.0
  • Added option to display the skills an enemy can use
  • Added option to have a custom scene background image for each category
  • Added option to change header line gradient colors
  • Added option to have windows be transparent
  • Added plugin command to check if an entry has been discovered
  • Added option to automatically hide entries that have no name or a user defined string in their name
  • Added option to make entries in the encyclopedia opt-in
Version 1.9.1
  • Fixed crash when selecting empty enemy entry (all entries hidden)
  • Fix bug with empty entry showing last selected non-empty entry info
Version 1.10.0
  • Added subcategories
  • Custom entries can now display main-category object data
  • Added custom headers and info lines to custom entries
  • Added option to change category window alignment
Version 1.11.0
  • Added a way to purchase encyclopedia entries for gold + numerous options related to this new functionality
  • Added option to use custom images for enemies
  • Added option to use custom icon image for item/wep/armor/skill/state
  • Added plugin command to discover entries by a range
  • Added option to sort encyclopedia entries by discover date
  • Added option to display TP costs in skills
  • Fix potential crash when changing categories really quickly
  • Now automatically discovers actors in starting party
  • Converted deprecated cgmz temp calls to cgmz utils calls
Version 1.12.0
  • Added custom headers and info for all default categories
  • Added option to draw walk, battle sprite for actors
  • Added option to open encyclopedia by using an item
  • Added options for windowskin, padding, back opacity, tone to all windows
  • Added Center Face as its own option
  • Fixed bug with actor face image not always being drawn
  • Fixed bug with trying to draw blank actor nickname
  • All text should now support text codes
  • Removed List Window Text Code option
  • Removed some unused Text params leftover from old versions
  • Compatibility for [CGMZ] Scene Backgrounds
Version 1.13.0
  • Added encyclopedia to battle scene
  • Added custom image list property for default categories
  • Added integration with [CGMZ] Extra Stats for bestiary kill count
  • Added a custom space amount option for blank space in display window
  • Added option to prevent selecting list items
  • Added [CGMZ] Scene Backgrounds integration
  • Font size changes should now work better with encyclopedia
  • Fixed bug with scroll being slightly off with custom padding
Version 1.13.1
  • Added bestiary trait display options
  • Fixed bug with actor name in list window not updating with name change
Version 1.13.2
  • Added [CGMZ] Window Settings integration
  • Added [CGMZ] Window Backgrounds integration
Version 1.14.0
  • Added New marker text for new entries
  • Added option to hide the total window
  • Added plugin command to change custom entry name
  • Added integration with [CGMZ] Currency System
  • Added integration with [CGMZ] Toast Manager
  • Change Description now supports appending text
  • Discovering custom entries now possible by name
Version 1.15.0
  • Added option to call the scene with different categories
  • Category window now skipped if only 1 category
  • Fix bug with replaying saved BGM in some cases
  • Removed ability to select display window when only scroll possible
Version 1.15.1
  • Fix bug with opening encyclopedia in battle when touch ui disabled
Version 1.15.2
  • Added support for automatic space after label text
What happens if you are using SV Battlers or Dragonbones as Enemy Battlers? Would they still show in the beast book as whatever image I am using as a placeholder for the enemy or no image at all be shown?
@GalacticGod If you are using the built in side view, it will load the enemy image from the img/sv_enemies folder. If you are using the built in front view, it loads the enemy image from the img/enemies folder. It will load whatever image has been assigned to that enemy in the image property for the enemy in database. I am not sure how dragonbones or other custom enemies work but other than additional features not displaying (such as animation), it should still be able to load the enemy image you assign in the database.
nice!
Love it~
Just so everyone who is interested knows; this plugin does work alongside Dragonbones. I think this is the first "Beast Book" type of plugin I found that works correctly. Awesome job!
Awesome plugin. One suggestion if you don't mind. I'm using VisuStella Battle Core and in it you are allowed to make "dummy" enemies that swap other enemies in it's place. I tend to make my games where all the battles have random enemies selected from one dummy.

I noticed when I playtest that I will go through several battles with a variety of enemies but when I check the bestiary all that gets exposed are the "dummy" placeholder enemies and all the other enemies that I encountered remain undiscoverable even though the plugin swapped them out.

My suggestion is, I'm not a coder, but I am somewhat adept at modifying and editing code slightly for my own personal use but I don't know where to edit to make it to where it pulls and shows enemies that are actually encountered in battle and not by enemy ID in the bestiary.

Any help would be appreciated. I've done the usual things to see if it works other ways and it doesn't.
@Knightmare Right now it just discovers the enemy when the battle start is called. I can add additional checks throughout the battle loop to check for new discoveries, that should be enough to discover enemies when/if they appear. I should be able to have an update out for that this weekend.

In the mean time, if you have the enemy ID of what is being swapped in, you can manually discover enemies with the plugin command for discovering enemies in an event, or if you have access to the JS code that causes enemies to appear you can call
JavaScript:
$cgmz.encyclopediaDiscovery("bestiary", id);
where id would be the id of the enemy.
@Knightmare Right now it just discovers the enemy when the battle start is called. I can add additional checks throughout the battle loop to check for new discoveries, that should be enough to discover enemies when/if they appear. I should be able to have an update out for that this weekend.

In the mean time, if you have the enemy ID of what is being swapped in, you can manually discover enemies with the plugin command for discovering enemies in an event, or if you have access to the JS code that causes enemies to appear you can call
JavaScript:
$cgmz.encyclopediaDiscovery("bestiary", id);
where id would be the id of the enemy.

Awesome, thank you! I do random battles so the plugin command thing won't work, I'll patiently await your update. I think I'll throw a little "lettuce" your way if you're on that...you know....that "site." wink wink.
@Knightmare I have updated this to version 1.1.0 which should solve the problem. It now discovers enemies that have appeared at the start of every turn, and it also discovers them whenever they attack or are attacked.

Version 1.1.0
- Added additional checks during battle to discover enemies
Thank you very much for doing this! I also just made you a salad with some "lettuce" over there wink wink.
Thank you for making this plugin. But I was wondering if there will be a way for the Encyclopedia entries to recognize message code, mainly \i[x] for icons and \c[x] to change the color of the text?
@CrocPirate I know it is a commonly requested feature, but it is also not so easy to do with how I draw the custom description lines so I am not sure when I will have time to get to this. I would also want this to be a feature for all of my plugins instead of just this one. Eventually I will be adding this feature, just not sure when right now.
@casper667 Okay, I understand. Thanks.
Hey @casper667. Thanks for this. Quick question: can we add other fields for the custom entries?

Like additional images and more
@cincave Not right now, I could maybe add it though. What would you all want in the other fields?
@casper667 Thanks for responding, dude. I suppose my request is if you could rewrite the code for custom entries to accept more fields that the user can designate. If I wanted an Atlas, I want the custom entry to allow an "Established" field, "Area" field and "Product Import and Export" etc.

I guess when you prompt for "category" for a custom entry, it should also ask for the custom fields we wanna add for that particular category entry.

Also, the option to add more images would be great. 2-3 is the perfect amount.
Thank you for another great plugin. I just noticed that when changing from a category with a lot of entries to one with less, the list is not displayed (does not scroll up). When the list is activated, only the first entry is displayed, and the list appears again when you scroll upwards.

Encyclopedia_1.png
Encyclopedia_2.png
I am going to try this out later today in any case, but I have a question:

My enemies stats are adjusted in every battle to match character level and to have modifiers such as "strong" (more HP/ATK). Does this plugin grab the stats from the actual enemy being fought or does it grab enemy stats from the DB?

I am guessing the later...but hopeful on the former...
@poorrabbit It loads all data from the database, so if your enemies scale (or anything else scales) it will show the base from the db.

Original thread: https://forums.rpgmakerweb.com/threads/cgmz-encyclopedia-and-bestiary.126388/