[CGMZ][Alpha] Hooks for RPG Maker MZ
A downloadable plugin
Hi all,
This plugin allows you to write and run custom JavaScript code when certain actions occur. Some of these actions are from the base code, while others are CGMZ functions. Below is a list of the current hooks you can write custom JS for via this plugin:
RMMZ:
- Common Event
- Gold Changed
- Item Changed
- Actor Added
- Actor Removed
- Level Up
- Level Down
- Learn Skill
- Forget Skill
- Use Skill
- Change Class
- Get On Vehicle
- Get Off Vehicle
- Battle Start
- Battle Win
- Battle Escape
- Enemy Kill
- Variable Change
- Switch Change
CGMZ:
- After Load
- Toast Window
- Screenshot
- Achievement Earned
- Profession Level Up
- Profession Level Down
- Craft
- Fast Travel
- Difficulty Change
- Skill Purchase
- Dungeon Tool Use
- Dungeon Tool Interact
You can also make custom hooks, assign them an ID, and then call that hook via plugin command. This is useful if you have a script command you use frequently, you can write (and edit it) once as a custom hook and then run it in many different places via the plugin command, similar to how my Sound IDs plugin works.
Hook parameters are an array and have an unused note parameter so you can tell what your hook is for at a glance of the list. You do not need to have complicated hooks all in one hook, you can separate them into multiple hooks for ease of use.
Of course over the course of the alpha/beta process this list will expand quite a lot! But, it will be helpful for me to know which other actions you'd like to run your own custom JavaScript code for. Leave suggestions below or in the #suggestions channel on my Discord!
PLEASE READ BEFORE PURCHASING:
Please be aware that you can access this as well as all of my other Alpha plugins for $5 on my Patreon: https://www.patreon.com/CasperGamingRPGM
This is posted to Itch.io since some people only use Itch and are not aware my Patreon and all of my beta/alpha plugins exist, or want to have everything in one convenient location (itch.io), or do not want to do a monthly subscription.
Casper Gaming's Beta/Alpha plugins are treated as an "early access" and will eventually be free for everyone once they are fully released, though this process can take months/years. By purchasing in beta/alpha, you are able to provide early feedback/suggestions which are more likely to make it into the final fully released plugin.
Please see terms of use here: Terms of Use
Requires CGMZ Core plugin: CGMZ Core
Happy RPG Making!
Updated | 19 days ago |
Status | In development |
Category | Tool |
Author | Casper Gaming |
Made with | RPG Maker |
Tags | RPG Maker |
Average session | A few minutes |
Languages | English |
Inputs | Keyboard, Mouse, Gamepad (any), Touchscreen |
Links | Homepage, Community, Patreon, YouTube |
Purchase
In order to download this plugin you must purchase it at or above the minimum price of $5 USD. You will get access to the following files:
Development log
- Version Alpha R5 Release NotesAug 24, 2024
- Alpha R4 Release NotesApr 11, 2024
- Alpha R3 Release NotesOct 07, 2023
- Alpha R2 UpdateAug 10, 2023
Leave a comment
Log in with itch.io to leave a comment.